[XeTeX] How to load pstricks?

Sven Siegmund sven.siegmund at gmail.com
Tue Feb 1 12:27:58 CET 2011


Hello,

I use XeTeX, Version 3.1415926-2.2-0.9997.4 (MiKTeX 2.9) on Windows XP
SP3 and get an error when trying to load the pstricks package. This
minimal example

\documentclass{article}
\usepackage{pstricks}
\begin{document}
\end{document}

produces:
-------------
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Program Files\MiKTeX 2.9\tex\latex\pstricks\pstricks.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\pstricks\pstricks.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\pst-xkey.tex"
("C:\Program Files\MiKTeX 2.9\tex\latex\xkeyval\xkeyval.sty"
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\xkeyval.tex"
("C:\Program Files\MiKTeX 2.9\tex\generic\xkeyval\keyval.tex"))))
("C:\Program Files\MiKTeX 2.9\tex\generic\pstricks\pst-fp.tex"
`pst-fp' v0.05, 2010/01/17 (hv))
`PSTricks' v2.15  <2010/11/25> (tvz)
("C:\Program Files\MiKTeX 2.9\tex\xelatex\xetex-pstricks\pstricks.con"
! I can't find file `xdvipdfmx.cfg'.
l.6 \input xdvipdfmx.cfg

Please type another input file name:
--------

I have found that there was an issue with this in MiKTeX 2.8 and that
is was just a strange ending (*.cfg vs. *.con) or something like that
(http://www.tug.org/pipermail/tex-live/2010-February/024812.html,
http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2010-03/msg00619.html)
and a small edit in the appropriate files could fix this.

However, this no longer seems to be the case.My installment of MiKTeX
has c:\Program Files\MiKTeX 2.9\tex\xetex\xetex-pstricks\pstricks.con
which is a wrapper to deal exactly with this kind of problem. So I
don't understand why am I getting this error.

Cay you help me with that?

TIA,

S.


More information about the XeTeX mailing list