docbook-apps

  • 1.  how put narrow non-breaking spaces before punctuation marks

    Posted 11-10-2011 15:26
    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



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

    Posted 11-10-2011 16:31
    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   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



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

    Posted 11-10-2011 17:17
    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 <camille@neodoc.biz>

    > 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   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
    >



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

    Posted 11-10-2011 17:38
    This is just a character in the XML stream, so DocBook is not the culprit.
    It's rather an issue in the processing toolchain, or the glyph missing
    in the font used to render this character...

    Camille.

    On 10/11/2011 18:16, D-BookeR wrote:
    > 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 <camille@neodoc.biz <mailto:camille@neodoc.biz>>
    >
    > 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   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
    >
    >



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

    Posted 11-11-2011 08:34
    Hi,

    Related to the message as how special entity characters can be more
    easily inserted with Oxygen, the answer is either the "Character Map"
    which can be opened from the main Edit menu or defining small code
    templates for the most used character entities:

    > http://www.oxygenxml.com/doc/ug-editor/index.html?q=/doc/ug-editor/topics/preferences-editor-code-templates.html

    Regards,
    Radu

    Radu Coravu
    <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
    http://www.oxygenxml.com

    On 11/10/2011 6:30 PM, Camille Bégnis wrote:
    > 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  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
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >




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

    Posted 11-11-2011 11:30
    Thank all for your help ! I know better understand what is happening.

    @Bob: I used the oXygen included FOP and tried with the free XEP.
    I did not find the intermediary .fo file (I get directly the pdf) as you
    suggested, but took a peek in the spaces.xsl and did not see any mention
    about non-breaking spaces.
    Anyway I guess the *narrow* non-breaking space seems to be hardly used,
    since it is actually missing from most of fonts. I'll be replace it by the
    usual non-breaking space, and will try to adjust them afterwards with the
    xsl.

    @Radu: Thanks for the tip. May I insert a special character in the template
    code instead of the html entity (in order to be more compatible with other
    editors)?

    Best, Patricia


    2011/11/11 Radu Coravu <radu_coravu@sync.ro>

    > Hi,
    >
    > Related to the message as how special entity characters can be more easily
    > inserted with Oxygen, the answer is either the "Character Map" which can be
    > opened from the main Edit menu or defining small code templates for the
    > most used character entities:
    >
    > http://www.oxygenxml.com/doc/**ug-editor/index.html?q=/doc/**
    >> ug-editor/topics/preferences-**editor-code-templates.html<http://www.oxygenxml.com/doc/ug-editor/index.html?q=/doc/ug-editor/topics/preferences-editor-code-templates.html>
    >>
    >
    > Regards,
    > Radu
    >
    > Radu Coravu
    > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
    > http://www.oxygenxml.com
    >
    >
    > On 11/10/2011 6:30 PM, Camille Bégnis wrote:
    >
    >> 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  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
    >>>
    >>
    >> ------------------------------**------------------------------**---------
    >> To unsubscribe, e-mail: docbook-apps-unsubscribe@**lists.oasis-open.org<docbook-apps-unsubscribe@lists.oasis-open.org>
    >> For additional commands, e-mail: docbook-apps-help@lists.oasis-**open.org<docbook-apps-help@lists.oasis-open.org>
    >>
    >>
    >
    > ------------------------------**------------------------------**---------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@**lists.oasis-open.org<docbook-apps-unsubscribe@lists.oasis-open.org>
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-**open.org<docbook-apps-help@lists.oasis-open.org>
    >
    >



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

    Posted 11-11-2011 12:05
    Hi Patricia,

    About this remark:

    > I did not find the intermediary .fo file (I get directly the pdf) as you suggested

    You can duplicate and edit the original Docbook to PDF transformation
    scenario and in the "FO Processor" tab uncheck the "Perform FO
    Processing" checkbox. Then in the "Output" tab set the output file name
    to have the ".fo" extension and choose to open it in the editor, instead
    of opening it in the browser.

    > May I insert a special character in the template code instead of the html entity (in order to be more compatible with other editors)?

    The " " is not a HTML entity, it is a character entity which should
    be recognized by any XML-compliant parser. So no worries about
    compatibility with using this approach.

    But yes, you can also input the Unicode version of the character
    directly in a custom "Code Template" value text area.
    How to do this? You can open the Oxygen Character Map for example, find
    the character, press "Copy" to copy directly its unicode value, close
    the dialog and then paste the character in the code template value field.

    Regards,
    Radu

    Radu Coravu
    <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
    http://www.oxygenxml.com


    On 11/11/2011 1:29 PM, D-BookeR wrote:
    > Thank all for your help ! I know better understand what is happening.
    >
    > @Bob: I used the oXygen included FOP and tried with the free XEP.
    > I did not find the intermediary .fo file (I get directly the pdf) as
    > you suggested, but took a peek in the spaces.xsl and did not see any
    > mention about non-breaking spaces.
    > Anyway I guess the *narrow* non-breaking space seems to be hardly used,
    > since it is actually missing from most of fonts. I'll be replace it by
    > the usual non-breaking space, and will try to adjust them afterwards
    > with the xsl.
    >
    > @Radu: Thanks for the tip. May I insert a special character in the
    > template code instead of the html entity (in order to be more compatible
    > with other editors)?
    >
    > Best, Patricia
    >
    >
    > 2011/11/11 Radu Coravu <radu_coravu@sync.ro <mailto:radu_coravu@sync.ro>>
    >
    > Hi,
    >
    > Related to the message as how special entity characters can be more
    > easily inserted with Oxygen, the answer is either the "Character
    > Map" which can be opened from the main Edit menu or defining small
    > code templates for the most used character entities:
    >
    > http://www.oxygenxml.com/doc/__ug-editor/index.html?q=/doc/__ug-editor/topics/preferences-__editor-code-templates.html
    > <http://www.oxygenxml.com/doc/ug-editor/index.html?q=/doc/ug-editor/topics/preferences-editor-code-templates.html>
    >
    >
    > Regards,
    > Radu
    >
    > Radu Coravu
    > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
    > http://www.oxygenxml.com
    >
    >
    > On 11/10/2011 6:30 PM, Camille Bégnis wrote:
    >
    > 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  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
    >
    >
    > ------------------------------__------------------------------__---------
    > To unsubscribe, e-mail:
    > docbook-apps-unsubscribe@__lists.oasis-open.org
    > <mailto:docbook-apps-unsubscribe@lists.oasis-open.org>
    > For additional commands, e-mail:
    > docbook-apps-help@lists.oasis-__open.org
    > <mailto:docbook-apps-help@lists.oasis-open.org>
    >
    >
    >
    > ------------------------------__------------------------------__---------
    > To unsubscribe, e-mail:
    > docbook-apps-unsubscribe@__lists.oasis-open.org
    > <mailto:docbook-apps-unsubscribe@lists.oasis-open.org>
    > For additional commands, e-mail:
    > docbook-apps-help@lists.oasis-__open.org
    > <mailto:docbook-apps-help@lists.oasis-open.org>
    >
    >





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

    Posted 11-12-2011 11:25
    Many thanks ! It was very helpful !
    -patricia

    2011/11/11 Radu Coravu <radu_coravu@sync.ro>

    > Hi Patricia,
    >
    > About this remark:
    >
    >
    > I did not find the intermediary .fo file (I get directly the pdf) as you
    >> suggested
    >>
    >
    > You can duplicate and edit the original Docbook to PDF transformation
    > scenario and in the "FO Processor" tab uncheck the "Perform FO Processing"
    > checkbox. Then in the "Output" tab set the output file name to have the
    > ".fo" extension and choose to open it in the editor, instead of opening it
    > in the browser.
    >
    >
    > May I insert a special character in the template code instead of the html
    >> entity (in order to be more compatible with other editors)?
    >>
    >
    > The " " is not a HTML entity, it is a character entity which should
    > be recognized by any XML-compliant parser. So no worries about
    > compatibility with using this approach.
    >
    > But yes, you can also input the Unicode version of the character directly
    > in a custom "Code Template" value text area.
    > How to do this? You can open the Oxygen Character Map for example, find
    > the character, press "Copy" to copy directly its unicode value, close the
    > dialog and then paste the character in the code template value field.
    >
    >
    > Regards,
    > Radu
    >
    > Radu Coravu
    > <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
    > http://www.oxygenxml.com
    >
    >
    > On 11/11/2011 1:29 PM, D-BookeR wrote:
    >
    >> Thank all for your help ! I know better understand what is happening.
    >>
    >> @Bob: I used the oXygen included FOP and tried with the free XEP.
    >> I did not find the intermediary .fo file (I get directly the pdf) as
    >> you suggested, but took a peek in the spaces.xsl and did not see any
    >> mention about non-breaking spaces.
    >> Anyway I guess the *narrow* non-breaking space seems to be hardly used,
    >> since it is actually missing from most of fonts. I'll be replace it by
    >> the usual non-breaking space, and will try to adjust them afterwards
    >> with the xsl.
    >>
    >> @Radu: Thanks for the tip. May I insert a special character in the
    >> template code instead of the html entity (in order to be more compatible
    >> with other editors)?
    >>
    >> Best, Patricia
    >>
    >>
    >> 2011/11/11 Radu Coravu <radu_coravu@sync.ro <mailto:radu_coravu@sync.ro>>
    >>
    >>
    >> Hi,
    >>
    >> Related to the message as how special entity characters can be more
    >> easily inserted with Oxygen, the answer is either the "Character
    >> Map" which can be opened from the main Edit menu or defining small
    >> code templates for the most used character entities:
    >>
    >> http://www.oxygenxml.com/doc/_**_ug-editor/index.html?q=/doc/_**
    >> _ug-editor/topics/preferences-**__editor-code-templates.html<http://www.oxygenxml.com/doc/__ug-editor/index.html?q=/doc/__ug-editor/topics/preferences-__editor-code-templates.html>
    >>
    >> <http://www.oxygenxml.com/doc/**ug-editor/index.html?q=/doc/**
    >> ug-editor/topics/preferences-**editor-code-templates.html<http://www.oxygenxml.com/doc/ug-editor/index.html?q=/doc/ug-editor/topics/preferences-editor-code-templates.html>
    >> >
    >>
    >>
    >> Regards,
    >> Radu
    >>
    >> Radu Coravu
    >> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
    >> http://www.oxygenxml.com
    >>
    >>
    >> On 11/10/2011 6:30 PM, Camille Bégnis wrote:
    >>
    >> 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  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
    >>
    >>
    >> ------------------------------**__----------------------------**
    >> --__---------
    >> To unsubscribe, e-mail:
    >> docbook-apps-unsubscribe@__lis**ts.oasis-open.org<http://lists.oasis-open.org>
    >> <mailto:docbook-apps-**unsubscribe@lists.oasis-open.**org<docbook-apps-unsubscribe@lists.oasis-open.org>
    >> >
    >> For additional commands, e-mail:
    >> docbook-apps-help@lists.oasis-**__open.org<docbook-apps-help@lists.oasis-__open.org>
    >> <mailto:docbook-apps-help@**lists.oasis-open.org<docbook-apps-help@lists.oasis-open.org>
    >> >
    >>
    >>
    >>
    >> ------------------------------**__----------------------------**
    >> --__---------
    >> To unsubscribe, e-mail:
    >> docbook-apps-unsubscribe@__lis**ts.oasis-open.org<http://lists.oasis-open.org>
    >> <mailto:docbook-apps-**unsubscribe@lists.oasis-open.**org<docbook-apps-unsubscribe@lists.oasis-open.org>
    >> >
    >> For additional commands, e-mail:
    >> docbook-apps-help@lists.oasis-**__open.org<docbook-apps-help@lists.oasis-__open.org>
    >> <mailto:docbook-apps-help@**lists.oasis-open.org<docbook-apps-help@lists.oasis-open.org>
    >> >
    >>
    >>
    >>
    >
    >
    > ------------------------------**------------------------------**---------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@**lists.oasis-open.org<docbook-apps-unsubscribe@lists.oasis-open.org>
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-**open.org<docbook-apps-help@lists.oasis-open.org>
    >
    >