[pstricks] DIA output and scaling (again)

Dan Bolser dmb at mrc-dunn.cam.ac.uk
Fri Jun 10 10:21:04 CEST 2005


On Fri, 10 Jun 2005, Herbert Voss wrote:

>Dan Bolser wrote:
>
>
>\listfiles
>
>> \documentclass{report}
>> 
>> \usepackage{ pstricks }
>> 
>> \usepackage{ graphicx }
>> 
>> \begin{document}
>> 
>> \scalebox{0.5}{
>>   \input{1d4x-1}
>> }
>> 
>> \end{document}
>
>send the filelist and an example dia file. However,

The same 'mintest' file from the previous thread gives the results I am
seeing. Here it is repeated...


\listfiles

\documentclass{minimal}

\usepackage{pstricks,lscape}

\begin{document}
\begin{pspicture}(4,1)
\scalebox{4 1}{Test}
\end{pspicture}
\end{document}

$ latex mintest.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./mintest.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german,
ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/usr/share/texmf/tex/latex/pstricks/pstricks.sty
(/usr/share/texmf/tex/generic/pstricks/pstricks.tex
`PSTricks' v97 patch 14  <1999/12/23> (tvz)
(/usr/share/texmf/tex/generic/pstricks/pstricks.con)))
(/usr/share/texmf/tex/latex/graphics/lscape.sty
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def))) (./mintest.aux)
! Illegal unit of measure (pt inserted).
<to be read again>
                   1
l.9 \scalebox{4 1}{Test}
                         
?
! Missing = inserted for \ifdim.
<to be read again>
                   1
l.9 \scalebox{4 1}{Test}
                         
?
! Illegal unit of measure (pt inserted).
<to be read again>
                   1
l.9 \scalebox{4 1}{Test}
                         
?
! Illegal unit of measure (pt inserted).
<to be read again>
                   1
l.9 \scalebox{4 1}{Test}
                         
?
! Missing = inserted for \ifdim.
<to be read again>
                   1
l.9 \scalebox{4 1}{Test}
                         
?
! Missing number, treated as zero.
<to be read again>
                   \box
l.9 \scalebox{4 1}{Test}
                         
?
! Illegal unit of measure (pt inserted).
<to be read again>
                   \box
l.9 \scalebox{4 1}{Test}
                         
?
[1] (./mintest.aux)
 
 *File List*
 minimal.cls    2001/05/25 Standard LaTeX minimal class
pstricks.sty    1997/03/25 package wrapper for PSTricks pstricks.tex
  lscape.sty    2000/10/22 v3.01 Landscape Pages (DPC)
graphics.sty    2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
 ***********
 
 )
Output written on mintest.dvi (1 page, 444 bytes).
Transcript written on mintest.log.




>it is a problem of DIA and should be solved by DIA

Yeah, I asked this question first on the DIA mailing list, but the reply
(which I can totally understand) is that they are not expert at pstricks.
It seems as though DIA is always in need of more expert developers (not
because it is a bad product! - Quite the opposite :)

Cheers,
Dan.

>
>Herbert
>
>_______________________________________________
>pstricks mailing list
>pstricks at tug.org
>http://tug.org/mailman/listinfo/pstricks
>




More information about the PSTricks mailing list