[Ipe-discuss] Problem with text in the picture.

Jacek Sobczak jsobczak at op.pl
Sun Oct 17 13:18:53 CEST 2004


Hello,

First congratulations for such a beautiful piece of software !!!
My pictures were never that pretty. They would be even prettier if I
could include LaTeX text in them :-).

The following happens - I can generate pdf and eps files as long as
there is no text in them. It is enough to include just one text element
and it does not work anymore. When I say then "Run LaTeX" or "Save as
PDF" ipe starts pdflatex and freezes with 100% CPU usage.


What can I do about it ? Details follow ...

I have compiled ipe without KDE, with qt 3.3.3 and freetype 2.1.7 if it
matters.

Here is an example ipe xml file that causes described effect - a simple
drawing consisting of a rectangle with my name inside:

---------------- start "jacek.xml" ---------------------------
<ipe version="60022" creator="Ipe 6.0 preview 22" media="0 0 595 842">
<info created="D:20041017124838" modified="D:20041017125508"
bbox="cropbox"/>
<page gridsize="4">
<layer name="alpha"/>
<view layers="alpha" active="alpha"/>
<path layer="alpha" stroke="black" pen="normal">
0 0 m
80 0 l
80 32 l
0 32 l
h
</path>
<text stroke="black" pos="20 12" type="label" valign="bottom"
size="normal">Jacek</text>
</page>
</ipe>
------------ end "jacek.xml" -------------------------

And then files from the "~/.ipe/latexrun" directory:
---------- start "text.tex" ---------------------------
\pdfcompresslevel0
\nonstopmode
\documentclass{article}
\newcommand{\Ipechar}[1]{\unichar{#1}}
\usepackage{color}
\definecolor{red}{rgb}{1,0,0}
\definecolor{green}{rgb}{0,1,0}
\definecolor{blue}{rgb}{0,0,1}
\definecolor{yellow}{rgb}{1,1,0}
\definecolor{gray1}{gray}{0.125}
\definecolor{gray2}{gray}{0.25}
\definecolor{gray3}{gray}{0.375}
\definecolor{gray4}{gray}{0.5}
\definecolor{gray5}{gray}{0.625}
\definecolor{gray6}{gray}{0.75}
\definecolor{gray7}{gray}{0.875}


\pagestyle{empty}
\newcount\bigpoint\dimen0=0.01bp\bigpoint=\dimen0
\begin{document}
\begin{picture}(500,500)
\setbox0=\hbox{\normalsize
\color[rgb]{0,0,0}%
Jacek}
\count0=\dp0\divide\count0 by \bigpoint
\pdfxform attr{/IpeId /0824ab28 /IpeStretch [ 1 1 ]  /IpeDepth \the
\count0}0\put(0,0){\pdfrefxform\pdflastxform}
\end{picture}
\end{document}
-------------------- end "text.tex" -----------------------

-------------------- start "text.log" ---------------------
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) (format=pdflatex
2004.7.13)  17 OCT 2004 12:55
**text.tex
(./text.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german,
ngerman, b
ahasa, basque, croatian, czech, danish, dutch, finnish, greek, italian,
latin, 
magyar, norsk, norsk, norsk, polish, portuges, romanian, russian,
slovak, slove
ne, spanish, turkish, ukrainian, nohyphenation, loaded.

(/home/users/sopel/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf/tex/latex/graphics/color.sty
Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC)

(/usr/share/texmf/tex/latex/config/color.cfg
File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 125.

(/usr/share/texmf/tex/latex/graphics/pdftex.def
File: pdftex.def 2002/06/19 v0.03k graphics/color for pdftex
\Gread at gobject=\count87
))
Package color Info: Redefining color red on input line 6.
Package color Info: Redefining color green on input line 7.
Package color Info: Redefining color blue on input line 8.
Package color Info: Redefining color yellow on input line 9.
\bigpoint=\count88
 (./text.aux)
\openout1 = `text.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 21.
LaTeX Font Info:    ... okay on input line 21.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 21.
LaTeX Font Info:    ... okay on input line 21.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 21.
LaTeX Font Info:    ... okay on input line 21.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 21.
LaTeX Font Info:    ... okay on input line 21.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 21.
LaTeX Font Info:    ... okay on input line 21.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 21.
LaTeX Font Info:    ... okay on input line 21.

Overfull \hbox (170.0pt too wide) in paragraph at lines 28--29
[][] 
 []

[1

{/usr/share/texmf/dvips/config/pdftex.map}] (./text.aux) ) 
Here is how much of TeX's memory you used:
 402 strings out of 95136
 4405 string characters out of 1179213
 49996 words of memory out of 1000001
 3525 multiletter control sequences out of 10000+50000
 3640 words of font info for 14 fonts, out of 500000 for 1000
 146 hyphenation exceptions out of 1000
 23i,5n,17p,184b,159s stack positions out of
1500i,500n,5000p,200000b,5000s
 9 PDF objects out of 300000
 0 named destinations out of 131072
 6 words of extra memory for PDF output out of 65536
{/usr/share/texmf/dvi
ps/tetex/f7b6d320.enc}</usr/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on text.pdf (1 page, 6501 bytes).
------------------------- end "text.log" ------------------------

Cheers
Jacek




More information about the Ipe-discuss mailing list