On Mon, Jun 27, 2016 at 08:40:51PM -0400, Steve Litt wrote: > On Mon, 27 Jun 2016 17:12:47 -0400 > Richard Heck <[email protected]> wrote: > > > > "pdf4" is simply the format name LyX uses for conversions to PDF that > > go via xelatex. See > > Tools> Preferences> File Handling> File Formats, then choose "PDF > > (XeTeX)" in the combo. > > You'll see the label "pdf4" under "Short Name". > > Confirmed! > > This is probably the greatest demonstration that this feature is > underdocumented. Nobody could guess or blunder into that in any > reasonable time: They'd need to know it from documentation, and I > could find none.
$ lyx --help
-e [--export] fmt
where fmt is the export format of choice. Look in
Tools->Preferences->File Handling->File Formats->Short Name
to see which parameter (which differs from the format name
in the File->Export menu) should be passed.
Note that the order of -e and -x switches matters.
Scott
signature.asc
Description: PGP signature
