LaTeX forum ⇒ GeneralProblem with leaflet.cls and texlive-2013 Topic is solved

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

Problem with leaflet.cls and texlive-2013

Postby Regiduer » Fri Aug 23, 2013 2:56 pm

When processing
  1. \documentclass[a4paper]{leaflet}
  2. \begin{document}
  3.  
  4. \end{document}


I get
  1. Paragraph ended before \calc@assign@generic was complete leaflet.cls 386
  2. 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.

Tags:

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Fri Aug 23, 2013 4:40 pm

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
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Regiduer
Posts: 5
Joined: Fri Aug 23, 2013 2:34 pm

Postby Regiduer » Fri Aug 23, 2013 4:56 pm

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: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Fri Aug 23, 2013 5:03 pm

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

The MWE
  1. \documentclass[a4paper]{leaflet}
  2. \listfiles
  3. \begin{document}
  4. \end{document}


gives for me with
  1. This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
the following list in the log file:

  1. *File List*
  2. leaflet.cls 2012/06/04 v1.0d LaTeX document class (JS,WaS,RN,HjG)
  3. etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
  4. article.cls 2007/10/19 v1.4h Standard LaTeX document class
  5. size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  6. everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
  7. calc.sty 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
  8. graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  9. keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
  10. graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  11. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  12. graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
  13. pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
  14. infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
  15. ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
  16. pifont.sty 2005/04/12 PSNFSS-v9.2a Pi font support (SPQR)
  17. upzd.fd 2001/06/04 font definitions for U/pzd.
  18. upsy.fd 2001/06/04 font definitions for U/psy.
  19. supp-pdf.mkii
  20. pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
  21. ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
  22. ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
  23. epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
  24. grfext.sty 2010/08/19 v1.1 Manage graphics extensions (HO)
  25. kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
  26. kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
  27. kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
  28. etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
  29. epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
  30. ***********


Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Regiduer
Posts: 5
Joined: Fri Aug 23, 2013 2:34 pm

Postby Regiduer » Fri Aug 23, 2013 5:21 pm

Hi, my log looks different. Here it is:

  1. This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) (format=pdflatex 2013.8.21) 23 AUG 2013 17:08
  2. entering extended mode
  3. restricted \write18 enabled.
  4. %&-line parsing enabled.
  5. **tmp.tex
  6. (./tmp.tex
  7. LaTeX2e <2011/06/27>
  8. Babel <3.9f> and hyphenation patterns for 7 languages loaded.
  9. (/daten/heimatordner/rudi/texmf/tex/leaflet.cls
  10. Document Class: leaflet 2004/12/22 v1.0d LaTeX document class (JS,WaS,RN,HjG)
  11. (/usr/share/texmf-dist/tex/latex/etex-pkg/etex.sty
  12. Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
  13. \et@xins=\count79
  14. )
  15. \@@@out@mark=\marks1
  16. \c@@@total@outs=\count80
  17. \c@@@last@exec=\count81
  18.  
  19. (/usr/share/texmf-dist/tex/latex/base/article.cls
  20. Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
  21. (/usr/share/texmf-dist/tex/latex/base/size10.clo
  22. File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  23. )
  24. \c@part=\count82
  25. \c@section=\count83
  26. \c@subsection=\count84
  27. \c@subsubsection=\count85
  28. \c@paragraph=\count86
  29. \c@subparagraph=\count87
  30. \c@figure=\count88
  31. \c@table=\count89
  32. \abovecaptionskip=\skip41
  33. \belowcaptionskip=\skip42
  34. \bibindent=\dimen102
  35. )
  36. (/usr/share/texmf-dist/tex/latex/ms/everyshi.sty
  37. Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
  38. )
  39. (/usr/share/texmf-dist/tex/latex/tools/calc.sty
  40. Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
  41. \calc@Acount=\count90
  42. \calc@Bcount=\count91
  43. \calc@Adimen=\dimen103
  44. \calc@Bdimen=\dimen104
  45. \calc@Askip=\skip43
  46. \calc@Bskip=\skip44
  47. LaTeX Info: Redefining \setlength on input line 76.
  48. LaTeX Info: Redefining \addtolength on input line 77.
  49. \calc@Ccount=\count92
  50. \calc@Cskip=\skip45
  51. )
  52. (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
  53. Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  54.  
  55. (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
  56. Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
  57. \KV@toks@=\toks14
  58. )
  59. (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
  60. Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  61.  
  62. (/usr/share/texmf-dist/tex/latex/graphics/trig.sty
  63. Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
  64. )
  65. (/usr/share/texmf-dist/tex/latex/latexconfig/graphics.cfg
  66. File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
  67. )
  68. Package graphics Info: Driver file: pdftex.def on input line 91.
  69.  
  70. (/usr/share/texmf-dist/tex/latex/pdftex-def/pdftex.def
  71. File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
  72.  
  73. (/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty
  74. Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
  75. )
  76. (/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
  77. Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
  78. )
  79. \Gread@gobject=\count93
  80. ))
  81. \Gin@req@height=\dimen105
  82. \Gin@req@width=\dimen106
  83. )
  84. Class leaflet Info: Generating code for pdfTeX on input line 264.
  85.  
  86. Runaway argument?
  87. {
  88. ! Paragraph ended before \calc@assign@generic was complete.
  89. <to be read again>
  90. \par
  91. l.386 \setmargins{11mm}{11mm}{8mm}{8mm}
  92.  
  93. ?
  94. ! Emergency stop.
  95. <to be read again>
  96. \par
  97. l.386 \setmargins{11mm}{11mm}{8mm}{8mm}
  98.  
  99. End of file on the terminal!
  100.  
  101.  
  102. Here is how much of TeX's memory you used:
  103. 1025 strings out of 494981
  104. 13325 string characters out of 6180069
  105. 63016 words of memory out of 5000000
  106. 4297 multiletter control sequences out of 15000+600000
  107. 3640 words of font info for 14 fonts, out of 8000000 for 9000
  108. 14 hyphenation exceptions out of 8191
  109. 34i,0n,21p,264b,36s stack positions out of 5000i,500n,10000p,200000b,80000s
  110. ! ==> Fatal error occurred, no output PDF file produced!

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Fri Aug 23, 2013 5:24 pm

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
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Regiduer
Posts: 5
Joined: Fri Aug 23, 2013 2:34 pm

Postby Regiduer » Fri Aug 23, 2013 5:31 pm

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=22&sid=7e746ccf19c608a4175eb1a9ce40569e
Last edited by cgnieder on Fri Aug 23, 2013 8:24 pm, edited 1 time in total.
Reason: added inline code markup

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Fri Aug 23, 2013 8:29 pm

Turns out it doesn't matter if \listfiles works. Compare these lines from my log
  1. (./test.tex (/data/texlive/2013/texmf-dist/tex/latex/leaflet/leaflet.cls
  2. Document Class: leaflet 2012/06/04 v1.0d LaTeX document class (JS,WaS,RN,HjG)

with these from yours:
  1. (/daten/heimatordner/rudi/texmf/tex/leaflet.cls
  2. 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
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Regiduer
Posts: 5
Joined: Fri Aug 23, 2013 2:34 pm

Postby Regiduer » Sat Aug 24, 2013 12:37 am

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


Return to “General”

Who is online

Users browsing this forum: No registered users and 5 guests