<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Michael,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This seems too complicated to me, for not so many occasions of typesetting.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In any case, thanks!</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I hope that Aquamacs gets updated, and also with the necessary  options for pstricks and ghostscript transparency, to the typesetting engines for:</div><div class="gmail_default" style="font-size:small">latex > dvips > ps2pdf </div><div class="gmail_default" style="font-size:small"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best Regards,<br>Roussanka<br><br><br></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 20, 2021 at 7:58 PM Michael Sharpe via MacOSX-TeX <<a href="mailto:macosx-tex@email.esm.psu.edu">macosx-tex@email.esm.psu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">The following shell script may help. Save it as an executable in your path named, e.g., tsprocess. <br>
<br>
----------CUT HERE--------<br>
#!/bin/bash<br>
open -a "TeXShop" "$1" # this will make $1 the front document whether or not already open<br>
/bin/rm -f "${1%.*}.aux"<br>
exec osascript <<END<br>
tell application "TeXShop"<br>
  activate<br>
  delay 1<br>
  typeset (front document)<br>
end tell<br>
END<br>
exit $?<br>
----------CUT HERE--------<br>
<br>
Then you can add tsprocess followed by the name of your current emacs tex job to your emacs tex processing script and it will tell TeXShop to process the same file. <br>
<br>
<br>
Michael<br>
<br>
<br>
<br>
> On Apr 20, 2021, at 10:14 AM, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" target="_blank">herbs@wideopenwest.com</a>> wrote:<br>
> <br>
> <br>
> <br>
>> On Apr 20, 2021, at 12:05 PM, Roussanka Loukanova <<a href="mailto:rl.stpuu@gmail.com" target="_blank">rl.stpuu@gmail.com</a>> wrote:<br>
>> <br>
>> Howdy,<br>
>> ...<br>
>>> Last days, in my tests with a lot of files for the pstricks, in the rush, I couldn't figure out basic editing commands. So, I've been typing in Aquamacs, and excellently indeed, TeXShop would update automatically the source, which I keep opened in a TeXShop window:<br>
>>> <br>
>>> TeXShop Preferences > Preview > External Editor > Automatic Preview Update<br>
>>> <br>
>>> I had expected this option to update the pdf view in TeXShop, but good for me these days, it updates the .tex source in the opened window. It would be good to have both updated when they get changed in Aquamacs and Skim.<br>
>>> <br>
>>> Best Regards,<br>
>>> Roussanka<br>
>> <br>
>> The usual thing is not to display the source on TeXShop after editing in an external editor but rather to use TeXShop to typeset the file and display the pdf directly. You should not only have Automatic Preview Update checked for External Editor in the Preview tab of TeXShop->Preferences but also the Configure for External Editor item checked in the On Startup section of the <br>
>> source tab in TeXShop->Preferences. <br>
>> <br>
>> This works only once, when I had typed and save a file.tex in Aquamacs, without typesetting, and then I attempt to open file.tex in TexShop: wonderfully it typesets the file.tex file, without opening it, shows the console and the file.pdf!<br>
>> <br>
>> But if I continue typing in file.tex in Aquamacs, TeXShop can't react. I have to close the file.pdf (not necessarily quitting TeXShop) and it typesets it freshly.<br>
>> <br>
>> This is a very nice feature, indeed, as in my case of poor typing skills with TeXShop. It would be even better to be able to typeset again upon modified file.tex.<br>
>> <br>
>> Of course, I better also learn typing quickly enough in TeXShop.<br>
>> <br>
>> Thanks, again and agin!<br>
>> Roussanka<br>
>> <br>
>> How you setup Aquamacs is not something I know about; my days of using emacs have long been gone.<br>
>> <br>
>> Good Luck,<br>
>> <br>
>> Herb Schulz<br>
>> <a href="mailto:herbs@wideopenwest.com" target="_blank">herbs@wideopenwest.com</a><br>
> <br>
> Howdy,<br>
> <br>
> There should be a way for Aquamacs to tell TeXShop to typeset so you don't need to do it manually. similarly there should be a way to sync between the Source in Aquamacs and the pdf in TeXShop. I have no familiarity woth either of these but there are folks that do that sort of thing. Ask on the list!<br>
> <br>
> Good Luck,<br>
> <br>
> Herb Schulz<br>
> <a href="mailto:herbs@wideopenwest.com" target="_blank">herbs@wideopenwest.com</a><br>
> <br>
> <br>
> <br>
> <br>
> Powered by Mailbutler <<a href="https://urldefense.com/v3/__https://www.mailbutler.io/?utm_source=watermark&utm_medium=email&utm_campaign=watermark-essential-email__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIky9g-LoI$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://www.mailbutler.io/?utm_source=watermark&utm_medium=email&utm_campaign=watermark-essential-email__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIky9g-LoI$</a> >, the email extension that does it all<br>
> ----------- Please Consult the Following Before Posting -----------<br>
> TeX FAQ: <a href="https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIk5GuWmfI$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIk5GuWmfI$</a> <br>
> List Reminders and Etiquette: <a href="https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIk0ZAMCxg$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIk0ZAMCxg$</a> <br>
> List Archives: <a href="https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIktDq4EaE$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIktDq4EaE$</a> <br>
>                <a href="https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIkqY4R4WY$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIkqY4R4WY$</a> <br>
> TeX on Mac OS X Website: <a href="https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIkz3AMJpk$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIkz3AMJpk$</a> <br>
> List Info: <a href="https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIkhN3o42o$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!Mih3wA!X8kfGbCwxLVZYZZoEMiMzd3Sn8xT3_vJmmLMYvcKCUO_Wq2wNDGajhIkhN3o42o$</a> <br>
> <br>
<br>
----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" rel="noreferrer" target="_blank">http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/tex/" rel="noreferrer" target="_blank">https://sites.esm.psu.edu/~gray/tex/</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" rel="noreferrer" target="_blank">http://dir.gmane.org/gmane.comp.tex.macosx</a><br>
                <a href="https://email.esm.psu.edu/pipermail/macosx-tex/" rel="noreferrer" target="_blank">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br>
TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" rel="noreferrer" target="_blank">http://mactex-wiki.tug.org/</a><br>
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" rel="noreferrer" target="_blank">https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
</blockquote></div>