LyX ⇒ LyX adds "junk" code in LyX to LaTeX conversion
LyX adds "junk" code in LyX to LaTeX conversion
My problem is with the LyX to LaTeX conversion. LyX automatically adds a preamble, which I don't want. Ok, easy enough to delete it. But it also replaces all backslash characters with "\textbackslash" and it inserts "\medskip{}" between paragraphs and extraneous \{ and \} characters within existing LaTeX code. Where the author has a comment (%), the converted file has \%. When indexing a book, it becomes impossible to delete all these "extras" with any confidence that I've gotten every instance. I'm left with having to copy/paste the \index code from the "bad" .tex file to a clean copy. Not the most efficient way to accomplish the task.
Does anyone know why LyX adds all the "junk" and what might solve the problem?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
LyX adds "junk" code in LyX to LaTeX conversion
What exactly are you using Word to do? It's very possible to do make an index using LaTeX (see the
