[OS X TeX] Can You Find The Class?
maarten.sneep at xs4all.nl
Sat Jun 18 22:56:29 CEST 2005
On 18 Jun 2005, at 20:46, Herbert Schulz wrote:
> On Jun 18, 2005, at 1:23 PM, Claus Gerhardt wrote:
>> Below is an Applescript that reveals the documentclass, to be used
>> in TS. You have the subroutine setnamets.scpt.
> Thanks and I've filed it away for reference. Anything Applescript
> is a useful tool since I've always had a difficult time getting my
> arms, or even hands or fingers, around the syntax. I'm too much of
> an old structured C programmer I guess.
(Python + AppScript is a very nice alternative, with a well defined
syntax, and a learning curve that is friendly. Highly recommended
> I actually hoping I can find something to use within a .sty file. I
> felt it would be nice to have the adapted pdftricks package
> generate figure files that use the same class as the original
> source file. Then I'd change the pdftricks to use keyval options
> and allow the user to change that behavior with something like
> docclass=..... from the default. It would also allow me to grab
> more document point sizes, etc. Right now I'm just thinking out loud.
This is the type of question that will generate an answer in
comp.text.tex on usenet, although the answer probably is: there is no
general solution, but I have this nagging voice in my head that
states that there is a command that yields the main document class name.
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives