Package: lyx
Version: 1.0.4

When I try to put some code example with 'Lyx-code' style in a french language document,
the french rules for 'insecable  fine space' add some space before the ':' punctuation mark
in the LaTeX output.

Example:

- wanted text:

-----------------
ajouter la ligne suivante a /etc/fstab:
     server01:/var/spool/mirror /mnt/import/server01/mirror ...
-----------------

- the printed text (through LaTeX) is as follows:

-----------------
ajouter la ligne suivante a /etc/fstab :
     server01 :/var/spool/mirror /mnt/import/server01/mirror ...
-----------------

In the second line the added space (before ':') is unwanted,
as the text becomes erroneous.

Transcription to HTML with 'latex2html' also prints this superfluous space.

Suggestion:

1. the rule for 'espace fine insecable' (in french typo rules) should not apply in Lyx-code style

2. more general:  ... should not apply to included ':' (as in <abcd:efg>)

I think that the first suggestion is obvious; the second one should be evaluated more deeply.
 

Thank you for all the daily pleasure I have to use this very useful application,

Gaetan Angely.
 
 
 

Reply via email to