GeneralProblems using pdfpages and pstricks

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Matl1982
Posts: 2
Joined: Mon Oct 20, 2008 6:39 pm

Problems using pdfpages and pstricks

Post by Matl1982 »

Hello Community,

I have a serious problem. I use pstricks (pst-circ) to define my circuits directly in latex. Therefore I had to change to go the way via latex->dvips->ps2pdf

Now I have a few multipage ps/pdf-Files which I need to hang on the end of my work. I know I can do that with pdftk but I would like to do that in Latex because I need the entrys in the TOC.
But pdfpages does only work with pdflatex, but pstricks doesn't.

What can I do to get this working?

Thanks,

Martin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

Problems using pdfpages and pstricks

Post by Stefan Kottwitz »

Hi Martin,

welcome to the board!
You could try pdftricks, that package helps to use pstricks together with pdfLaTeX.

Stefan
LaTeX.org admin
Matl1982
Posts: 2
Joined: Mon Oct 20, 2008 6:39 pm

Re: Problems using pdfpages and pstricks

Post by Matl1982 »

Ok,

that did not work with that "hack". So I decided to make for every pstricks a texfile and to make that with a Makefile. But how does latex make ONLY the pspicture in one file and the size as great as the pspicture? Without any white borders around?

Thanks,

Martin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

Problems using pdfpages and pstricks

Post by Stefan Kottwitz »

Hi Martin,

to trim the size of the resulting pdf files to fit exactly the picture size you could use pdfcrop, this tool would remove the white margins.

Stefan
LaTeX.org admin
Post Reply