> > Pavel Sanda wrote: > >>>> How do I tell which of the three pdf exports I'm > >>>> getting? > >>> just pass the one you want, they are defined in the File->Export menu I > >>> think. The default 'pdf' uses ps2pdf and 'pdflatex' uses pdflatex. > >> you are wrong, pdflatex exports to .tex. you have to use pdf2 :) > > > > Where is this documented??? > > :)) i'll prepare patch
i'll commit this later if nobody objects. pavel
diff --git a/config/install-sh b/config/install-sh diff --git a/config/mkinstalldirs b/config/mkinstalldirs diff --git a/lyx.man b/lyx.man index 79b5484..ab18b93 100644 --- a/lyx.man +++ b/lyx.man @@ -65,6 +65,7 @@ where command is a lyx command. .TP \fB \-e [\-\-export]\fP \fIfmt where fmt is the export format of choice. +Look on Tools->Preferences->File formats->Format to get an idea which parameters should be passed. .TP \fB \-i [\-\-import]\fP \fIfmt file.xxx where fmt is the import format of choice and file.xxx is the file to be imported. diff --git a/src/LyX.cpp b/src/LyX.cpp index 47c048c..bec6f55 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -1336,6 +1336,8 @@ int parse_help(string const &, string const &) " where command is a lyx command.\n" "\t-e [--export] fmt\n" " where fmt is the export format of choice.\n" + " Look on Tools->Preferences->File formats->Format\n" + " to get an idea which parameters should be passed.\n" "\t-i [--import] fmt file.xxx\n" " where fmt is the import format of choice\n" " and file.xxx is the file to be imported.\n"