[texworks] Document Version-ing and synctex Previewing

Paul A Norman paul.a.norman at gmail.com
Mon Jun 20 01:07:49 CEST 2011


Hi,

For security of work, I both sync the files to storage(-s), and
manually version number my .tex document(s) from time to time (one
long monolithic) - not any version-ing on includes or like to worry
about here.

E.g.

These-Fair-Isles-01.tex
These-Fair-Isles-02.tex
These-Fair-Isles-03.tex

And use a document pre-header of ...

     %& -job-name=These-Fair-Isles

Which nicely, under MiKTeX at least, makes the pdf as:
      These-Fair-Isles.pdf
and keeps it that way no matter what my document name version number is.

This means that the current document can always be linked to, and
there is no obsolete .pdf garbage collection needed,
 i.e. no great list of These-Fair-Isles-01.pdf,
These-Fair-Isles-02.pdf, These-Fair-Isles-03.pdf ... pdfs  to be
cleaned up later.

(All the .aux files etc nicely show up for deletion on File/Remove Aux Files)

Is there any setting I can put in the document to tell syntax to work
on the document named in the top most header,

     %& -job-name=These-Fair-Isles

Or is there a similar command line I can include in the top of the
document's header, so that Tw synctex preview will work please?

I.e. I would be working say at the moment in These-Fair-Isles-11.tex
(or what ever)
but always previewing  and syncing to These-Fair-Isles.pdf

Paul


More information about the texworks mailing list