Re: [docbook-apps] how put narrow non-breaking spaces before punctuation marks

From
Bob Stayton <>
Date
2011-11-10T17:43:18+00:00
ID
022801cc9fd0$358340f0$6600a8c0@pazu
Thread
Re: [docbook-apps] how put narrow non-breaking spaces before punctuation marks
Hi,

I don't think this is a Docbook 5 issue, but an 
issue with the XSL-FO processor.  You might take a peek inside the 
generated .fo file to see if your narrow space character is there.  If so, 
then the XSL stylesheet is working and the XSL-FO processor is not handling 
it.  What XSL-FO processor are you using?  The FOP processor included 
with Oxygen?

 

There are a lot of space characters in Unicode (see 
http://www.sagehill.net/docbookxsl/SpecialChars.html#SpecialSpaces), 
and not all XSL-FO processors handle all of them.  It may be that some 
processors expect to find the character in the current font.  

 

Bob Stayton
Sagehill Enterprises


 

 

  
----- Original Message ----- 

  
From: 
  D-BookeR 

  
To: Camille Bégnis 

  
Cc:  
  

  
Sent: Thursday, November 10, 2011 9:16 
  AM

  
Subject: Re: [docbook-apps] how put 
  narrow non-breaking spaces before punctuation marks

  

Thanks!
  
Do you know whether I can get a narrower one ?

  
The *narrow* non-breaking space (http://www.fileformat.info/info/unicode/char/202f/index.htm) 
  seems not to work with docbook5.

  

  

  
patricia

  
2011/11/10 Camille Bégnis <>

  Hello,

I don't know if oXygen provides a shortcut, 
    but in DocBook 5 you have to
insert the unicode character for non 
    breaking space, that is &#160; in
the XML code.

HTH,

Camille.

    

    

    

On 10/11/2011 16:25, D-BookeR wrote:
> Hi,
>
> I 
    am using docbook 5 for publication in French, so I need to place the
> 
    usual narrow non-breaking space before strong punctuation like 
    colon,
> semi colon, exclamation and question marks.
> How to 
    proceed ?
> Should I introduce them from the start, in the docbook 
    manuscript ?
> Then how?
> Or can we do it automatically with 
    the xslt ? Is there any parameter
> for that ?
>
> [I am 
    editing with Oxygen]
>
> Thanks for your help,
> 
    Patricia