2014-01-29 Scott Kostyshak > I'm looking at the converter code and I would like to understand what > setting 'latex == pdflatex' (or any other flavor) does. In the > customization file, it states > "This converter runs some form of LaTeX. This will make LyX's LaTeX > error logs available." > but I think the logs are available even if that is not specified. > What else does it do?
It sets OutputParams::Flavor accordingly. This is used at several places to get specific settings for pdflatex vs. latex vs. lualatex etc. > Is there anything expected of a script used in a > converter that specifies that flag? Just that it does actually run > pdflatex (and does not change the output name)? > Some scripts depend on it. E.g. preview. > I thought that setting it would tell LyX to run that converter as many > times as necessary (e.g. if more than one latex run for TOC, etc. are > needed). Is that true? > No, this is handled by needaux. Jürgen > > I would like to put this information in the Customization manual. > > Scott >