[OS X TeX] producing a commentary in TeX of an existing PDF document (various particular items)

Jason Davies ucgajpd at ucl.ac.uk
Fri Apr 28 23:02:55 CEST 2006


I asked a little while ago about this topic and was pointed towards using the class memoir. However, it turns out that that will not work in practice so I've decided instead to use the original document in the following way:

1) create individual pdfs of each page of the original document
2) include them as graphics as the right hand page (ie alternating)
3) add my commentary on the left.

This will involve setting the numbering for each page (because it will count the pdf but in this case I want to make the page numbering match - ie the document will have two page 1s, two page 2s etc.

Before I start on this rather tedious task, I'm throwing myself on the list's mercy for help...

Firstly, which pdf viewer (if any) allows me to Applescript the following:

    print the frontmost page to pdf (and only that page), taking the filename from the page number (or a separate counter that I can set to match), then go to the next page and do the same in a repeat block
    
    
    can anyone help with the syntax of printing out a particular page via Applescript?
    
One reason for asking is that I have chronic RSI and manipulating the mouse to print out to pdf and change the page number will wreck my arm (the mouse work is worst). An applescript can be run (even if I have to repeat it page by page) via iListen, so it won't produce any strain.

Secondly, my limited experince of inserting graphics is that I often get a blank page afterwards. Is that normal? (ie should inserting a single page pdf into a TeX document also force a blank page? can I do something about this? or have I just produced this effect by some other means, by accident, and therefore should see if it simply doesn't happen)?

Thanks for any help. I am interpreting the rubric of 'Mac and TeX issues' to include such questions as this but please administer a mild telling off if it's not....:-)
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list