[texworks] SCRIPTING: get current poppler page number

Paul A Norman paul.a.norman at gmail.com
Wed Oct 20 14:47:23 CEST 2010


Here is a simplistic scripting implementation of a suggestion by Bruno
to look at using pdfopen. Could use pdfclose if that is needed as

Useful when acrobat reader needs to be used to check something like \pdfmarks

Utilises a hightech  in-built human observational facility for
determing the poppler preview page number :)

Under Windows at least the the acrobat reader pdf appears to still
need to be closed for Typesetting to take place.

Text highlighted in the Tw editor would be used as a specified named
destination, otherwise a page number is requested (optional - the box
can be canceled).

Feedback appreciated please,


On 19 October 2010 00:24, Stefan Löffler <st.loeffler at gmail.com> wrote:
>  Hi,
> Am 2010-10-18 13:22, schrieb Paul A Norman:
>> Dear Jonathan or Stefan,
>> [Thought I'd better do this seperately.]
>> Can TwScript tell me which page
>> poppler is on in the current document please?
> The short answer: sorry, no (ATM).
> The long(er) answer is in the other thread:
> http://tug.org/pipermail/texworks/2010q4/003211.html
> -Stefan

More information about the texworks mailing list