Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use this code for generating a graphic:

\documentclass[dvips]{article}
\usepackage{pst-all}
\usepackage{pst-3dplot}
\usepackage{pst-eps}
\usepackage{pst-dbicons}
\begin{document}
\pagestyle{empty}
\begin{TeXtoEPS}
\fontfamily{phv}\selectfont
\psset{xunit=1cm,yunit=1cm,runit=1cm}
\begin{pspicture}(11,11)
    \psframe[linewidth=2pt,framearc=.3,fillstyle=none](0.5,0.5)(10.5,10.5)

    \rput(4,10.5){\psframebox*{\Large Datenbanksystem}}

    \psframe[fillstyle=solid, fillcolor=lightgray](1.5,6)(9.5,9)

    \rput(5.5,7.4){\psframebox*[fillcolor=lightgray]{\Large Datenbankmanagementsystem}}

    \rput(5.5,3.25){\database{3.5cm}{2cm}[fillstyle=solid, fillcolor=gray]{Datenbanken}}

\end{pspicture}

\end{TeXtoEPS}

\end{document}

when I convert it with dvips Grafik1.dvi -E -o Grafik1.eps

I expect a graphic with 1:1 ratio. But it added some white Border to the left hand side:

Image with white Border

Any idea what happened and what I could do to fix this?

share|improve this question
    
What if you put a \noindent in front of your \begin{pspicture}? –  JLDiaz Aug 14 '12 at 14:53
    
Doesn't change anything –  PascalTurbo Aug 14 '12 at 15:39

1 Answer 1

up vote 2 down vote accepted

I'm not sure what's wrong with dvips -E, but I got a much better result with

dvips Grafik1.dvi -o Grafik1.ps
ps2eps --ignoreBB Grafik1.ps
share|improve this answer
    
This workaround solves the Problem –  PascalTurbo Aug 14 '12 at 15:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.