Re: Script to repeatedly compile a document

2016-06-27 Thread Scott Kostyshak
On Mon, Jun 27, 2016 at 08:40:51PM -0400, Steve Litt wrote: > On Mon, 27 Jun 2016 17:12:47 -0400 > Richard Heck 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

Re: Script to repeatedly compile a document

2016-06-27 Thread Steve Litt
On Sun, 26 Jun 2016 23:15:00 -0400 Scott Kostyshak wrote: > Why not use use the following? > > lyx --export pdf4 $mainname.lyx > > It creates a PDF directly so you don't have to manually run xelatex. Why not, indeed! Here's another one. This script is meant to recompile

Re: Script to repeatedly compile a document

2016-06-27 Thread Steve Litt
On Mon, 27 Jun 2016 17:12:47 -0400 Richard Heck 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

Re: Script to repeatedly compile a document

2016-06-27 Thread Richard Heck
On 06/27/2016 01:35 PM, Steve Litt wrote: > On Sun, 26 Jun 2016 23:15:00 -0400 > Scott Kostyshak wrote: > >> There are reasons to compile yourself (e.g. to make a substitution) >> but unless you have a reason, LyX is better to use because it knows >> how many times you must run

Re: Script to repeatedly compile a document

2016-06-27 Thread Steve Litt
On Sun, 26 Jun 2016 23:15:00 -0400 Scott Kostyshak wrote: > On Sun, Jun 26, 2016 at 10:57:22PM -0400, Steve Litt wrote: > > Hi all, > > > > The following is a script to repeatedly compile a LyX document > > that's under construction or debugging: > > > >

Re: Script to repeatedly compile a document

2016-06-26 Thread Scott Kostyshak
On Sun, Jun 26, 2016 at 10:57:22PM -0400, Steve Litt wrote: > Hi all, > > The following is a script to repeatedly compile a LyX document that's > under construction or debugging: > > == > #!/bin/sh > > mainname=ch20 > > flagg=a > >