LyXLatex2lyx

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
zzzziox
Posts: 2
Joined: Thu Nov 18, 2010 10:06 pm

Latex2lyx

Post by zzzziox »

I am trying to get my project to work in LyX using tex files I have made in WinEdt. Is this doable? I keep getting errors but the debugger won't show me where the errors are coming from. I am using lyx for windows.

Any help or guidance would be greatly appreciated.
Attachments
ch2.tex
(14.62 KiB) Downloaded 226 times
ch1.tex
(10.23 KiB) Downloaded 215 times
TeX1.tex
(402 Bytes) Downloaded 262 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Latex2lyx

Post by meho_r »

We'll need preamble.tex file too, the document isn't compilable without it.
zzzziox
Posts: 2
Joined: Thu Nov 18, 2010 10:06 pm

Re: Latex2lyx

Post by zzzziox »

Sorry.
Attachments
preamble.tex
(244 Bytes) Downloaded 227 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Latex2lyx

Post by meho_r »

1. Open LyX, then import the file TeX1.tex through File > Import > LaTeX (plain).

2. Compile the document (if you still get an error report, check the image included in ch2).

3. You may edit individual chapters by simply clicking on their entries in TeX1 document (which serves as a master document) and then click on Edit button.

4. You may keep preamble.tex together with your .lyx files, or you may copy its content and paste it into TeX1's preamble (previously removing the entry \input{preamble}, of course, since it'll be redundant).

I tested it with LyX 1.6.8, TeXLive2010, on Debian Linux.
Post Reply