[texworks] Updated builds of TeXworks for OS X

Joseph Wright joseph.wright at morningstar2.co.uk
Mon May 16 09:30:42 CEST 2011

On 16/05/2011 07:11, Joseph Wright wrote:
> On 16/05/2011 00:30, Charlie Sharpsteen wrote:
>> Currently it looks like TeXworks only associates its self with .tex,
>> .ltx and .pdf on OS X.  The relevant file in the TeXworks source is
>> TeXworks.plist.in, under the XML section starting with
>> "CFBundleDocumentTypes".
>> I agree that this list should be expanded. However I am reluctant to
>> modify this file myself as I am trying to keep changes to existing
>> files in my fork to a minimum. This policy ensures an easy merge of my
>> work back into SVN if/when the time comes.
>> Perhaps it would be more appropriate to address this issue by
>> submitting a patch directly to the main TeXworks repo? The changes
>> would propagate downstream into my builds.
> Of course, I was thinking about the main TeXworks codebase. I will take
> a look at this if I get a chance: I'd hope that there is not too much
> 'code' involved here.

Looking at this again, I realise that the official version only
associates .tex and .pdf with TeXworks on Windows, so the Mac version is
already going further! It's the TeX Live version of TeXworks that is
associated with .cls and .sty files on my system, and nothing at all
picks up .dtx 'out of the box'.

Now, I'm not sure what is 'correct' here. At the very least I suspect
that Windows and Mac OS X should be consistent. I'm not 100% sure that
TeXworks should be associating itself with .pdf (this is handy if you
have no other viewer installed, but that seems like an edge case to me).
Would a consistent list of:
 - .tex
 - .ltx
 - .sty
 - .cls
 - .dtx
be reasonable?

(I've left out .bib as there are a number of dedicated editors for
BibTeX files.)
Joseph Wright

More information about the texworks mailing list