Andre Poenitz wrote:
On Mon, Apr 07, 2008 at 03:45:03PM -0400, Paul A. Rubin wrote:
Hi,
I was going to put this into bugzilla, but I'm uncertain whether it's
really a bug, a feature-enhancement or just one of those vicissitudes we
have to live with.
I copied some output from R (a stats package) and pasted it into a lyx-code
environment in an article. The copied text included ‘*’. I don't know
how those quote marks will display in e-mail, but apparently they're not
ordinary utf-8 characters (?).
[All known unicode is representable as UTF8, so, yes ;-)]
Anyway, in the LyX GUI they display
correctly, but when I try to View->DVI, View->PDF or File->Export->LaTeX,
nothing happens. The status line echoes the correct command (e.g.,
buffer-view dvi), but no files are written, LaTeX is not run, no output is
generated, and no error messages are generated. In other words, other than
the status line, it looks for all the world as if LyX ignored the command.
On the other hand, if I paste the same string into a standard environment,
LyX converts the characters to \textquoteleft and \textquoteright (which
are not the same glyphs) and the document exports and compiles normally.
Convert that standard environment to a lyx-code environment and the
characters revert to their original selves, recreating the problem.
I'm not sure if the answer is to run iconv on foreign text being pasted
into a lyx-code environment or what. I do think that, at minimum, LyX
ought to say *something* when I try to view the document (Warning! Danger!
Toxic characters detected in LyX code!).
It works for me even if I put the ‘*’ via texteditor directly into the
.lyx file.
Could you send me a .lyx file that does "not work"?
Andre'
Entered into bugzilla as bug # 4727.
/Paul