[OS X TeX] FlashMode, Up Close and Personal, TeX plug-in

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Mon Sep 15 06:37:21 EDT 2008


The more recent Flashmode applets, including those used in version  
4.2, call shell scripts located in their bundle and not those in ~/ 
Library/Flashmode/bin. Thus, you either have to edit the shell scripts  
inside the applets or add the corresponding first line in your  
documents, which I would recommend.

For new documents I use a template with the specific first line and  
for older once the script below which I saved as macro in TS.

Claus

-- AppleScript
-- Notice that the text will be pasted in the line where the cursor is.
-- Claus Gerhardt, September 2006


set insertText to "pdflatex"

set pasteText to "%&" & insertText & " "

tell application "TeXShop"
	activate
	tell application "System Events"
		tell process "TeXShop"
			keystroke pasteText
		end tell
	end tell
	
end tell




On Sep 15, 2008, at 6:17, N Shah wrote:

> Thanks Claus,
>
> Let me say wow this is awesome stuff.  Works great!  Got one  
> question.  In the documentation, you say that I can eliminate the  
> need to add %&pdflatex to source files by changing the three scripts  
> "pdflatexc", "flashmode-ts-1" and "pdflatex_error" located in bin  
> directory to call pdflatex instead of pdfetex.  I have done so, and  
> the pdflatexc script works correctly -- i.e. when I push the button  
> in the flashmode window things typeset correctly.  However, the  
> background typesetting does not work.  Looking at the log, it  
> appears to be calling pdfetex still.  I must have done something  
> wrong in changing the scripts.  Thoughts on how I might chase down  
> the error?
>
> Thanks,
>
> - Nirav
>
>
> On Sep 14, 2008, at 6:25 AM, Claus Gerhardt wrote:
>
>> On Flashmode's page is a link to version 4.2 which runs on PPC as  
>> well as 10.4.
>>
>> Claus
>>
>> On Sep 14, 2008, at 3:06, N Shah wrote:
>>
>>> Given the discussion of Flashmode, I decided to try it out.  How  
>>> do I install it in 10.4?  The instruction on Claus's website don't  
>>> seem to match what in the bundle -- i.e. I don't see a Flashmode- 
>>> Tiger folder in the TeXHelpers download.  Did I miss something?
>>>
>>> Thanks,
>>>
>>> - Nirav
>>>
>>> ----------- Please Consult the Following Before Posting -----------
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
>>> List Archive: http://tug.org/pipermail/macostex-archives/
>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>>
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>




More information about the MacOSX-TeX mailing list