[texhax] shapepar

dch david at carter-hitchin.clara.co.uk
Fri Feb 10 00:58:13 CET 2006


Hi,

Sorry about my continual questions.  One day I might be knowledgable 
enough to help some other poor soul on this list.  Forgive me also if 
this is a dumb question, but I'm not very expert at TeX yet.

I'm trying to get shapepar working, and have just tried the the 
canada.shape example. (see at the end of my mail for the example text - 
taken from the README) and this is the output I got with LaTeX:

[david at localhost tex]$ latex canada.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./canada.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/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/misc/geometry.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/config/geometry.cfg))
(/usr/share/texmf/tex/latex/misc/shapepar.sty) (./canada.shape) 
(./canada.aux)
! Undefined control sequence.
l.6 \newshapepar
                {some long text that will be shaped into your foo-shape}
?

===================================

I checked /usr/share/texmf/tex/latex/misc/shapepar.sty (installed on my 
system in 2003) and there was no macro called \newshapepar so I tried 
\shapepar instead and got this:

[david at localhost tex]$ latex canada.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./canada.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/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/misc/geometry.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/config/geometry.cfg))
(/usr/share/texmf/tex/latex/misc/shapepar.sty) (./canada.shape) 
(./canada.aux)
! Shaped Paragraph Error: Error in specification. Check carefully!.
\SH at sperror ...in specification. Check carefully!}
                                                 
l.6 ...xt that will be shaped into your foo-shape}
                                                 
? quit
OK, entering \batchmode[david at localhost tex]$

=====================================

I'm not very clever with TeX, so any tips will be highly appreciated.

Many thanks,
David.

\documentclass{article}
\usepackage[noheadfoot, a4paper]{geometry}
\usepackage{shapepar}
\input{canada.shape}
\begin{document}
\newshapepar{some long text that will be shaped into your foo-shape}
\end{document}




More information about the texhax mailing list