[texworks] TeXworks 0.4.3 : where is the transcript file
Paul A Norman
paul.a.norman at gmail.com
Sun Nov 13 05:22:58 CET 2011
I've just saved that, very useful, I'll be using that.
What about a short cut? (I'm tending to three Letter ones to avoid
running out or congestion of useful letters/numbers)...
// Title: Open TeX logfile
// Description: Attempts to open the logfile for the current document
// Author: Charlie Sharpsteen
// Version: 0.11
// Date: 2011-11-12
// Script-Type: standalone
// Shortcut: Alt+O, Alt+T, Alt+L
var logfileName = TW.target.fileName.replace(RegExp('\.(tex\|pdf)$'), '.log');
Could even be a hook
// Script-Type: hook
// Hook: AfterTypeset
- called automatically when typeset complete for those who want it
every time? (I wouldn't!)
On 13 November 2011 13:19, Charlie Sharpsteen <chuck at sharpsteen.net> wrote:
> On Sat, Nov 12, 2011 at 9:44 AM, Philip TAYLOR <P.Taylor at rhul.ac.uk> wrote:
>> Charlie Sharpsteen wrote:
>>> If TeXworks is missing something you find necessary, feel free to add to
>>> the source code or write a script that fills the gap.
>> I am a TeXworks user, Charlie, not a TeXworks developer --
>> my skills (if I have any) lie in writing TeX code, HTML
>> & CSS, none of which would allow me to add functionality
>> to TeXworks.
>> Philip Taylor
> I'm just a TeXworks user as well---I do some development work because I want
> to have stable Mac builds and a better PDF viewer.
> Since you have experience working with HTML, perhaps you know a bit of
> the feature you want without having to know about C++ or compiling things
> from source:
> // TeXworksScript
> // Title: Open TeX logfile
> // Description: Attempts to open the logfile for the current document
> // Author: Charlie Sharpsteen
> // Version: 0.1
> // Date: 2011-11-12
> // Script-Type: standalone
> logfileName = TW.target.fileName.replace(RegExp('\.(tex\|pdf)$'), '.log');
> TW.app.openFileFromScript(logfileName, TW);
> Whenever I see someone make a statement like "I'm surprised/confused/angry
> that (open source project x) doesn't have (feature in product y)" I can't
> help but think of the old proverb:
> Give a man a fish and you feed him for a day.Teach a man to fish and you
> feed him for a lifetime.
> With projects like TeXworks, noone is getting paid to do development.
> Therefore, the responsibility (and freedom!) falls upon us as users to
> implement the features we want.
More information about the texworks