General ⇒ help with powerdot slides
help with powerdot slides
Advice please.
Using tetex in Mandriva 2007.1 powerdot's example1 bombs (logfile below)
Maybe one of the loaded packages is buggy?
TIA
[mhudson@penguin doc]$ latex powerdot-example1
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.5)
entering extended mode
(./powerdot-example1.tex
LaTeX2e <2003/12/01>
Babel <v3.8a> 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.
(/home/mhudson/texmf/tex/latex/powerdot/powerdot.cls
Document Class: powerdot 2005/12/06 v1.3 powerdot presentation class (HA,CE)
(/usr/share/texmf/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texmf/tex/generic/xkeyval/keyval.tex)))
(/home/mhudson/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/home/mhudson/texmf/tex/latex/base/size10.clo))
(/home/mhudson/texmf/tex/latex/base/size11.clo)
(/home/mhudson/texmf/tex/latex/geometry/geometry.sty
(/usr/share/texmf/tex/latex/geometry/geometry.cfg))
(/home/mhudson/texmf/tex/latex/hyperref/hyperref.sty
(/home/mhudson/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/home/mhudson/texmf/tex/latex/misc/url.sty))
*hyperref using driver hdvips*
(/home/mhudson/texmf/tex/latex/hyperref/hdvips.def
(/home/mhudson/texmf/tex/latex/hyperref/pdfmark.def))
(/home/mhudson/texmf/tex/latex/graphics/graphicx.sty
(/home/mhudson/texmf/tex/latex/graphics/graphics.sty
(/home/mhudson/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.cfg)
(/home/mhudson/texmf/tex/latex/graphics/pdftex.def)))
(/usr/share/texmf/tex/latex/pstricks/pstricks.sty
(/home/mhudson/texmf/tex/generic/pstricks/pstricks.tex
`PSTricks' v1.04 <2004/06/22> (tvz)
(/usr/share/texmf/tex/generic/pstricks/pstricks.con))
(/home/mhudson/texmf/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf/tex/latex/graphics/color.cfg)
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1440 white,1/1,1,1/0,0,1/0,0,0,0}
?
Using tetex in Mandriva 2007.1 powerdot's example1 bombs (logfile below)
Maybe one of the loaded packages is buggy?
TIA
[mhudson@penguin doc]$ latex powerdot-example1
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.5)
entering extended mode
(./powerdot-example1.tex
LaTeX2e <2003/12/01>
Babel <v3.8a> 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.
(/home/mhudson/texmf/tex/latex/powerdot/powerdot.cls
Document Class: powerdot 2005/12/06 v1.3 powerdot presentation class (HA,CE)
(/usr/share/texmf/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texmf/tex/generic/xkeyval/keyval.tex)))
(/home/mhudson/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/home/mhudson/texmf/tex/latex/base/size10.clo))
(/home/mhudson/texmf/tex/latex/base/size11.clo)
(/home/mhudson/texmf/tex/latex/geometry/geometry.sty
(/usr/share/texmf/tex/latex/geometry/geometry.cfg))
(/home/mhudson/texmf/tex/latex/hyperref/hyperref.sty
(/home/mhudson/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/home/mhudson/texmf/tex/latex/misc/url.sty))
*hyperref using driver hdvips*
(/home/mhudson/texmf/tex/latex/hyperref/hdvips.def
(/home/mhudson/texmf/tex/latex/hyperref/pdfmark.def))
(/home/mhudson/texmf/tex/latex/graphics/graphicx.sty
(/home/mhudson/texmf/tex/latex/graphics/graphics.sty
(/home/mhudson/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.cfg)
(/home/mhudson/texmf/tex/latex/graphics/pdftex.def)))
(/usr/share/texmf/tex/latex/pstricks/pstricks.sty
(/home/mhudson/texmf/tex/generic/pstricks/pstricks.tex
`PSTricks' v1.04 <2004/06/22> (tvz)
(/usr/share/texmf/tex/generic/pstricks/pstricks.con))
(/home/mhudson/texmf/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf/tex/latex/graphics/color.cfg)
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1440 white,1/1,1,1/0,0,1/0,0,0,0}
?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
help with powerdot slides
To make sure which packages are used, please put the \listfiles command in the first line of the code. Try the compiling route LaTeX -> PS -> PDF.
I only can guess what's going wrong, but i think you might use obsolete versions of some packages.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: help with powerdot slides
Thanks for your response.
I've now re-installed tetex under mandriva 2007.1 x86-64
powerdot-example1.tex compiles fine on i586 but produces multiple error on x86-64
The first error in the log-file is now:
! LaTeX Error: Unknown graphics extension: .ps.
Here is the package list:
latex:
*File List*
powerdot.cls 2005/12/06 v1.3 powerdot presentation class (HA,CE)
xkeyval.sty 2005/11/25 v2.5e package option processing (HA)
xkeyval.tex 2005/11/25 v2.5e key=value parser (HA)
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
geometry.sty 2002/07/08 v3.2 Page Geometry
geometry.cfg
hyperref.sty 2007/02/27 v6.75t Hypertext links for LaTeX
pd1enc.def 2007/02/27 v6.75t Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive and teTeX
kvoptions.sty 2006/08/22 v2.4 Connects package keyval with LaTeX options (HO
)
url.sty 2005/06/27 ver 3.2 Verb mode for urls, etc.
hdvips.def 2007/02/27 v6.75t Hyperref driver for dvips
pdfmark.def 2007/02/27 v6.75t Hyperref definitions for pdfmark specials
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2005/08/28 v1.4 graphics configuration of teTeX/TeXLive
pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
pstricks.sty 2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2006/04/29 v1.14c `PSTricks' (tvz)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2005/08/28 v1.4 color configuration of teTeX/TeXLive
enumitem.sty 2004/07/19 v1.0 Customized lists
verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
powerdot-default.sty 2005/12/06 v1.3 default style (HA)
pifont.sty 2005/04/12 PSNFSS-v9.2a Pi font support (SPQR)
upzd.fd 2001/06/04 font definitions for U/pzd.
upsy.fd 2001/06/04 font definitions for U/psy.
nameref.sty 2006/12/27 v2.28 Cross-referencing by name of section
refcount.sty 2006/02/20 v3.0 Data extraction from references (HO)
***********
I've now re-installed tetex under mandriva 2007.1 x86-64
powerdot-example1.tex compiles fine on i586 but produces multiple error on x86-64
The first error in the log-file is now:
! LaTeX Error: Unknown graphics extension: .ps.
Here is the package list:
latex:
*File List*
powerdot.cls 2005/12/06 v1.3 powerdot presentation class (HA,CE)
xkeyval.sty 2005/11/25 v2.5e package option processing (HA)
xkeyval.tex 2005/11/25 v2.5e key=value parser (HA)
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
geometry.sty 2002/07/08 v3.2 Page Geometry
geometry.cfg
hyperref.sty 2007/02/27 v6.75t Hypertext links for LaTeX
pd1enc.def 2007/02/27 v6.75t Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive and teTeX
kvoptions.sty 2006/08/22 v2.4 Connects package keyval with LaTeX options (HO
)
url.sty 2005/06/27 ver 3.2 Verb mode for urls, etc.
hdvips.def 2007/02/27 v6.75t Hyperref driver for dvips
pdfmark.def 2007/02/27 v6.75t Hyperref definitions for pdfmark specials
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2005/08/28 v1.4 graphics configuration of teTeX/TeXLive
pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
pstricks.sty 2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2006/04/29 v1.14c `PSTricks' (tvz)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2005/08/28 v1.4 color configuration of teTeX/TeXLive
enumitem.sty 2004/07/19 v1.0 Customized lists
verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
powerdot-default.sty 2005/12/06 v1.3 default style (HA)
pifont.sty 2005/04/12 PSNFSS-v9.2a Pi font support (SPQR)
upzd.fd 2001/06/04 font definitions for U/pzd.
upsy.fd 2001/06/04 font definitions for U/psy.
nameref.sty 2006/12/27 v2.28 Cross-referencing by name of section
refcount.sty 2006/02/20 v3.0 Data extraction from references (HO)
***********
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
help with powerdot slides
mhudson wrote: […] powerdot-example1.tex compiles fine on i586 but produces multiple error on x86-64 […]
That shouldn't make any difference, because it affects only the binaries of the LaTeX system.
mhudson wrote: […] The first error in the log-file is now:
! LaTeX Error: Unknown graphics extension: .ps.
The used packages seem to be OK. It seems that you try to compile your source with pdflatex, but a graphics file is only provided in PS format. So you have different ways of avoiding that.
- Compile only with latex and convert the document to PDF. Editors like Kile or TeXMaker support this very comfortable.
- Make sure all graphics files are provided in the formats JPG, PNG, PDF (accepted by pdflatex) and PS/EPS (accepted by latex). So you don't have to worry about those error messages, because the affected compiler will find the right graphics format on its own. You then can compile however you want.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
help with powerdot slides
Thanks again for those comments and suggestons. tetex's latex command produces this error.
You'll note the graphic powerdot-default.ps is part of the default style file for the powerdot package.
I've attached both, together with the latex source code.
Appreciate further ideas here.
Code: Select all
[mhudson@penguin doc]$ latex powerdot-example1
If all that doesn't help, post the affected extract of the source code and the graphics file you try to include as an attachment.
You'll note the graphic powerdot-default.ps is part of the default style file for the powerdot package.
I've attached both, together with the latex source code.
Appreciate further ideas here.
- Attachments
-
- powerdot-default.ps
- (5.52 KiB) Downloaded 402 times
-
- powerdot-default.sty
- (4.9 KiB) Downloaded 323 times
-
- powerdot-example1.tex
- (1.92 KiB) Downloaded 358 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
help with powerdot slides
The files in the attachment are not what i expected, since i have them as default on my system. But you didn't mention before, that the pure powerdot example doesn't work. Looking at the documentation of the powerdot package, you can see that powerdot presentations only can be compiled by latex, not by pdflatex (see Table 2: Dependencies, p. 26). The reason is that powerdot uses pstricks as default. Section 8 (Compiling your presentation, p. 25ff) gives more information right at the beginning of paragraph 8.2 (Creating and viewing output).
I can't comprehend why latex in your case seems not to accept a graphics file in PS format. This kind of error message only should be given by pdflatex. On my systems (Windows XP with MiKTeX 2.6 and openSUSE 10.2 with teTeX) everything is working fine.
'The powerdot class' documentation wrote: To compile your presentation, run it with LaTeX.
I can't comprehend why latex in your case seems not to accept a graphics file in PS format. This kind of error message only should be given by pdflatex. On my systems (Windows XP with MiKTeX 2.6 and openSUSE 10.2 with teTeX) everything is working fine.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
help with powerdot slides
Does this help explain it?
M.H.
Code: Select all
[mhudson@penguin doc]$ which latex/usr/bin/latex[mhudson@penguin doc]$ ls -l /usr/bin/latexlrwxrwxrwx 1 root root 6 Jul 15 21:44 /usr/bin/latex -> pdftex*[mhudson@penguin doc]$ ls -l /usr/bin/pdflatexlrwxrwxrwx 1 root root 6 Jul 15 21:44 /usr/bin/pdflatex -> pdftex*[mhudson@penguin doc]$
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
help with powerdot slides
That explains all! Do you know how to change the soft links to get it work? On my system it looks like this.
Did you change something at any time? I didn't, so these have to be the default settings.
Code: Select all
thorsten@localghost:~> which latex/usr/bin/latexthorsten@localghost:~> ls -l /usr/bin/latexlrwxrwxrwx 1 root root 41 27. Jan 20:33 /usr/bin/latex -> ../share/texmf/teTeX/bin/i586-linux/latexthorsten@localghost:~> ls -l /usr/bin/pdflatexlrwxrwxrwx 1 root root 44 27. Jan 20:33 /usr/bin/pdflatex -> ../share/texmf/teTeX/bin/i586-linux/pdflatex
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
help with powerdot slides
After a second re-install (i.e. 3 rd install) of tetex and friends,
this time first deleting all configuration and system directories created under $HOME
and the previous configuration file /usr/share/texmf/web2c/texmf.cnf,
everything (i.e. powerdot in latex) just works (though xdvi warns:
I don't know what this means, but it doesn't seem to matter.
However there had been from first saved as rpmsav to second version:
[mhudson@penguin doc]$ diff /usr/share/texmf/web2c/texmf.cnf.v0 /usr/share/texmf/web2c/texmf.cnf.v1
1c1
< % texmf.cnf -- runtime path configuration file for kpathsea.
---
> % original texmf.cnf -- runtime path configuration file for kpathsea.
8c8
<
---
> #
558a559,560
>
> % Parameter specific to MetaPost.[/code]
I had set the local path to $HOME/texmf I think before, and deleted the "original" (this was meant to retain my conf).
Following on to install kile I found the System check required KDVI (though it is listed as optional on kile's homepage). This package wasn't needed by tetex-latex though.
So, problem was a tetex configuration issue, solved by re-installing after deleting all previous configuration files.
Thanks for the advice.
PS interesting that now:
i.e. links remain as before !?!?
this time first deleting all configuration and system directories created under $HOME
and the previous configuration file /usr/share/texmf/web2c/texmf.cnf,
everything (i.e. powerdot in latex) just works (though xdvi warns:
"Warning: Missing charsets in String to FontSet conversion"
I don't know what this means, but it doesn't seem to matter.
Code: Select all
I found no difference between /usr/share/texmf/web2c/texmf.cnf and the second install version:[code][mhudson@penguin doc]$ diff /usr/share/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf.v1[mhudson@penguin doc]$
[mhudson@penguin doc]$ diff /usr/share/texmf/web2c/texmf.cnf.v0 /usr/share/texmf/web2c/texmf.cnf.v1
1c1
< % texmf.cnf -- runtime path configuration file for kpathsea.
---
> % original texmf.cnf -- runtime path configuration file for kpathsea.
8c8
<
---
> #
558a559,560
>
> % Parameter specific to MetaPost.[/code]
I had set the local path to $HOME/texmf I think before, and deleted the "original" (this was meant to retain my conf).
Following on to install kile I found the System check required KDVI (though it is listed as optional on kile's homepage). This package wasn't needed by tetex-latex though.
So, problem was a tetex configuration issue, solved by re-installing after deleting all previous configuration files.
Thanks for the advice.
PS interesting that now:
Code: Select all
[mhudson@penguin doc]$ ls -l /usr/bin/latexlrwxrwxrwx 1 root root 6 Jul 21 14:03 /usr/bin/latex -> pdftex*[mhudson@penguin doc]$ which pdflatex/usr/bin/pdflatex[mhudson@penguin doc]$ ls -l /usr/bin/pdflatexlrwxrwxrwx 1 root root 6 Jul 21 14:03 /usr/bin/pdflatex -> pdftex*[mhudson@penguin doc]$