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 [1] https://sites.google.com/site/tsewiki/resources/latex > and got the following: > > This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) > entering extended mode > (./test.lyx > LaTeX2e <2009/09/24> > Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, > noh > yphenation, loaded. > ! You can't use `macro parameter character #' in vertical mode. > l.1 # > LyX 2.0 created this file. For more info see http://www.lyx.org/ > > > I removed the first line: "#LyX 2.0 created this file. For more info see > http://www.lyx.org/" > > and tried again and got: > > This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) > entering extended mode > (./test.lyx > LaTeX2e <2009/09/24> > Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, > noh > yphenation, loaded. > ! Undefined control sequence. > l.1 \lyxformat > 413 > > The first line of my test.lyx file is now "\lyxformat 413". Which latex > apparently does not like. > > I'm guessing that I need something else installed or I have to pass an > argument to latex so > that the lyx package will work with latex. I think you need to add a brief > prerequisite statement in your tutorial. > > > Second, can anyone tell me what I need to do to fix the problem so I can > continue with the tutuorial? > > Thanks. > > Jim Anderson > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
