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?
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
> 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
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
please send the log file
Herbert
> 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
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