[OS X TeX] TeXShop features, AppleScripting

Maarten Sneep maarten.sneep at xs4all.nl
Fri Jun 25 11:12:16 CEST 2004


On 25 jun 2004, at 9:24, Jérôme Laurens wrote:

[snip]

> Actually, if you share docs with people on different platforms, "la 
> vie n'est pas rose", life is not so comfortable.

For that reason, a project file would be worse: each editor uses a 
different technique for these format files, unless you come up with a 
really complete set of features, and submit the format as a standard 
through TUG. This probably means starting a committee, .... OTOH, 
TeXNicCenter is also GPL, so you could hook into their format, provided 
they have enough items in there. They also have some cite/ref insert 
code, might be worth a look.

If I had to choose, I'd pick the meta-comments from Emacs and leave it 
at that, because it is widely used, and offers the basic functionality 
needed to typeset the file (and yes, I'm aware that %SourceDoc is 
already different). Having both certainly isn't a problem, as long as 
they're in sync.

You give a partial list of properties for the project file:

> store encoding information,
> language,

These two can only be part of the source file: the language may change 
within the document, and that is already indicated with use of the 
babel package. the other is indicated in the master document, with 
loading the inputenc package (and should not change throughout the 
master and children).

> ignored words,

(For the spell checker, I presume?)

> open files,
> window position,
> selected text range,
> pdf page displayed,
> TeX format or script

Since I do everything in separate programs, some of these are relevant, 
some are less relevant, but this seems a nice superset of what people 
may want.

> pdf viewer,
> text editor,

This I think is a application wide preference, and does not belong in a 
project file, but I cannot recall what the Apple HI guidelines say 
about this. They have a section on per-application preferences and 
per-file preferences.

And of course some caches for labels &c.

Maarten
-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the macostex-archives mailing list