On Tue, Oct 4, 2011 at 9:01 PM, John R Hudson <[email protected]> wrote: > On Tuesday 4 October 2011 18:57:03 Liviu Andronic wrote: >> On Tue, Oct 4, 2011 at 7:28 PM, Jim Anderson <[email protected]> wrote: >> > Hi, >> > >> > I'm looking a Lyx as a replacement document tool. I'm trying to run the >> > examples in the tutorial. >> > I'm running Kubuntu Linux 11.10 and I have downloaded Latex2e, Lyx, etc >> > using the package manager. >> > >> > I tried typing in a single sentence into Lyx and saved it to creat a >> > test.lyx file. I ran: >> > latex test.lyx >> >> You don't need to do this when you use LyX. Simply access View > View >> PDF (pdflatex) or similar to compile your document. If you want to do >> this manually using the command line (not recommended), then do File > >> Export > LaTeX and then compile it as you're used to. See LyX >> Essentials for some pointers. [1] >> >> Regards >> Liviu > Just to explain; a LyX 2 file is an XML file, not a TeX file. It contains all > To correct, the .lyx file format is not XML, not yet at least. But it is indeed not a LaTeX file since LyX is a frontend not only to LaTeX, but can also output HTML, Docbook, etc. Liviu
> the additional information needed to set up the input screen in LyX. When you > ask for an output, it creates a TeX file and sends the necessary commands to > TeX or pdftex or whatever for processing. The File>Export>LaTeX option stops > after the TeX file creation. >
