[pstricks] xelatex and pstricks

Poul Riis poul.riis at skolekom.dk
Wed Apr 24 07:57:44 CEST 2019


When using the babyloniannum package one has to compile with xelatex.
Some time ago, this worked perfectly also when I included some pstricks
but that's not the case any more - I get empty figures!?
I tried several versions of the compiler command, for instance
xelatex.exe -shell-escape -output-driver="xdvipdfmx -q -E -V 7" -synctex=1
-interaction=nonstopmode

I also tried to include
\usepackage{auto-pst-pdf}
but that doesn't help either.

Below you can find a minimal example.


What can I do to make it work again?


Poul Riis



\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[x11names]{xcolor}
\usepackage{pstricks-add}
\usepackage{babyloniannum}
\renewcommand{\babylonianfont}{Santakku.ttf}
\usepackage[top=2cm,bottom=2.5cm,left=2.5cm,right=1.5cm]{geometry}
\usepackage{auto-pst-pdf}


\begin{document}
\section*{Babyloniannum and pstricks}
Some babylonian numbers:\\
$\babyloniannum{1}$, $\babyloniannum{10}$, $\babyloniannum{100}$\\
Some pstricks:\\
\begin{pspicture}(0,0)(5,5)%
\psaxes{->}(0,0)(5,5)
\psframe(0,0)(5,5)\psline[linecolor=Red1](0,0)(5,5)
\end{pspicture}
\end{document}





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20190424/081e0717/attachment.html>


More information about the PSTricks mailing list