[OS X TeX] Applications called by 'Typeset' in TeXShop

Malcolm Ross Malcolm.Ross at anu.edu.au
Fri Sep 10 11:10:32 EDT 2004


On 11/09/2004, at 12:46 AM, Herb Schulz wrote:

> On 9/10/04 9:04 AM, "Herb Schulz" <herbs at wideopenwest.com> wrote:
>
>> On 9/10/04 1:00 AM, "Malcolm Ross" <Malcolm.Ross at anu.edu.au> wrote:
>>
>>> In TeXShop 1.35 the user has the option of setting the program and 
>>> the
>>> encoding at the beginning of the .tex or .ltx file to be typeset, 
>>> and I
>>> find it convenient to place the two lines below at the top of my 
>>> file:
>>>
>>> %&program=xelatex
>>> %&encoding=UTF-8 Unicode
>>>
>>> This works fine, except when I want to run BibTeX. Switching the 
>>> button
>>> to the right of the 'Typeset' button to 'BibTeX' has no effect, as 
>>> the
>>> setting of that button is overridden by the top line of the file
>>> (%&program=xelatex) and the 'Typeset' button runs XeLaTeX, not 
>>> BibTeX.
>>> The only way to run BibTeX is to temporarily delete the top line of 
>>> the
>>> file, run BibTeX from the 'Typseset' button, then reinsert the top 
>>> line
>>> of the file.
>>>
>>> My question is: Is my description above correct? Or is there a better
>>> way? Am I missing something? I don't mind doing things this way, but 
>>> it
>>> seems rather clumsy.
>>>
>>> Malcolm
>>>
>>
>> Howdy,
>>
>> I believe typing Shft-Cmd-B will run BibTeX. Look under the Typeset 
>> Menu.
>>
>> Good Luck,
>>
>> Herb Schulz
>> (herbs at wideopenwest.com)
>>
>
> Howdy,
>
> Hmmm... It used to work... Now I can't override the %& line. I think 
> you've
> run across a bug. You don't have to eliminate the line; just add 
> another %
> in front of it. Maybe the TeXShop commands could just use %%& and, of 
> course
> be overridden by the menu commands.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)

Thanks, Herb. A brief experiment reveals that Shft-Cmd-B will override 
%&program=latex and run BibTeX, but it won't override 
%&program=xelatex.

Malcolm

--------------------- 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 MacOSX-TeX mailing list