GeneralProblem with leaflet.cls and texlive-2013

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Regiduer
Posts: 5
Joined: Fri Aug 23, 2013 2:34 pm

Problem with leaflet.cls and texlive-2013

Post by Regiduer »

When processing

Code: Select all

\documentclass[a4paper]{leaflet}  
\begin{document}
 
\end{document}
I get

Code: Select all

Paragraph ended before \calc@assign@generic was complete leaflet.cls 386
Emergency stop leaflet.cls 386	

I'm blank with ideas what to do...

Rüdiger
Last edited by Regiduer on Sat Aug 24, 2013 12:37 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Re: Problem with leaflet.cls and texlive-2013

Post by cgnieder »

Hi Regiduer,

Welcome to the LaTeX community!

I do not get any errors from this MWE and neither does WriteLaTeX as you can verify by clicking on the OPEN IN WRITELATEX button right above the code box. Maybe you need to update your TeX distribution?

Regards
site moderator & package author
Regiduer
Posts: 5
Joined: Fri Aug 23, 2013 2:34 pm

Re: Problem with leaflet.cls and texlive-2013

Post by Regiduer »

Hi Clemens!

Thanks for the welcome!

Yeah, it's suposed to work. And it does, on anther box.

I have a recently updated texlive-2013 on gentoo-linux.

Rüdiger
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problem with leaflet.cls and texlive-2013

Post by cgnieder »

Can you try to check if maybe different versions are used (for whatever reason).

The MWE

Code: Select all

\documentclass[a4paper]{leaflet}  
\listfiles
\begin{document}
\end{document}
gives for me with

Code: Select all

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
the following list in the log file:

Code: Select all

 *File List*
 leaflet.cls    2012/06/04 v1.0d LaTeX document class (JS,WaS,RN,HjG)
    etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
    calc.sty    2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
  pdftex.def    2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)
 ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
  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.
supp-pdf.mkii
pdftexcmds.sty    2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
epstopdf-base.sty    2010/02/09 v2.5 Base part for package epstopdf
  grfext.sty    2010/08/19 v1.1 Manage graphics extensions (HO)
kvdefinekeys.sty    2011/04/07 v1.3 Define keys (HO)
kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
 ***********
Regards
site moderator & package author
Regiduer
Posts: 5
Joined: Fri Aug 23, 2013 2:34 pm

Problem with leaflet.cls and texlive-2013

Post by Regiduer »

Hi, my log looks different. Here it is:

Code: Select all

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) (format=pdflatex 2013.8.21)  23 AUG 2013 17:08
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**tmp.tex
(./tmp.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 7 languages loaded.
(/daten/heimatordner/rudi/texmf/tex/leaflet.cls
Document Class: leaflet 2004/12/22 v1.0d LaTeX document class (JS,WaS,RN,HjG)
(/usr/share/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count79
)
\@@@out@mark=\marks1
\c@@@total@outs=\count80
\c@@@last@exec=\count81

(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count82
\c@section=\count83
\c@subsection=\count84
\c@subsubsection=\count85
\c@paragraph=\count86
\c@subparagraph=\count87
\c@figure=\count88
\c@table=\count89
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf-dist/tex/latex/ms/everyshi.sty
Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
)
(/usr/share/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count90
\calc@Bcount=\count91
\calc@Adimen=\dimen103
\calc@Bdimen=\dimen104
\calc@Askip=\skip43
\calc@Bskip=\skip44
LaTeX Info: Redefining \setlength on input line 76.
LaTeX Info: Redefining \addtolength on input line 77.
\calc@Ccount=\count92
\calc@Cskip=\skip45
)
(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 91.

(/usr/share/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX

(/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
)
(/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count93
))
\Gin@req@height=\dimen105
\Gin@req@width=\dimen106
)
Class leaflet Info: Generating code for pdfTeX on input line 264.

Runaway argument?
{
! Paragraph ended before \calc@assign@generic was complete.
<to be read again> 
                   \par 
l.386 \setmargins{11mm}{11mm}{8mm}{8mm}
                                       
? 
! Emergency stop.
<to be read again> 
                   \par 
l.386 \setmargins{11mm}{11mm}{8mm}{8mm}
                                       
End of file on the terminal!

 
Here is how much of TeX's memory you used:
 1025 strings out of 494981
 13325 string characters out of 6180069
 63016 words of memory out of 5000000
 4297 multiletter control sequences out of 15000+600000
 3640 words of font info for 14 fonts, out of 8000000 for 9000
 14 hyphenation exceptions out of 8191
 34i,0n,21p,264b,36s stack positions out of 5000i,500n,10000p,200000b,80000s
!  ==> Fatal error occurred, no output PDF file produced!
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problem with leaflet.cls and texlive-2013

Post by cgnieder »

I didn't post my complete log but only the file list that will be printed there when you add \listfiles to the document preamble. This is a useful command to check which files actually have been used.

Regards
site moderator & package author
Regiduer
Posts: 5
Joined: Fri Aug 23, 2013 2:34 pm

Problem with leaflet.cls and texlive-2013

Post by Regiduer »

There is no difference in the log whether I use \listfiles or not...

Rüdiger

EDIT: crossposting announcement

http://www.golatex.de/viewforum.php?f=2 ... a9ce40569e
Last edited by cgnieder on Fri Aug 23, 2013 8:24 pm, edited 1 time in total.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problem with leaflet.cls and texlive-2013

Post by cgnieder »

Turns out it doesn't matter if \listfiles works. Compare these lines from my log

Code: Select all

(./test.tex (/data/texlive/2013/texmf-dist/tex/latex/leaflet/leaflet.cls
Document Class: leaflet 2012/06/04 v1.0d LaTeX document class (JS,WaS,RN,HjG)
with these from yours:

Code: Select all

(/daten/heimatordner/rudi/texmf/tex/leaflet.cls
Document Class: leaflet 2004/12/22 v1.0d LaTeX document class (JS,WaS,RN,HjG)
You obviously using a quite old version of the class!

Regards
site moderator & package author
Regiduer
Posts: 5
Joined: Fri Aug 23, 2013 2:34 pm

Re: Problem with leaflet.cls and texlive-2013

Post by Regiduer »

apart from the fact that I really should have seen it on my own -- you're help solved it, the new version of leaflet runs smooth!

Rüdiger
Post Reply