Discovered by Jim Osborn <[EMAIL PROTECTED]> who seems to understand
better than me what kind of latex ought to be generated.
Some quoting styles have problems with this sentence:
"The word is 'foo'", he said.
Everything is fine on screen, but the ' followed by " (with no space
inbetween) goes wrong in the output. The output looks more like "'
instead. This may be due to the way latex handles ligatures (double
qoute being a ligature of single quotes???) but lyx should "do the right
thing" here as the user's intention is clear.
Note that the sentence have no problem when a different quoting style is
used:
<<The word is <foo>>>, he said. That one comes out fine!
Also see messages at the user's list, titled:
space between single and right double quote marks
From the last one:
It does exactly as you say with the
«The word was <foo> » [I'll call F style]
quoting style, but not with the
``The word was `foo' '' [I'll call E style]
style.
Here's the lyx for my E style example:
\begin_inset Quotes eld
\end_inset
The word was
\begin_inset Quotes els
\end_inset
foo
\begin_inset Quotes ers
\end_inset
\begin_inset Quotes erd
\end_inset
he said.
And here's the dvi:
...foo<right double quote><small space><right single quote>
The lyx for the F style has "fld" in place of "eld" etc., and it does
indeed produce this dvi with LyX 1.3.6:
...foo<right single quote><small space><right double quote>
So, apparently it's a bug, at least in LyX 1.3.6, with the E style quotes
but not the F style; I didn't test all the other possibilities.
If you have time, could you verify whether the bug exists in LyX 1.4
for the E style quotes?
End of included message
The 1.3 problem may (or may not) be slightly different. There
is a problem in 1.4 too though. It can be worked around by
manually inserting a thin space between the troublesome quotes.
Helge Hafting