Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Miktex 2.8 xetex pstricks issue

175 views
Skip to first unread message

Sebastian Szwarc

unread,
Mar 18, 2010, 7:27:12 AM3/18/10
to
Hi,
I cannot use xetex and pstricks on miktex 2.8 with texworks as well as
in TL2009 on macbookpro.
trying to compile this:
\documentclass{article}
\usepackage{pstricks}
\begin{document}
test
\end{document}

I got:
This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8)
entering extended mode
("C:\Documents and Settings\Seba\Pulpit\xeps.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french,
polish, russi
an, loaded.
(D:\Miktex\tex\latex\base\article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(D:\Miktex\tex\latex\base\size10.clo))
(D:\Miktex\tex\latex\pstricks\pstricks.sty
(D:\Miktex\tex\generic\pstricks\pstricks.tex
(D:\Miktex\tex\generic\xkeyval\pst-xkey.tex
(D:\Miktex\tex\latex\xkeyval\xkeyval.sty
(D:\Miktex\tex\generic\xkeyval\xkeyval.tex
(D:\Miktex\tex\generic\xkeyval\keyval.tex))))
(D:\Miktex\tex\generic\pstricks\pst-fp.tex `pst-fp' v0.05, 2010/01/17 (hv))
`PSTricks' v2.02 <2010/02/23> (tvz)
(D:\Miktex\tex\xelatex\xetex-pstricks\pstricks.con
! I can't find file `xdvipdfmx.cfg'.
l.6 \input xdvipdfmx.cfg

as far as I can tell there is no xdvipdfmx.cfg nor xdvipfmx.con on my
disk. Trying to fins solution on internet but found nothing.

Any help?

Herbert Voss

unread,
Mar 18, 2010, 7:52:33 AM3/18/10
to

I suppose it is missing in MiKTeX and TeXLive, too. You can get it
from CTAN
http://mirror.ctan.org/graphics/pstricks/base/config/xdvipdfmx.cfg

save it in the directory of "kpsewhich pstricks.con" and
update the filename data base

Herbert

Ulrike Fischer

unread,
Mar 18, 2010, 8:52:12 AM3/18/10
to
Am Thu, 18 Mar 2010 12:52:33 +0100 schrieb Herbert Voss:

> Am 18.03.2010 12:27, schrieb Sebastian Szwarc:
>> Hi,
>> I cannot use xetex and pstricks on miktex 2.8 with texworks as well as
>> in TL2009 on macbookpro.

>> I got:


>> ! I can't find file `xdvipdfmx.cfg'.
>> l.6 \input xdvipdfmx.cfg

> I suppose it is missing in MiKTeX and TeXLive, too. You can get it


> from CTAN
> http://mirror.ctan.org/graphics/pstricks/base/config/xdvipdfmx.cfg
>
> save it in the directory of "kpsewhich pstricks.con" and
> update the filename data base

I already made a miktex bug report about the missing file some days
ago.

But I wondered a bit: Why did you choose the extension .cfg, why not
xdvipdfmx.con? cfg is an extension used by a lot of packages and
binaries for configurations.


--
Ulrike Fischer

Sebastian Szwarc

unread,
Mar 18, 2010, 8:34:40 PM3/18/10
to

> I already made a miktex bug report about the missing file some days
> ago.
>
> But I wondered a bit: Why did you choose the extension .cfg, why not
> xdvipdfmx.con? cfg is an extension used by a lot of packages and
> binaries for configurations.
>
>

Herbert solution provided to me worked on Miktex and macos texlive with
pdflatex.
Xelatex on Macos however with the same solution applied still no efect.
It looks driver is recognized but in the log I got
"Image format convertion for PSTricks failed"

Regards
Sebastian

Herbert Voss

unread,
Mar 19, 2010, 4:09:51 AM3/19/10
to
Am 19.03.2010 01:34, schrieb Sebastian Szwarc:
> Xelatex on Macos however with the same solution applied still no efect.
> It looks driver is recognized but in the log I got
> "Image format convertion for PSTricks failed"

please send the log file

Herbert

Ulrike Fischer

unread,
Mar 19, 2010, 4:13:16 AM3/19/10
to
Am Fri, 19 Mar 2010 01:34:40 +0100 schrieb Sebastian Szwarc:

> Xelatex on Macos however with the same solution applied still no efect.
> It looks driver is recognized but in the log I got
> "Image format convertion for PSTricks failed"

Perhaps the xelatex is older, or isn't using xdvipdmx as driver.


--
Ulrike Fischer

Sebastian Szwarc

unread,
Mar 19, 2010, 6:57:11 AM3/19/10
to
Herbert Voss pisze:

ok,the code is simply
\documentclass[a4paper,12pt]{article}
\usepackage{xltxtra,xunicode,fontspec}
\usepackage{pstricks}
\begin{document}
rysunek
\begin{pspicture}(6,6)
%% Triangle in red:
\psline[linecolor=red](1,1)(5,1)(1,4)(1,1)
%% Bezier curve in green:
\pscurve[linecolor=green,linewidth=2pt,%
showpoints=true](5,5)(3,2)(4,4)(2,3)
%% Circle in blue with radius 1:
\pscircle[linecolor=blue,linestyle=dashed](3,2.5){1}
\end{pspicture}
\end{document}

and in attachment the result with log file

Regards
Sebastian

tespst.pdf
tespst.log
0 new messages