Using overleaf, I've written a paper which uses the package pst-poker. XeLaTeX compiles it without errors, however pdfLatex compilation is problematic.
How can I use the package with pdfLatex?
Using overleaf, I've written a paper which uses the package pst-poker. XeLaTeX compiles it without errors, however pdfLatex compilation is problematic.
How can I use the package with pdfLatex?
The pst-poker package (and all packages with the pst- prefix) uses PSTricks and therefore must be compiled with latex + dvips or xelatex. They will not work with pdflatex or lualatex.
For more details on why this is the case see:
pst-pokeruses PSTricks which requires compilation with eitherlatex + dvipsor withxelatex. – Alan Munn Dec 09 '19 at 13:51shell-escapeoption? If yes then you can run it withpdflatex– user187802 Dec 09 '19 at 16:04