For a variety of reasons, I'm using LyX as my primary LaTeX document creation tool, but I want to avoid doing things or relying on features of LyX that make it hard to use other tools as well. While I've been able to configure LyX to make it possible to move the generated TeX into any other editor (e.g., I can simply paste my TeX code into TeXShop, and it works) I'm unclear on what command lines are required to perform various build tasks.
Is there a way to find out what command lines correspond to the various LyX "View" menu commands? Are these listed somewhere? For example, what commands (pdflatex
? biblatex
? etc.; with what arguments?) does the View
> View [PDF (pdflatex)]
menu command execute?
Best Answer
I think these are the ones listed in Tools --> Preferences --> File Handling --> Converters (see screenshot at the bottom). There you can see the command line arguments used.
$$-variables
The
$$<letter>
variables refer to the following (from the LyX Customization manual, found under Help --> Customization, section 3.3):$$s
The LyX system directory$$i
The input file$$o
The output file$$b
The base filename of the input file (i.e., without the extension)$$p
The path to the input file$$r
The path to the original input file (this is different from$$p
when a chain of converters is called)$$e
The iconv name for the encoding of the document.Extra flag
Quoting the manual mentioned above: