[texworks] jump to \input or \include file?

Paul A Norman paul.a.norman at gmail.com
Mon Oct 18 08:27:29 CEST 2010

I'm pretty sure I put sometinh on your scripting issue page quite some
time ago Steffan, one script that will open all the \incudes \inputs
in a master document (for doing a find through all related documents),
and  another that will open a filename between {braces}. I think I put
some sort of adjustments or indication for OS stuff. Sorry I'm a bit
out of touch with it, and they might have been written before we had
the abiltiy to script in Alt key combinations to invoke them.


On 18 October 2010 19:12, Stefan Löffler <st.loeffler at gmail.com> wrote:
> WARNING: This e-mail has been altered by the NFIT virus/spamfilter.  Please see below for a record of the changes made.
> . In case of problems consider contacting the sender or postmaster at nfit.au.dk
> -------Change report:
> An attachment named open-included.js was removed from this document as it
> constituted a security hazard.  If you require this document, please contact
> the sender and arrange an alternate means of receiving it.
>  Hi,
> Am 2010-10-14 20:54, schrieb Arno Trautmann:
>> this just entered my mind when opening a document that was \input into
>> another one: Is it possible or would it be possible to implement a
>> feature that opens a document that is \input or \included into another
>> document by clicking on it? (Assuming LaTeX syntax, i.e. \input{filename})
>> That would be a nice and useful feature!
> Sure, scripting is your friend. I've attached a preliminary version of
> such a script. It should support both \include{} and \input{}. I haven't
> tested it extensively, though. So problems may arise on Windows
> (different path syntax?), or with \include'd files in subdirectories,
> parent directories, etc. But it's a start :).
> Stefan

More information about the texworks mailing list