[OS X TeX] Scientific Wordprocessing on MacOSX

Andreas Höschler ahoesch at advanced-science.com
Tue May 21 22:37:37 CEST 2013


Hi Herbert,

> Can you please elaborate (for the non-expert) these few lines you  
> wrote:
>>
>>> However, Cassiopeia can work with any LaTeX distribution. One just  
>>> has to edit the two scripts
>>>
>>> 	
>> 	/Library/Frameworks/SDMFoundation.framework/Resources/ 
>> generateLaTeXPDF
>>> 	
>> 	/Library/Frameworks/SDMFoundation.framework/Resources/ 
>> generateLaTeXPDFWithIndex
>>>
>>> that have content like
>>>
>>> #!/bin/csh
>>> setenv PATH /usr/local/teTeX/bin/powerpc-apple-darwin-current:...
>>> pdflatex $1
>>> bibtex $1
>>> pdflatex $1
>>> pdflatex $1
>>>
>>> and add the path to the bin directory of the LaTeX distribution in  
>>> use.
>>
>> Thank you.
>>
>> Iraj.
>>
>
> That must be a rather ancient script! For any recent MacTeX  
> installed system one should use /usr/texbin:$PATH for the PATH  
> variable. Also, doesn't csh (most folks use bash nowadays---another  
> item that shows the age of this script) is path rather than PATH?

I hope

>>> #!/bin/csh
>>> setenv PATH /usr/texbin:...:$PATH
>>> pdflatex $1
>>> bibtex $1
>>> pdflatex $1
>>> pdflatex $1


or

>>> #!/bin/bash
>>> PATH=/usr/texbin:...:$PATH
export PATH
>>> pdflatex $1
>>> bibtex $1
>>> pdflatex $1
>>> pdflatex $1


will do it then (make the script compatible with recent MacTeX  
distributions)!?

> Not only that, there are really nice ways to automate the running of  
> pdflatex, bibtex, makeindex, etc.

Would this be of any benefit for the integration into Cassiopeia? The  
script being called by Cassiopeia is already automization in itself,  
isn't it? How do you think could this be even more improved?

Thanks,

   Andreas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20130521/ba3c0269/attachment.html>


More information about the macostex-archives mailing list