[OS X TeX] TeX and DVI via ps2pdf
Roussanka Loukanova
rl.stpuu at gmail.com
Sun Nov 1 05:30:36 CET 2020
Thanks - it's wonderful!
This code does exactly what I want! I've tried it several times with
several files, by trashing all the output latex-ing files.
Indeed, the name "latex" doesn't reveal the job behind it. I just had
missed to try it because the value in [% !TEX TS-program = latex] doesn't
mention the dvi / ps2pdf, and I see no check mark at Typeset > TeX and DVI. 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.
Dick, your work is great, wonderful!
Best Regards,
Roussanka
On Sun, Nov 1, 2020 at 5:04 AM koch at uoregon.edu <koch at uoregon.edu> wrote:
> No. The command does NOT reset the typeset menu. It just typesets the
> correct way.
>
> With that line, typeset and see what happens.
>
> Dick
>
> On Oct 31, 2020, at 9:00 PM, Roussanka Loukanova <rl.stpuu at gmail.com>
> wrote:
>
> Hi Dick,
>
> Thanks! Yes, by the steps:
> TeXShop > Macros > Program : latex
>
> TeXShop inserted in the file:
>
> % !TEX TS-program = latex
>
>
> I still need to select:
>
> Typeset > TeX and DVI
> and then run Typeset
>
> 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 :)
>
> Best Regards,
> Roussanka
>
> On Sun, Nov 1, 2020 at 4:28 AM <koch at math.uoregon.edu> wrote:
>
>> Roussanka,
>>
>> 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.
>> But this is also a useful step if you don't quite know the appropriate
>> xxxx.
>>
>> 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.
>>
>> Dick Koch
>>
>>
>> On Oct 31, 2020, at 8:15 PM, Roussanka Loukanova <rl.stpuu at gmail.com>
>> wrote:
>>
>> Dear All,
>>
>> I'm typesetting some files with drawings that need
>> latex + dvips + ps2pdf
>>
>> TeXShop does finely, via selecting from the menu:
>> Typeset > TeX and DVI
>> and then run Typeset
>>
>> 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]?
>> It seems to me that there is something like:
>>
>> %!TEX program = xxxx
>>
>> Best Regards,
>> Roussanka
>>
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> <https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9_QcjBY$>
>> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
>> <https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAoKC3Lf0$>
>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>> <https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAwj1Sr9Y$>
>> https://email.esm.psu.edu/pipermail/macosx-tex/
>> <https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAu_HdLLA$>
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> <https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDATuLnLRo$>
>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>> <https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9udXDQ0$>
>>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ:
> https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9_QcjBY$
> List Reminders and Etiquette:
> https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAoKC3Lf0$
> List Archives:
> https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAwj1Sr9Y$
>
> https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDAu_HdLLA$
> TeX on Mac OS X Website:
> https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDATuLnLRo$
> List Info:
> https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!C5qS4YX3!R8sjtm5cSldZOT0uqF92I7y6gDX29sIdTsHD-9MBl_E0Ok7--KdtoQDA9udXDQ0$
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
> https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201101/64e83fea/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.