TransWikia.com

miniltx color conflict

TeX - LaTeX Asked by Peter Renz on January 5, 2021

I am using Plain TeX for a document that has illustrations and uses colored type. I find that when I load both miniltx and color I get an error message on the console. Looking at the files where the error occurs I see that I am way out of my depth. Can someone suggest how to overcome this problem? Here is my source code and the console message

Source Code

input color


hrule


input miniltx

defGin@driver{dvips.def}
input graphicx.sty

resetatcatcode


centerline{ includegraphics[width=2.5in]{Klein125}}
kern -20pt
centerline{Figure 125}
hrule

bye

Console message

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdftex)
 restricted write18 enabled.
entering extended mode
(./Klein in TeX copy.tex
(/usr/local/texlive/2015/texmf-dist/tex/plain/graphics-pln/color.tex
(/usr/local/texlive/2015/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2015/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/local/texlive/2015/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)))) (/usr/local/texlive/2015/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty
/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty:34: Use of 
@ doesn't match its definition.
l.34 @m
        akeother"%
? 
Process aborted

One Answer

The posted code works without error in texlive 2020

enter image description here

input color


hrule


input miniltx

defGin@driver{dvips.def}
input graphicx.sty

resetatcatcode


centerline{ includegraphics[width=2.5in]{example-image}}
kern -20pt
centerline{Figure 125}
hrule

bye

Answered by David Carlisle on January 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP