Georg Baum wrote:


- I use pdflatex but don't specify the .pdf-extension so that I can switch to normal latex (using .eps) seamlessly; tex2lyx applies a definite choice, thereby destroying this nice portability. Why?


Because LyX 1.4 _always_ needs the extension: There is always one "master" version of the graphic that is referenced in the .lyx file. The others are created by the converter mechanism from the master file if needed. LyX will not output the extension in the .tex file to maintain portability, but it needs it in the .lyx file.

That's great, I didn't know that. I agree it's the right thing to do. Is it documented somewhere? (well, probably in the main user guide....?)


Therefore tex2lyx looks for existing files and adds the extension if it finds one. What is missing here is a commandline switch for tex2lyx that tells wether the document is for "normal" latex or pdflatex. This should not be difficult to implement, you are welcome to do that if you know a bit of C++ ;-)

Wait a minute, if lyx preserves the portability, why would you need such a switch? If I understand correctly, the "master" document is just used as input to convert for preview display, right? Then I think the situation is just fine "as is".



- I have a \bibliographystyle definition (with natbib), this seems to be imported twice: it is specified when I open the bibreferences-inset, but it's also displayed as ERT


This is a known problem. It would be nice if you could add that to the wiki page.


Which one? The one I suggested about relyx and then tex2lyx (and that doesn't exist yet)?


-sven

Reply via email to