# figures in plain TeX

16 messages
Open this post in threaded view
|

## figures in plain TeX

 I am baffled. Since I joined the Mac OS TeX community, I was given a method for processing pictures in plain TeX, which has been working seamlessly—until today. I had transitioned from TeXtures, which used the \special{…} command for inserting pictures, to a more transparent, and more universally accepted method.In particular, I used\input miniltx.texand next, something like\RequirePackage{graphicx} and then I inserted pictures using, for example\includegraphics[height=60mm]{RubiKo}Today, to my surprise, I found the method is not working anymore.As soon as the \input miniltx.tex is typeset, I get an error. The console displays:This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdftex) \write18 enabled.entering extended mode(./PicturesInPlainTex.tex(/usr/local/texlive/2016/texmf-dist/tex/plain/graphics-pln/miniltx.tex)(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def:1569: Undefined control sequence.l.1569      \@ifpackageloaded                             {pst-pdf}%          hv 20160630? Process abortedDoes anyone have an advice?Thanks,                Juan----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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
Open this post in threaded view
|

## Re: figures in plain TeX

 > On Jul 13, 2016, at 4:28 PM, juan tolosa <[hidden email]> wrote: > > I am baffled. Since I joined the Mac OS TeX community, I was given a method for processing pictures in plain TeX, which has been working seamlessly—until today. > I had transitioned from TeXtures, which used the \special{…} command for inserting pictures, to a more transparent, and more universally accepted method. > > In particular, I used > \input miniltx.tex > and next, something like > \RequirePackage{graphicx} > and then I inserted pictures using, for example > \includegraphics[height=60mm]{RubiKo} > > Today, to my surprise, I found the method is not working anymore. > > As soon as the \input miniltx.tex is typeset, I get an error. The console displays: > > This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdftex) >  \write18 enabled. > entering extended mode > (./PicturesInPlainTex.tex > (/usr/local/texlive/2016/texmf-dist/tex/plain/graphics-pln/miniltx.tex) > (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty > (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty) > (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty > (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty) > (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) > (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def > (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty) > (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty) > /usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def:1569: Unde > fined control sequence. > l.1569      \@ifpackageloaded >                              {pst-pdf}%          hv 20160630 > ? > Process aborted > > Does anyone have an advice? > Thanks, >                 Juan Howdy, I can confirm the problem. I'd guess that some other changes involved with the recent graphicx package has caused this and miniltx wasn't updated. Please get in contact with David Carlisle at [hidden email] with your example. Good Luck, Herb Schulz (herbs at wideopenwest dot com) ----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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
Open this post in threaded view
|

## Re: figures in plain TeX

Open this post in threaded view
|

## Re: figures in plain TeX

Open this post in threaded view
|

## Re: figures in plain TeX

Open this post in threaded view
|

## Re: figures in plain TeX

 In reply to this post by juan tolosa On , at 2016 Jul 13,9:56 PM, juan tolosa wrote:I have been considering more and more the switch from plain TeX to LaTeX. The problem is, I have scores (a lot!) of files in plain TeX that I have been produced over the years, by me, and/or shamelessly borrowed from more skilled programmers; an example: code that produces a set of problems with hints and answers, so that the hints and the answers are afterwards printed separately. Even more basic things, like matrix commands (\pmatrix{…} and the like) are not recognized by LaTeX, and are not easily translatable. So, I am still struggling with plain TeX.1. If I can handle LaTeX, which I do with a lot of help, anyone can.2. Re. "set of problems with hints and answers, so that the hints and the answers are afterwards printed separately" By now, there are quite a number of packages out there that do that sort of things.Regards--schremmer----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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
Open this post in threaded view
|

## Re: figures in plain TeX

 In reply to this post by Herbert Schulz Thank you, Herb. I have e-mailed David Carlisle, hope he has some advice. Juan > On Jul 13, 2016, at 5:48 PM, Herbert Schulz <[hidden email]> wrote: > >> On Jul 13, 2016, at 4:28 PM, juan tolosa <[hidden email]> wrote: >> >> I am baffled. Since I joined the Mac OS TeX community, I was given a method for processing pictures in plain TeX, which has been working seamlessly—until today. >> I had transitioned from TeXtures, which used the \special{…} command for inserting pictures, to a more transparent, and more universally accepted method. >> >> In particular, I used >> \input miniltx.tex >> and next, something like >> \RequirePackage{graphicx} >> and then I inserted pictures using, for example >> \includegraphics[height=60mm]{RubiKo} >> >> Today, to my surprise, I found the method is not working anymore. >> >> As soon as the \input miniltx.tex is typeset, I get an error. The console displays: >> >> This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdftex) >> \write18 enabled. >> entering extended mode >> (./PicturesInPlainTex.tex >> (/usr/local/texlive/2016/texmf-dist/tex/plain/graphics-pln/miniltx.tex) >> (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty >> (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty) >> (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty >> (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty) >> (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) >> (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def >> (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty) >> (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty) >> /usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def:1569: Unde >> fined control sequence. >> l.1569      \@ifpackageloaded >>                             {pst-pdf}%          hv 20160630 >> ? >> Process aborted >> >> Does anyone have an advice? >> Thanks, >>                Juan > > Howdy, > > I can confirm the problem. I'd guess that some other changes involved with the recent graphicx package has caused this and miniltx wasn't updated. Please get in contact with David Carlisle at [hidden email] with your example. > > Good Luck, > > Herb Schulz > (herbs at wideopenwest dot com) > > > > > > > > ----------- Please Consult the Following Before Posting ----------- > TeX FAQ: http://www.tex.ac.uk/faq> List Reminders and Etiquette: https://www.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----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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
Open this post in threaded view
|

## Re: figures in plain TeX

 In reply to this post by juan tolosa On , at 2016 Jul 13,10:05 PM, juan tolosa wrote:Unfortunately, there seems to be no pdftex.def file, neither in the older distribution file (2015) nor in the present one (2016)     :(How far back do you need? 2002 old enough?Regards--schremmer----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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
Open this post in threaded view
|

## Re: figures in plain TeX

 In reply to this post by Alain Schremmer-2 1. Thanks, I’ll definitely try. Sometime.2. I know. I even found one of these for one of my students, who is smarter than me and has been using LaTeX all the time. The only problem is doing the translation from one package to another.Best,               JuanOn Jul 13, 2016, at 10:07 PM, Alain Schremmer <[hidden email]> wrote:On , at 2016 Jul 13,9:56 PM, juan tolosa wrote:I have been considering more and more the switch from plain TeX to LaTeX. The problem is, I have scores (a lot!) of files in plain TeX that I have been produced over the years, by me, and/or shamelessly borrowed from more skilled programmers; an example: code that produces a set of problems with hints and answers, so that the hints and the answers are afterwards printed separately. Even more basic things, like matrix commands (\pmatrix{…} and the like) are not recognized by LaTeX, and are not easily translatable. So, I am still struggling with plain TeX.1. If I can handle LaTeX, which I do with a lot of help, anyone can.2. Re. "set of problems with hints and answers, so that the hints and the answers are afterwards printed separately" By now, there are quite a number of packages out there that do that sort of things.Regards--schremmer----------- Please Consult the Following Before Posting -----------TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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
Open this post in threaded view
|

## Re: figures in plain TeX

 In reply to this post by Alain Schremmer-2 Maybe. What I find intriguing is, pictures worked fine with the 2015 package, although the file you mention does not seem to be there.Best,             JuanOn Jul 13, 2016, at 10:09 PM, Alain Schremmer <[hidden email]> wrote:On , at 2016 Jul 13,10:05 PM, juan tolosa wrote:Unfortunately, there seems to be no pdftex.def file, neither in the older distribution file (2015) nor in the present one (2016)     :(How far back do you need? 2002 old enough?Regards--schremmer----------- Please Consult the Following Before Posting -----------TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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
Open this post in threaded view
|

## Re: figures in plain TeX

 In reply to this post by juan tolosa On 13/07/16 21:05, juan tolosa wrote: > Unfortunately, there seems to be no pdftex.def file, neither in the > older distribution file (2015) nor in the present one (2016)     :( /usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def Best Axel ----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faqList Reminders and Etiquette: https://www.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