[OS X TeX] question on automating
Maarten Sneep
maarten.sneep at xs4all.nl
Sun Apr 9 15:11:10 CEST 2006
On 9 Apr 2006, at 14:45, Herbert Schulz wrote:
> On Apr 9, 2006, at 12:57 AM, delanoy at math.univ-lyon1.fr wrote:
>
>> consider the following two features of TeXShop :
>>
>> -By typing Command+T you can compile the source file.
>> -By doing Command+mouse click in the source file you can go to the
>> corresponding place in the output file.
>>
>> What is the simplest way of automating those two commands into
>> one (when you have just changed section 1.a.3 in your source file
>> you usually want to see what the new section 1.a.3 looks like in
>> the PDF
>> file, right ?) Should it be Applescript,
>> ~/Library/TeXShop/Menus/KeyEquivalents.plist,
>> or Automator ?
>>
>> Ewan
>
> Howdy,
>
> If you've already compiled the file once and gone to that section
> in the Pdf Preview window when you compile again you should still
> be on that page at the same position on that page if you don't
> close that window. Isn't this what you want?
No, because you may have changed something on page 3, compiled and
found it to your liking, and then altered something on page 5, you'd
still be on page 3 (not 5). I think the easiest way to describe the
feature request is "open the preview on the page that contains the
result of the line where the insertion point is located." Certainly
preferences material, I can imagine that some wouldn't like this.
My attack-vector for this problem would be AppleScript, but it's been
a while since I last used TeXShops AppleScript dictionary. On first
inspection, it doesn't look too easy :(
Maarten
------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list