Hellmut Weber wrote:
Hi,
from inside lyx i can export to pdf using
File >Export >pdflatex
generating a file foo.pdf.

Command line: lyx --export pdflatex foo.lyx
produces a file foo.tex.

What can I do to produce foo.pdf from the command line?

You want to use an appropriate format name, e.g.:
   lyx --export pdf foo.lyx
will produce a pdf using ps2pdf. Look at Tools>Preferences>File Formats for these format labels. You'd use
   lyx --export pdf2 foo.lyx
to use pdflatex.

rh

TIA

Hellmut

IBM Lenovo T60 with gentoo linux, kde-3.5.8, lyx SVN as of yesterday


Reply via email to