[pstricks] Question regarding pst-gantt

Peter Johnston p.johnston at griffith.edu.au
Mon Jan 25 10:33:35 CET 2010

Dear PSTrickers,

    I recently downloaded the pst-gantt package to try and create a 
gantt chart. However, I am
having problems getting started. I typed in one of the examples from the 
user guide and put
what I thought was the correct latex around it as follows:

\PstGanttTask[TaskInsideLabel={Task 1}]{0}{1}
\PstGanttTask[TaskInsideLabel={Task 2},TaskUnitType=Month]{6}{24}
\PstGanttTask[TaskInsideLabel={Task 3}]{2}{2}
\PstGanttTask[TaskInsideLabel={Task 4}]{3}{1}

When I run the code through latex, I get the following output and error:

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, 
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, 
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, 
norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, 
swedish, tur
kish, ukrainian, nohyphenation, loaded.
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
`PSTricks' v1.04  <2004/06/22> (tvz)
 v97 patch 11, 2000/11/09)
(/sw/share/texmf-dist/tex/generic/pstricks/pst-grad.tex  v1.04, 2004/06/24)
(/sw/share/texmf-dist/tex/generic/multido/multido.tex  v1.41, 2004/05/18 
 `pst-gantt' v0.2, 2009/05/12 (Denis Girou and Herbert Voss)

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
l.37 \define at boolkey[psset]{pst-gantt}[P

    Have I set up the calling file incorrectly? Am I missing something?

    I am using the tetex package which comes via fink under mac OS 10.5.

    Any insights would be much appreciated.

    Thank you,

       Peter Johnston.


Assoc. Prof. Peter Johnston
Associate Professor in Applied Mathematics          Phone (07) 3735 7748
School of Biomolecular and Physical Science         Fax   (07) 3735 7656
Griffith University
Queensland 4111

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100125/d48e2793/attachment.html>

More information about the PSTricks mailing list