<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks - it's wonderful!</div><div class="gmail_default" style="font-size:small">This code does exactly what I want! I've tried it several times with several files, by trashing all the output latex-ing files.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default">Indeed, the name "latex" doesn't reveal the job behind it. I just had missed to try it because the value in [<span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">% !TEX TS-program = latex]</span> doesn't mention the dvi / ps2pdf, and I see no check mark at <span style="color:rgb(80,0,80)">Typeset > TeX and DVI. </span>In any way, having the code in the specific files is great, because TexShop typesets normal .tex files with usual LaTeX that do not have this code. </div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div><div class="gmail_default" style="font-size:small">Dick, your work is great, wonderful!</div><br></div><div>Best Regards,<br>Roussanka<br><br><br></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 1, 2020 at 5:04 AM <a href="mailto:koch@uoregon.edu">koch@uoregon.edu</a> <<a href="mailto:koch@uoregon.edu">koch@uoregon.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"><div style="word-wrap:break-word;line-break:after-white-space">No. The command does NOT reset the typeset menu. It just typesets the correct way.<div><br></div><div>With that line, typeset and see what happens.</div><div><br></div><div>Dick<br><div><br><blockquote type="cite"><div>On Oct 31, 2020, at 9:00 PM, Roussanka Loukanova <<a href="mailto:rl.stpuu@gmail.com" target="_blank">rl.stpuu@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi Dick,<br><br>Thanks! Yes, by the steps:<br>TeXShop > Macros > Program : latex<br><br>TeXShop inserted in the file:<br><br>% !TEX TS-program = latex<br><br><br>I still need to select: <br><br>Typeset > TeX and DVI <br>and then run Typeset<br><br>I'm thinking: there should be similar, but more complicated, code to place in the file, to get automatical Typeset via [Typeset > TeX and DVI], without me selecting it :)<br><br>Best Regards,<br>Roussanka</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 1, 2020 at 4:28 AM <<a href="mailto:koch@math.uoregon.edu" target="_blank">koch@math.uoregon.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"><div style="word-wrap:break-word;line-break:after-white-space">Roussanka,<div><br></div><div>Yes. The easy way to do that is to go to the Macro menu and select the item "Program". It will provide a list of available programs or engines. If you choose one, the macro will automatically insert the appropriate code at the top of your source.<div>But this is also a useful step if you don't quite know the appropriate xxxx.</div><div><br></div><div>Notice that several choices mention Latex: latex, pdflatex, XeLaTeX, and LuaLaTeX. All of these are self explanatory except "latex" and "latex" is the xxxx you are after.</div><div><br></div><div>Dick Koch</div><div><br><div><br><blockquote type="cite"><div>On Oct 31, 2020, at 8:15 PM, Roussanka Loukanova <<a href="mailto:rl.stpuu@gmail.com" target="_blank">rl.stpuu@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><div>Dear All,</div><div><br></div><div>I'm typesetting some files with drawings that need</div><div>latex + dvips + ps2pdf</div><div><br></div><div>TeXShop does finely, via selecting from the menu:</div><div>Typeset > TeX and DVI </div><div>and then run Typeset</div><div><br></div><div>Is there some code that I can place at the beginning of a file.tex to get TeXShop recognize the Typeset with LaTeX engine [TeX and DVI]?</div><div>It seems to me that there is something like:<br></div><div><br></div><div>%!TEX program = xxxx<br></div><div><br></div></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>Best Regards,<br>Roussanka<br></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br></div></div></div>----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9_QcjBY$" rel="noreferrer" target="_blank">http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAoKC3Lf0$" rel="noreferrer" target="_blank">https://sites.esm.psu.edu/~gray/tex/</a><br>
List Archives: <a href="https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAwj1Sr9Y$" rel="noreferrer" target="_blank">http://dir.gmane.org/gmane.comp.tex.macosx</a><br>
<a href="https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAu_HdLLA$" rel="noreferrer" target="_blank">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br>
TeX on Mac OS X Website: <a href="https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDATuLnLRo$" rel="noreferrer" target="_blank">http://mactex-wiki.tug.org/</a><br>
List Info: <a href="https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9udXDQ0$" rel="noreferrer" target="_blank">https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
</blockquote></div>
----------- Please Consult the Following Before Posting -----------<br>TeX FAQ: <a href="https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9_QcjBY$" target="_blank">https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9_QcjBY$</a> <br>List Reminders and Etiquette: <a href="https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAoKC3Lf0$" target="_blank">https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAoKC3Lf0$</a> <br>List Archives: <a href="https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAwj1Sr9Y$" target="_blank">https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAwj1Sr9Y$</a> <br> <a href="https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAu_HdLLA$" target="_blank">https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAu_HdLLA$</a> <br>TeX on Mac OS X Website: <a href="https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDATuLnLRo$" target="_blank">https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDATuLnLRo$</a> <br>List Info: <a href="https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9udXDQ0$" target="_blank">https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9udXDQ0$</a> <br></div></blockquote></div><br></div></div>----------- 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></div></div>