Running texlive 2010 on a Mac running OS X 10.5.8 to update some old documents<br>(which were originally processed fine with texlive 2007). But tex fails in running<br>them in the new version. The files use a format built on plain TeX.<br>
<br>I have reduce the problem to the following, using plain TeX only<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"> \input pstricks<br>
\input graphicx<br><br> \psset{unit=1pc}<br><br> \bye<br></blockquote><br><br>This file produces the following error message:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
! xkeyval error: [ undefined.<br>\XKV@err #1->\errmessage {xkeyval error: #1}<br> <br>\KV@split ...x \KV@errx {\@tempa \space undefined}<br> \else \ifx \@empty #3\@emp...<br>
<br>\KV@do ...lax #1\empty \else \KV@split #1==\relax <br> \expandafter \KV@do \fi <br>\setkeys ...{KV@#1@}\let \@tempc \relax \KV@do #2,<br> \relax ,<br>
\pss@t [#1]#2->\setkeys +[<br> psset]{#1}{#2}\ignorespaces <br><*> \psset{unit=1pc}<br></blockquote> <br><br>Note that all this worked in the earlier texlive version.<br>
Note also that if I reverse the order of inputs for pstricks and graphicx,<br>the bug is even weirder:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
Forbidden control sequence found while scanning definition of \XKV@d@f@ne@b@olkey.<br><br>--- TeX said ---<br><inserted text> <br> }<br><to be read again> <br> \newif <br>l.448 \expandafter\newif<br>
\csname if#3\endcsname<br></blockquote><br><br>In the original order, any pstricks information generates errors.<br><br>I haven't had a chance to go deep into the code to see what is happening<br>
because I'm preparing my lecture for tomorrow. :) Am I missing something<br>about the update to pstricks?<br><br>Either way, such a drastic change looks like a bug to me. <br><br>Any help would be appreciated including,<br>
if appropriate, workarounds. The best option I'm seeing at the moment is to reactivate texlive-2007<br>because I use the pstricks and graphicx combination a lot! But I'd rather not do that if it can<br>be helped.<br>
<br>Thanks.<br>