Re: [leaflet] Gestione del formato pagina

#46809
Up
0
Down
::

Seguo le tue istruzioni (a parte mettere la definizione delle opzioni prima di
`\@ifdefinable\ifLL@combine{\newif\ifLL@combine}`
e ottengo un documento 364mm per 257 mm, senza alcun errore.

Boh. Misteri del TeX. Ho provato a rifare tutto da capo e non mi cambia niente, anche spostando la definizione delle opzioni come dici (cosa che avevo già provato ieri).

Comunque c’è una scappatoia che pare funzionare ed evita di dover modificare leaflet.

Niente, non capisco… ottengo esattamente lo stesso errore 😥

Questo è il log: http://pastebin.org/370152

Non so proprio più dove sbattere la testa.

Grazie per il sostegno!

missa.cls
`%missa.cls
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{missa}

\DeclareOption{b4paper}{\def\LL@setPaperSize{%
\paperwidth=353mm\paperheight=250mm\relax}}
\DeclareOption{b4j}{\def\LL@setPaperSize{%
\paperwidth=364mm\paperheight=257mm\relax}}

\ProcessOptions\relax

\let\@@@@newcommand\newcommand
\let\newcommand\providecommand
\LoadClass[notumble]{leaflet}
\let\newcommand\@@@@newcommand`
prova.tex
`%prova.tex
\documentclass[b4paper]{missa}
\begin{document}
\end{document}`
prova.log
`This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2010.6.17) 1 JUL 2010 13:22
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**prova.tex
(./prova.tex
LaTeX2e <2009/09/24>
Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, armenian
, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, u
kenglish, usenglishmax, esperanto, estonian, farsi, finnish, french, galician,
german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese,
bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panjabi, tamil,
telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian,
lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, roma
nian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish,
turkmen, ukrainian, uppersorbian, welsh, loaded.
(./missa.cls
Document Class: missa
(/usr/local/texlive/2010/texmf-dist/tex/latex/leaflet/leaflet.cls
Document Class: leaflet 2004/12/22 v1.0d LaTeX document class (JS,WaS,RN,HjG)
(/usr/local/texlive/2010/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/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2010/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/local/texlive/2010/texmf-dist/tex/latex/ms/everyshi.sty
Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
)
(/usr/local/texlive/2010/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/local/texlive/2010/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

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

(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/local/texlive/2010/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/local/texlive/2010/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2010/02/14 v0.04n Graphics/color for pdfTeX
\Gread@gobject=\count93
))
\Gin@req@height=\dimen105
\Gin@req@width=\dimen106
)
Class leaflet Info: Generating code for pdfTeX on input line 257.

(/usr/local/texlive/2010/texmf-dist/tex/latex/psnfss/pifont.sty
Package: pifont 2005/04/12 PSNFSS-v9.2a Pi font support (SPQR)
LaTeX Font Info: Try loading font information for U+pzd on input line 63.

(/usr/local/texlive/2010/texmf-dist/tex/latex/psnfss/upzd.fd
File: upzd.fd 2001/06/04 font definitions for U/pzd.
)
LaTeX Font Info: Try loading font information for U+psy on input line 64.

(/usr/local/texlive/2010/texmf-dist/tex/latex/psnfss/upsy.fd
File: upsy.fd 2001/06/04 font definitions for U/psy.
))
\c@LL@page=\count94
)) (./prova.aux)
\openout1 = `prova.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: … okay on input line 3.

ABD: EveryShipout initializing macros
(/usr/local/texlive/2010/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count95
\scratchdimen=\dimen107
\scratchbox=\box26
\nofMPsegments=\count96
\nofMParguments=\count97
\everyMPshowfont=\toks15
\MPscratchCnt=\count98
\MPscratchDim=\dimen108
\MPnumerator=\count99
\everyMPtoPDFconversion=\toks16
) (/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)

(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
)
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf

(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2007/09/30 v1.0 Managing graphics extensions (HO)
)
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2010/02/22 v3.7 Keyval support for LaTeX options (HO)

(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2010/03/01 v1.9 Key value parser (HO)

(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 436.

(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/06/06 v1.2 Configuration of (r)epstopdf for TeX Liv
e
))
(./prova.aux)
Class leaflet Info: Generating empty page 1 on input line 4.

\LL@boxI=\box27

[1] ==>
Class leaflet Info: Generating empty page 2 on input line 4.
\LL@boxII=\box28
[2] ==> [II]
Class leaflet Info: Generating empty page 3 on input line 4.
\LL@boxIII=\box29
[3] ==> [III]
Class leaflet Info: Generating empty page 4 on input line 4.
\LL@boxIV=\box30
[4] ==> [IV]
Class leaflet Info: Generating empty page 5 on input line 4.
\LL@boxV=\box31
[5] ==> [V]
Class leaflet Info: Generating empty page 6 on input line 4.
\LL@boxVI=\box32
[6] ==> [VI]
[V VI I] ==>
[1]
[II III IV] ==>
[2] )
Here is how much of TeX's memory you used:
1573 strings out of 493747
22483 string characters out of 3143546
74845 words of memory out of 3000000
4863 multiletter control sequences out of 15000+200000
4330 words of font info for 16 fonts, out of 3000000 for 9000
714 hyphenation exceptions out of 8191
38i,6n,23p,238b,91s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on prova.pdf (2 pages, 1090 bytes).
PDF statistics:
11 PDF objects out of 1000 (max. 8388607)
6 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)`
Ciao
Enrico

Go to top