Error using \usepackage{color} and supp-pdf together

Rodolfo Medina <[email protected]>
Newsgroups gmane.comp.tex.pdftex
Message-ID <[email protected]>
Hi all.

The following test.tex file:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input eplain.tex
\beginpackages
  \usepackage{color}
\endpackages

\input supp-pdf

hello

\end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

produces the following error:

$ pdftex test
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdftex)
 restricted \write18 enabled.
entering extended mode
(./test.tex (/home/rodolfo/Downloads/eplain-3.7/tex/eplain/eplain.tex)
(/usr/share/texlive/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texmf/tex/context/base/supp-pdf.tex
(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
! Incomplete \ifx; all text was ignored after line 2023.
<inserted text> 
                \fi 
<to be read again> 
                   \newcount 
l.2023 ...\makeMPintoPDFobject\undefined \newcount
                                                  \makeMPintoPDFobject \fi
? 



Please help.

Thanks in advance,

Rodolfo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.