LyXLyx, XeTex and the classicthesis template

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Lyx, XeTex and the classicthesis template

Post by clemens »

Hello,

I am quite desperate now.
I would like to use the classic thesis template with LyX 1.6.2 but I cannot manage to do it and I get all sorts of errors.
For example if I try to do a "view PDF(Xetex)" I get many undefined control errors plus missing \begin{document} etc.
I am using ubuntu 8.1 with tons of latex related packages, and use mainly Texlive with XeTex since I need to use some Japanese otf fonts. What can I do? DOes it have to do with the fact that I am using Xetex and not Tex? If so, is there a way around?
Any help is appreciated
Cheers

Ps. I would like to use the template with two specific fonts, Hiragino Mincho Pro for Japanese and Times Ext ROman for all the rest. How do I change the default fonts in a template?

Recommended reading 2024:

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

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

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Lyx, XeTex and the classicthesis template

Post by meho_r »

If you'd like to get an answer, you'll have to provide a Minimal Working Example. Copy-paste the content of Preamble for starters.
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Re: Lyx, XeTex and the classicthesis template

Post by clemens »

Thank you for your reply. You are right I should have provided some extra information but I was hoping that someone already tried it and knew the problem since the error messages are so many. I am not exactly sure of what I should write here. What I did was keeping all the template (.lyx) files in a folder and open the main one, to which all the others are linked since this is the base to make the instruction booklet pdf as well. If I check the latex preamble in the document I see there is only
\usepackage{preamble}

If I check the Latex log I get:
This is XeTeXk, Version 3.141592-2.2-0.996-patch2 (Web2C 7.5.6) (format=xelatex 2009.7.1) 20 AUG 2009 21:30
entering extended mode
%&-line parsing enabled.
**iniziale.tex
(./iniziale.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, italian, ukenglish, loaded.

(/usr/share/texmf-texlive/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2006/07/30 v2.95b KOMA-Script document class (report)
(/usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2006/07/30 v2.95b KOMA-Script package (basics and keyval use)

(/usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2006/03/28 v2.95 KOMA-Script package (loading files)
Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)
Copyright (C) Markus Kohm

) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)) (/usr/share/texmf-texlive/tex/latex/base/fleqn.clo
File: fleqn.clo 1998/08/17 v1.1c Standard LaTeX option (flush left equations)
\mathindent=\dimen102
)
Package scrkbase Info: You've used the obsolete option `cleardoubleempty'.
(scrkbase) \KOMAoptions{cleardoublepage=empty} will be used instead
.
(scrkbase) You should do this change too on input line 631.
Package scrkbase Info: You've used the obsolete option `10pt'.
(scrkbase) \KOMAoptions{fontsize=10pt} will be used instead.
(scrkbase) You should do this change too on input line 631.
Package scrkbase Info: You've used the obsolete option `10pt'.
(scrkbase) \KOMAoptions{fontsize=10pt} will be used instead.
(scrkbase) You should do this change too on input line 631.
(/usr/share/texmf-texlive/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
) (/usr/share/texmf-texlive/tex/latex/koma-script/typearea.sty
Package: typearea 2006/07/30 v2.95b KOMA-Script package (type area)
Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-2002

\ta@bcor=\skip41
\ta@div=\count79
Package scrkbase Info: You've used the obsolete option `a4paper'.
(scrkbase) \KOMAoptions{paper=a4} will be used instead.
(scrkbase) You should do this change too on input line 419.
\ta@hblk=\skip42
\ta@vblk=\skip43
\ta@temp=\skip44
Package typearea Info: These are the values describing the layout:
(typearea) DIV = 8
(typearea) BCOR = 14.22636pt
(typearea) \paperwidth = 597.50793pt
(typearea) \textwidth = 364.55101pt
(typearea) DIV-departure = -1/100
(typearea) \evensidemargin = 73.55038pt
(typearea) \oddsidemargin = 14.86656pt
(typearea) \paperheight = 845.04694pt
(typearea) \textheight = 454.0pt
(typearea) \topmargin = 33.36087pt
(typearea) \headheight = 15.0pt
(typearea) \headsep = 18.0pt
(typearea) \topskip = 10.0pt
(typearea) \footskip = 42.0pt
(typearea) \baselineskip = 12.0pt
(typearea) on input line 832.
)
\c@part=\count80
\c@chapter=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\c@pti@nb@sid@b@x=\box26
\c@figure=\count87
\c@table=\count88
\bibindent=\dimen103
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc@prehook=\toks15
\inpenc@posthook=\toks16
(/usr/share/texmf-texlive/tex/latex/base/latin9.def
File: latin9.def 2006/05/05 v1.1b Input encoding file
)) (/usr/share/texmf-texlive/tex/latex/listings/listings.sty
\lst@mode=\count89
\lst@gtempboxa=\box27
\lst@token=\toks17
\lst@length=\count90
\lst@currlwidth=\dimen104
\lst@column=\count91
\lst@pos=\count92
\lst@lostspace=\dimen105
\lst@width=\dimen106
\lst@newlines=\count93
\lst@lineno=\count94
\c@lstlisting=\count95
\lst@maxwidth=\dimen107
(/usr/share/texmf-texlive/tex/latex/listings/lstpatch.sty
File: lstpatch.sty 2004/10/17 1.3b (Carsten Heinz)
) (/usr/share/texmf-texlive/tex/latex/listings/lstmisc.sty
File: lstmisc.sty 2004/09/07 1.3 (Carsten Heinz)
\c@lstnumber=\count96
\lst@skipnumbers=\count97
\lst@framebox=\box28
) (/usr/share/texmf-texlive/tex/latex/listings/listings.cfg
File: listings.cfg 2004/09/05 1.3 listings configuration
))
Package: listings 2004/10/17 1.3b (Carsten Heinz)
(/usr/share/texmf-texlive/tex/latex/tools/array.sty
Package: array 2005/08/23 v2.4b Tabular extension package (FMi)
\col@sep=\dimen108
\extrarowheight=\dimen109
\NC@list=\toks18
\extratabsurround=\skip47
\backup@length=\skip48
) (/usr/share/texmf-texlive/tex/latex/tools/verbatim.sty
Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
\every@verbatim=\toks19
\verbatim@line=\toks20
\verbatim@in@stream=\read1
) (/usr/share/texmf-texlive/tex/xelatex/xetexurl/url.sty
\Urlmuskip=\muskip10
Package: url 2004/03/15 ver 3.1 Verb mode for urls, etc.
) (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
) (/etc/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: xetex.def on input line 90.
(/usr/share/texmf-texlive/tex/xelatex/graphics/xetex.def
File: xetex.def 2006/08/10 v0.92 LaTeX color/graphics driver for XeTeX (RRM, mo
d. JK)
))
\Gin@req@height=\dimen110
\Gin@req@width=\dimen111
) (/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2002/01/22 v2.2d
(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\@emptytoks=\toks21
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
)) (/usr/share/texmf-texlive/tex/latex/natbib/natbib.sty
Package: natbib 2007/02/05 8.0 (PWD)
\bibhang=\skip49
\bibsep=\skip50
LaTeX Info: Redefining \cite on input line 602.
\c@NAT@ctr=\count98
) (/usr/share/texmf/tex/latex/lyx/classicthesis/preamble.sty

LaTeX Warning: You have requested package `preamble',
but the package provides `classicthesis-ldpkg'.

Package: classicthesis-ldpkg 2008/10/01 v2.5 Package Loader for Classic Thesis
Style
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texmf-texlive/tex/latex/base/textcomp.sty
Package: textcomp 2005/09/27 v1.99g Standard LaTeX package
Package textcomp Info: Sub-encoding information:
(textcomp) 5 = only ISO-Adobe without \textcurrency
(textcomp) 4 = 5 + \texteuro
(textcomp) 3 = 4 + \textohm
(textcomp) 2 = 3 + \textestimated + \textcurrency
(textcomp) 1 = TS1 - \textcircled - \t
(textcomp) 0 = TS1 (full)
(textcomp) Font families with sub-encoding setting implement
(textcomp) only a restricted character set as indicated.
(textcomp) Family '?' is the default used for unknown fonts.
(textcomp) See the documentation for details.
Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71.
(/usr/share/texmf-texlive/tex/latex/base/ts1enc.def
File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
)
LaTeX Info: Redefining \oldstylenums on input line 266.
Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281.
Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282.
Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283.
Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 284.
Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 285.
Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 286.
Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 287.
Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 288.
Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 289.
Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 290.
Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 291.
Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 292.
Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 293.
Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 294.
Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 295.
Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 296.
Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 297.
Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 298.
Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 299.
Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 300.
Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 301.
Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 302.
Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 303.
Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 304.

Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305.
Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 306.
Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 307.
Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 308.
Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 309.
Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 310.
Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 311.
Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 312.
Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 313.
Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 314.
Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 315.
Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 316.
Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 317.
Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 318.
Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 319.
Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 320.
Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 321.
Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 322.
Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 323.
Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 324.
Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 325.
Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 326.
) (/usr/share/texmf-texlive/tex/latex/tools/xspace.sty
Package: xspace 2006/05/08 v1.12 Space after command names (DPC,MH)
) (/usr/share/texmf-texlive/tex/latex/tools/tabularx.sty
Package: tabularx 1999/01/07 v2.07 `tabularx' package (DPC)
\TX@col@width=\dimen112
\TX@old@table=\dimen113
\TX@old@col=\dimen114
\TX@target=\dimen115
\TX@delta=\dimen116
\TX@cols=\count99
\TX@ftn=\toks22
) (/usr/share/texmf-texlive/tex/latex/mparhack/mparhack.sty
Package: mparhack 2003/05/22 v1.3a (T. Sgouros and S. Ulrich)
) (/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty
Package: fixltx2e 2006/03/24 v1.1n fixes to LaTeX
LaTeX Info: Redefining \em on input line 420.
LaTeX Info: Redefining \textsubscript on input line 424.
) (/usr/share/texmf-texlive/tex/latex/ltxmisc/relsize.sty
Package: relsize 2003/07/04 ver 3.1
) (/usr/share/texmf-texlive/tex/latex/acronym/acronym.sty
Package: acronym 2006/06/26 v1.26 Support for acronyms (Tobias Oetiker)
(/usr/share/texmf/tex/latex/lyx/classicthesis/suffix.sty
Package: suffix 2006/07/15 1.5 Variant command support
)
\clearlist=\toks23
)
\c@dummy=\count100
(/usr/share/texmf-texlive/tex/latex/caption/caption.sty
Package: caption 2007/01/07 v3.0k Customising captions (AR)
(/usr/share/texmf-texlive/tex/latex/caption/caption3.sty
Package: caption3 2007/01/07 v3.0k caption3 kernel (AR)
\captionmargin=\dimen117
\captionmarginx=\dimen118
\captionwidth=\dimen119
\captionindent=\dimen120
\captionparindent=\dimen121
\captionhangindent=\dimen122
)
Package caption Info: listings package v1.2 (or newer) detected on input line 3
38.
) (/usr/share/texmf-texlive/tex/latex/carlisle/remreset.sty) (/usr/share/texmf-
texlive/tex/latex/listings/lstlang1.sty
File: lstlang1.sty 2004/09/05 1.3 listings language file
) (/usr/share/texmf-texlive/tex/latex/listings/lstlang2.sty
File: lstlang2.sty 2004/09/05 1.3 listings language file
) (/usr/share/texmf-texlive/tex/latex/listings/lstlang3.sty
File: lstlang3.sty 2004/09/05 1.3 listings language file
) (/usr/share/texmf-texlive/tex/latex/listings/lstlang1.sty
File: lstlang1.sty 2004/09/05 1.3 listings language file
) (/usr/share/texmf-texlive/tex/latex/listings/lstlang2.sty
File: lstlang2.sty 2004/09/05 1.3 listings language file
) (/usr/share/texmf-texlive/tex/latex/listings/lstlang3.sty
File: lstlang3.sty 2004/09/05 1.3 listings language file
) (/usr/share/texmf-texlive/tex/latex/listings/lstlang1.sty
File: lstlang1.sty 2004/09/05 1.3 listings language file
) (/usr/share/texmf-texlive/tex/latex/listings/lstlang2.sty
File: lstlang2.sty 2004/09/05 1.3 listings language file
) (/usr/share/texmf-texlive/tex/latex/listings/lstlang3.sty
File: lstlang3.sty 2004/09/05 1.3 listings language file
) (/usr/share/texmf-texlive/tex/latex/listings/lstmisc.sty
File: lstmisc.sty 2004/09/07 1.3 (Carsten Heinz)
) (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
Package: hyperref 2007/02/07 v6.75r Hypertext links for LaTeX
\@linkdim=\dimen123
\Hy@linkcounter=\count101
\Hy@pagecounter=\count102
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO)
) (/etc/texmf/tex/latex/config/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
) (/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2006/08/22 v2.4 Connects package keyval with LaTeX options (
HO)
)
Package hyperref Info: Option `hyperfootnotes' set `false' on input line 2238.
Package hyperref Info: Option `pdfpagelabels' set `true' on input line 2238.
Package hyperref Info: Hyper figures OFF on input line 2288.
Package hyperref Info: Link nesting OFF on input line 2293.
Package hyperref Info: Hyper index ON on input line 2296.
Package hyperref Info: Plain pages OFF on input line 2303.
Package hyperref Info: Backreferencing ON on input line 2306.
Implicit mode ON; LaTeX internals redefined
Package hyperref Info: Bookmarks ON on input line 2444.
(/usr/share/texmf-texlive/tex/latex/hyperref/backref.sty
Package: backref 2006/10/06 v1.27 Bibliographical back referencing
)
LaTeX Info: Redefining \url on input line 2599.
\Fld@menulength=\count103
\Field@Width=\dimen124
\Fld@charsize=\dimen125
\Choice@toks=\toks24
\Field@toks=\toks25
Package hyperref Info: Hyper figures OFF on input line 3102.
Package hyperref Info: Link nesting OFF on input line 3107.
Package hyperref Info: Hyper index ON on input line 3110.
Package hyperref Info: backreferencing ON on input line 3115.
Package hyperref Info: Link coloring OFF on input line 3122.
\Hy@abspage=\count104
\c@Item=\count105
)
*hyperref using driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def
File: hpdftex.def 2007/02/07 v6.75r Hyperref driver for pdfTeX
! Undefined control sequence.
l.442 \pdfoutput
=1
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.442 \pdfoutput=
1
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.

! Undefined control sequence.
l.443 \pdfcompresslevel
=9
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

\Fld@listcount=\count106
! Undefined control sequence.
l.727 \pdfobj
{ << /Type /Encoding /Differences [ 24 /breve /caron
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.748 \edef\OBJ@pdfdocencoding{\the\pdflastobj
}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! You can't use `end-group character }' after \the.
l.748 \edef\OBJ@pdfdocencoding{\the\pdflastobj}

I'm forgetting what you said and using zero instead.

! Undefined control sequence.
l.749 \pdfobj
{
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.757 \edef\OBJ@ZaDb
{\the\pdflastobj}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.757 \edef\OBJ@ZaDb{\the\pdflastobj
}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! You can't use `end-group character }' after \the.
l.757 \edef\OBJ@ZaDb{\the\pdflastobj}

I'm forgetting what you said and using zero instead.

! Undefined control sequence.
l.758 \pdfobj
{ <<
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.763 /Encoding \OBJ@pdfdocencoding
\space 0 R
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.766 \edef\OBJ@Helv
{\the\pdflastobj}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.766 \edef\OBJ@Helv{\the\pdflastobj
}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! You can't use `end-group character }' after \the.
l.766 \edef\OBJ@Helv{\the\pdflastobj}

I'm forgetting what you said and using zero instead.

! Undefined control sequence.
l.767 \pdfobj
{
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.771 /Font << /ZaDb \OBJ@ZaDb
\space 0 R /Helv \OBJ@Helv\space0 R >>
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.771 .../ZaDb \OBJ@ZaDb\space 0 R /Helv \OBJ@Helv
\space0 R >>
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.777 \edef\OBJ@acroform
{\the\pdflastobj}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.777 \edef\OBJ@acroform{\the\pdflastobj
}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! You can't use `end-group character }' after \the.
l.777 \edef\OBJ@acroform{\the\pdflastobj}

I'm forgetting what you said and using zero instead.

! Undefined control sequence.
l.780 \let\Hy@escapestring
\@firstofone
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.781 \def\Hy@escapeform
#1{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
1
l.781 \def\Hy@escapeform#1
{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Undefined control sequence.
l.797 \let\Hy@escapestring
\@firstofone
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.800 \def\Hy@@escapeform
#1\Hy@escapestring#2#3\@nil{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
1
l.800 \def\Hy@@escapeform#1
\Hy@escapestring#2#3\@nil{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Undefined control sequence.
l.800 \def\Hy@@escapeform#1\Hy@escapestring
#2#3\@nil{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
2
l.800 \def\Hy@@escapeform#1\Hy@escapestring#2
#3\@nil{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
3
l.800 \def\Hy@@escapeform#1\Hy@escapestring#2#3
\@nil{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Undefined control sequence.
l.800 ...Hy@@escapeform#1\Hy@escapestring#2#3\@nil
{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
2
l.803 ...def\csname Hy@esc@\string#2\endcsname{#2}
%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Argument of \strip@prefix has an extra }.
<inserted text>
\par
l.803 ...def\csname Hy@esc@\string#2\endcsname{#2}
%
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
\relax
! Paragraph ended before \strip@prefix was complete.
<to be read again>
\par
l.803 ...def\csname Hy@esc@\string#2\endcsname{#2}
%
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Undefined control sequence.
<argument> \Hy@@escapeform
##3\@nil
l.807 \fi

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
3
l.807 \fi

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Undefined control sequence.
<argument> \Hy@@escapeform ##3\@nil

l.807 \fi

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.819 \def\PDFForm@Check
{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.822 /T (\Hy@escapestring
{\Fld@name})
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.822 /T (\Hy@escapestring{\Fld@name
})
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.831 /CA (\Hy@escapestring
{\Fld@cbsymbol})
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.838 \def\PDFForm@Push
{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.841 /T(\Hy@escapestring
{\Fld@name})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.841 /T(\Hy@escapestring{\Fld@name
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.849 /A<</S/JavaScript/JS(\Hy@escapestring
{\Fld@onclick})>>%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.849 ...vaScript/JS(\Hy@escapestring{\Fld@onclick
})>>%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.851 \def\Fld@additionalactions
{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.895 \def\PDFForm@List
{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.898 /T(\Hy@escapestring
{\Fld@name})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.898 /T(\Hy@escapestring{\Fld@name
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.913 /DV(\Hy@escapestring
{\Fld@default})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.913 /DV(\Hy@escapestring{\Fld@default
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.917 /V(\Hy@escapestring
{\Fld@value})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.917 /V(\Hy@escapestring{\Fld@value
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.919 \Fld@additionalactions

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.920 \Fld@flags

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.922 \def\PDFForm@Radio
{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.925 /T(\Hy@escapestring
{\Fld@name})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.925 /T(\Hy@escapestring{\Fld@name
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.940 /V/\Fld@default

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.944 \Fld@additionalactions

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.946 \def\PDFForm@Text
{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.949 /T(\Hy@escapestring
{\Fld@name})
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.949 /T(\Hy@escapestring{\Fld@name
})
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.961 /DV(\Hy@escapestring
{\Fld@default})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.961 /DV(\Hy@escapestring{\Fld@default
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.962 /V(\Hy@escapestring
{\Fld@value})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.962 /V(\Hy@escapestring{\Fld@value
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.963 \Fld@additionalactions

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.975 \def\PDFForm@Submit
{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.978 /T(\Hy@escapestring
{\Fld@name})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.978 /T(\Hy@escapestring{\Fld@name
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.990 /F(\Hy@escapestring
{\Form@action})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.990 /F(\Hy@escapestring{\Form@action
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.995 \def\PDFForm@Reset
{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.998 /T(\Hy@escapestring
{\Fld@name})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.998 /T(\Hy@escapestring{\Fld@name
})%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
4
l.1009 \def\Hy@writebookmark#1#2#3#4
#5{% section number, text, label, level,...
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
5
l.1009 \def\Hy@writebookmark#1#2#3#4#5
{% section number, text, label, level,...
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Missing number, treated as zero.
<to be read again>
##
l.1012 \ifnum#
4>\Hy@bookmarksdepth\relax
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Missing = inserted for \ifnum.
<to be read again>
##
l.1012 \ifnum#
4>\Hy@bookmarksdepth\relax
I was expecting to see `<', `=', or `>'. Didn't.

! Missing number, treated as zero.
<to be read again>
##
l.1012 \ifnum#
4>\Hy@bookmarksdepth\relax
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
4
l.1012 \ifnum#4
>\Hy@bookmarksdepth\relax
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Undefined control sequence.
l.1017 \def\Hy@currentbookmarklevel
{0}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
l.1018 \def\Hy@numberline
#1{#1 }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
1
l.1018 \def\Hy@numberline#1
{#1 }
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
1
l.1018 \def\Hy@numberline#1{#1
}
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Undefined control sequence.
l.1019 \def\@@writetorep
#1#2#3#4#5{%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
1
l.1019 \def\@@writetorep#1
#2#3#4#5{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
2
l.1019 \def\@@writetorep#1#2
#3#4#5{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
3
l.1019 \def\@@writetorep#1#2#3
#4#5{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
4
l.1019 \def\@@writetorep#1#2#3#4
#5{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
5
l.1019 \def\@@writetorep#1#2#3#4#5
{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Illegal parameter number in definition of \OBJ@pdfdocencoding.
<to be read again>
5
l.1021 \edef\Hy@tempa{#5
}%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

! Missing \endcsname inserted.
<to be read again>
\def
l.1089 \renewcommand\pdfbookmark[3][0]{
%
The control sequence marked <to be read again> should
not appear between \csname and \endcsname.

! Undefined control sequence.
\GenericError ...
#4 \errhelp \@err@ ...
l.1089 \renewcommand\pdfbookmark[3][0]{
%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\GenericError ...
\let \@err@ ...
l.1089 \renewcommand\pdfbookmark[3][0]{
%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\GenericError ...
\@empty \def \MessageBreak...
l.1089 \renewcommand\pdfbookmark[3][0]{
%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Argument of \reserved@a has an extra }.
<inserted text>
\par
l.1089 \renewcommand\pdfbookmark[3][0]{
%
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
\space already defined.\MessageBreak Or name \@backslashchar \@qend .\ETC.
! Paragraph ended before \reserved@a was complete.
<to be read again>
\par
l.1089 \renewcommand\pdfbookmark[3][0]{
%
(That makes 100 errors; please try again.)
Here is how much of TeX's memory you used:
6362 strings out of 95775
90350 string characters out of 1190200
174257 words of memory out of 1500000
9381 multiletter control sequences out of 10000+50000
4403 words of font info for 15 fonts, out of 1200000 for 2000
36 hyphenation exceptions out of 8191
49i,1n,69p,212b,221s stack positions out of 5000i,500n,6000p,200000b,5000s

No pages of output.


When I try to view the file with XeTex or export it to a pdf, I get the following (in the parenthesis is the description):

undefined control sequence ( \pdfoutput
=1
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.)

LaTex error missing \begin{document} ( \pdfoutput=
1
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.)

undefined control sequence [three times all the same] ( \pdfcompresslevel
=9
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.)

you can't use 'end-group character }' after \the ( \edef\OBJ@pdfdocencoding{\the\pdflastobj}
I'm forgetting what you said and using zero instead.)

again undefined control sequence and
can't use 'end-group character }' after \the various times

Illegal parameter number in definition of \OBJ@pdfdocencoding ( \def\Hy@escapeform#1
{%
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.)

Argument of \strip@prefix has an extra } ( ...def\csname Hy@esc@\string#2\endcsname{#2}
%
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.)

Paragraph ended before the \strip@prefix was complete ( ...def\csname Hy@esc@\string#2\endcsname{#2}
%
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.)

Again many intermixed undefined control sequence and illegal parameters

Then missing number, treated as zero ( \ifnum#
4>\Hy@bookmarksdepth\relax
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook)

Missing=inserted for \ifnum ( \ifnum#
4>\Hy@bookmarksdepth\relax
I was expecting to see `<', `=', or `>'. Didn't.)

Again many intermixed undefined control sequence and illegal parameters and missing number

Missing \endcsname inserted (\renewcommand\pdfbookmark[3][0]{
%
The control sequence marked <to be read again> should
not appear between \csname and \endcsname.)

Again three undefined control sequence

Argument of \reserved@a has an extra } ( \renewcommand\pdfbookmark[3][0]{
%
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
)


As you can see it is all messed up and I believe it is because the original files (even in Lyx) were supposed to work for Tex not Xetex. Is there something that can be done?
All the best
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Lyx, XeTex and the classicthesis template

Post by meho_r »

1. First, please, edit your post and put that large code between code and /code, with brackets, like this:

Code: Select all

[code] your code here
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[/code] This way it is much simpler to read and doesn't take too much space ;)

2. About XeTeX (XeLaTeX), you did read the manual (which can be found here?) It contains explanations about using Xe(La)TeX and examples.

3. Did you set up Xe(La)TeX in LyX correctly? You may find some infos about it here.

4. I'll take a look at classicthesis template and try to test it.
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Re: Lyx, XeTex and the classicthesis template

Post by clemens »

Thanks for the advice and the links.
I am a complete beginner with latex and I don't know very well how code works. For this reason I have been using Lyx instead of Latex proper. Anyhow I don't have too many problems writing preambles or pieces of code if I know what to put.
I have gone briefly through the fontspec guide you kindly gave me the link of but since I don't know much about latex code I don't know what I would need to change to get the classic thesis template working.
I checked the Xetex installation again and it works well since I can get proper pdf files using a plain lyx file (no template) with the proper preamble for East Asian characters.
I'm in your hands :)
By the way I was also wondering if there was a way to modify the template's fonts with Times Ext Roman or simply make a preamble that would override the template's font setting.
Basically I would like to use the classic thesis template with the Times Ext Roman (ttf with tons of diacritics) and the Hiragino Mincho Pro (otf for Japanese).
Cheers

By the way the Lyx ported version of classic thesis is here:
http://www.soundsorange.net/resources/c ... s-for-lyx/
this is the one I have been trying to use with XeTex
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Lyx, XeTex and the classicthesis template

Post by meho_r »

This is really messy job :-) Too many customizations. Works with LaTeX (when commented \newrefformat lines in "preamble.sty") but with XeTeX every time you solved one, there is another problem.

BTW, what is the main reason for you decide using this template? If it's design (e.g. Bringhurst style of displaying chapters, sections etc.) you may get similar with memoir class (although you'll have to do some reading, but will do you good for future work; and memoir manual is fantastic).

However, if I succeed with classicthesis template, will let you know. But it will take some time...
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Re: Lyx, XeTex and the classicthesis template

Post by clemens »

Thank you very much for going through the template with XeTex form me, you are really kind.
I wanted to use the classic template because it seemed the most comprehensive and the result looked, to my inexperienced eye, the best. I thought that since I was starting with something new, that it would have been good to try the best. Anyhow I do not necessarily need to use this specific template. The basic things I need is a template with a front page (possibly inserting an image), some front matter, a table of contents and then various chapters with sub-chapters, footnotes and quotations, some appendixes a references section, a list of images and the images proper (I really liked the way the classic thesis template displays the chapter numbers and other little details, but, after all, they are not necessary). Do you think memoir class will do? It works all right with Xetex, doesn't it?
I also have one last question, if possible. How do I set the default fonts for the file to Times Ext Roman? When I was going through some classes I saw that in the settings section only the specific families could be chosen, not the specific font name (apart for the Asian font, where I need to put the name)
Thank you again for all your help. If you succeed in fixing the classic thesis template also let me know since in the future it would be really nice to use it.
All the best
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Lyx, XeTex and the classicthesis template

Post by meho_r »

I always prefer to use my own customization in a doc, not someone elses. In the case of classictheses there are many and eventually you'll have to study them if any changes would be necessary. The template is OK, but if you have time, you better start from scratch and learn how to customize doc to look as you like. Since you're new to LaTeX, you may start with, e.g., Not so short introduction to LaTeX or LaTeX -- A Primer

Memoir class will definitely do all you're asking. Check its documentation, search for "headstyles" and "chapterstyles" (you may even combine different headstyles and chapterstyles, and observe the effect), you'll find some examples and preview of them. And yes, works fine with XeLaTeX.

In the attachment is a very basic example (it's a .lyx file, so replace .tex extension with .lyx and open it with LyX). Take a look at preamble (answer to your question about Times Ext Roman font) and try other chapterstyles from memoir manual (from p.127). Don't forget to change "Minion Pro" font in the Preamble with "Times Ext Roman" or some other that you have installed on your computer before running XeLaTeX.

If you have any question, ask, there are many nice people here and some LaTeX gurus who will solve any problem you encounter. I'll try to help you get going and about some basics ;-)

Happy LaTeXing :-)
Attachments
Test.tex
This is a LyX file, not "plain" .tex
(6.26 KiB) Downloaded 559 times
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Re: Lyx, XeTex and the classicthesis template

Post by clemens »

Thank you very much for all the help and for the file, I really appreciate it.
I will start trying to develop my own style right away :)
Knowing that there are many nice people ready to help me is quite reassuring.
I'll let you know how it goes.
All the best

Ps. I don't understand the test file much. If I try to make a pdf out of it, I get tons of errors and no pdf. The log is the following:
This is XeTeXk, Version 3.141592-2.2-0.996-patch2 (Web2C 7.5.6) (format=xelatex 2009.7.1) 21 AUG 2009 22:39
entering extended mode
%&-line parsing enabled.
**Test.tex
(./Test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, italian, ukenglish, loaded.

(/usr/share/texmf-texlive/tex/latex/memoir/memoir.cls
Document Class: memoir 2005/09/25 v1.618 configurable document class
\onelineskip=\skip41
\lxvchars=\skip42
\xlvchars=\skip43
\@memcnta=\count79
\stockheight=\skip44
\stockwidth=\skip45
\trimtop=\skip46
\trimedge=\skip47
(/usr/share/texmf-texlive/tex/latex/memoir/mem10.clo
File: mem10.clo 2002/07/27 v0.2 memoir class 10pt size option
)
\spinemargin=\skip48
\foremargin=\skip49
\uppermargin=\skip50
\lowermargin=\skip51
\headdrop=\skip52
\normalrulethickness=\skip53
\headwidth=\skip54
\c@storedpagenumber=\count80
\thanksmarkwidth=\skip55
\thanksmarksep=\skip56
\droptitle=\skip57
\abstitleskip=\skip58
\absleftindent=\skip59
\abs@leftindent=\dimen102
\absrightindent=\skip60
\absparindent=\skip61
\absparsep=\skip62
\c@part=\count81
\c@chapter=\count82
\c@section=\count83
\c@subsection=\count84
\c@subsubsection=\count85
\c@paragraph=\count86
\c@subparagraph=\count87
\beforechapskip=\skip63
\midchapskip=\skip64
\afterchapskip=\skip65
\chapindent=\skip66
\bottomsectionskip=\skip67
\secindent=\skip68
\beforesecskip=\skip69
\aftersecskip=\skip70
\subsecindent=\skip71
\beforesubsecskip=\skip72
\aftersubsecskip=\skip73
\subsubsecindent=\skip74
\beforesubsubsecskip=\skip75
\aftersubsubsecskip=\skip76
\paraindent=\skip77
\beforeparaskip=\skip78
\afterparaskip=\skip79
\subparaindent=\skip80
\beforesubparaskip=\skip81
\aftersubparaskip=\skip82
\pfbreakskip=\skip83
\c@@ppsavesec=\count88
\c@@ppsaveapp=\count89
\ragrparindent=\dimen103
\parsepi=\skip84
\topsepi=\skip85
\itemsepi=\skip86
\parsepii=\skip87
\topsepii=\skip88
\topsepiii=\skip89
\m@msavetopsep=\skip90
\m@msavepartopsep=\skip91
\@enLab=\toks14
\c@vslineno=\count90
\c@poemline=\count91
\c@modulo@vs=\count92
\vleftskip=\skip92
\vrightskip=\skip93
\stanzaskip=\skip94
\versewidth=\skip95
\vgap=\skip96
\vindent=\skip97
\vleftmargin=\dimen104
\c@verse=\count93
\c@chrsinstr=\count94
\beforepoemtitleskip=\skip98
\afterpoemtitleskip=\skip99
\c@poem=\count95
\beforePoemTitleskip=\skip100
\midPoemTitleskip=\skip101
\afterPoemTitleskip=\skip102
\col@sep=\dimen105
\extrarowheight=\dimen106
\NC@list=\toks15
\extratabsurround=\skip103
\backup@length=\skip104
\TX@col@width=\dimen107
\TX@old@table=\dimen108
\TX@old@col=\dimen109
\TX@target=\dimen110
\TX@delta=\dimen111
\TX@cols=\count96
\TX@ftn=\toks16
\heavyrulewidth=\dimen112
\lightrulewidth=\dimen113
\cmidrulewidth=\dimen114
\belowrulesep=\dimen115
\belowbottomsep=\dimen116
\aboverulesep=\dimen117
\abovetopsep=\dimen118
\cmidrulesep=\dimen119
\cmidrulekern=\dimen120
\defaultaddspace=\dimen121
\@cmidla=\count97
\@cmidlb=\count98
\@aboverulesep=\dimen122
\@belowrulesep=\dimen123
\@thisruleclass=\count99
\@lastruleclass=\count100
\@thisrulewidth=\dimen124
\ctableftskip=\skip105
\ctabrightskip=\skip106
\abovecolumnspenalty=\count101
\@linestogo=\count102
\@cellstogo=\count103
\@cellsincolumn=\count104
\crtok=\toks17
\@mincolumnwidth=\dimen125
\c@newflo@tctr=\count105
\@contcwidth=\skip107
\@contindw=\skip108
\abovecaptionskip=\skip109
\belowcaptionskip=\skip110
\subfloattopskip=\skip111
\subfloatcapskip=\skip112
\subfloatcaptopadj=\skip113
\subfloatbottomskip=\skip114
\subfloatlabelskip=\skip115
\subfloatcapmargin=\dimen126
\c@@contsubnum=\count106
\beforeepigraphskip=\skip116
\afterepigraphskip=\skip117
\epigraphwidth=\skip118
\epigraphrule=\skip119
LaTeX Info: Redefining \em on input line 4895.
LaTeX Info: Redefining \emph on input line 4903.
\tocentryskip=\skip120
\tocbaseline=\skip121
\cftparskip=\skip122
\cftbeforepartskip=\skip123
\cftpartindent=\skip124
\cftpartnumwidth=\skip125
\cftbeforechapterskip=\skip126
\cftchapterindent=\skip127
\cftchapternumwidth=\skip128
\cftbeforesectionskip=\skip129
\cftsectionindent=\skip130
\cftsectionnumwidth=\skip131
\cftbeforesubsectionskip=\skip132
\cftsubsectionindent=\skip133
\cftsubsectionnumwidth=\skip134
\cftbeforesubsubsectionskip=\skip135
\cftsubsubsectionindent=\skip136
\cftsubsubsectionnumwidth=\skip137
\cftbeforeparagraphskip=\skip138
\cftparagraphindent=\skip139
\cftparagraphnumwidth=\skip140
\cftbeforesubparagraphskip=\skip141
\cftsubparagraphindent=\skip142
\cftsubparagraphnumwidth=\skip143
\c@maxsecnumdepth=\count107
\bibindent=\dimen127
\bibitemsep=\skip144
\indexcolsep=\skip145
\indexrule=\skip146
\indexmarkstyle=\toks18
\@indexbox=\insert233
\glossarycolsep=\dimen128
\glossaryrule=\dimen129
\sideparvshift=\skip147
\sideins=\insert232
\sidebarhsep=\skip148
\sidebarvsep=\skip149
\sidebarwidth=\skip150
\footmarkwidth=\skip151
\footmarksep=\skip152
\footparindent=\skip153
\footinsdim=\skip154
\footinsv@r=\insert231
\@mpfootinsv@r=\insert230
\m@m@k=\count108
\m@m@h=\dimen130
\m@mipn@skip=\skip155
\c@sheetsequence=\count109
\c@lastsheet=\count110
\c@lastpage=\count111
\every@verbatim=\toks19
\afterevery@verbatim=\toks20
\verbatim@line=\toks21
\tab@position=\count112
\verbatim@in@stream=\read1
\verbatimindent=\skip156
\verbatim@out=\write3
\bvboxsep=\skip157
\c@bvlinectr=\count113
\bvnumlength=\skip158
\FrameRule=\dimen131
\FrameSep=\dimen132
\c@cp@cntr=\count114
LaTeX Info: Redefining \: on input line 8292.
LaTeX Info: Redefining \! on input line 8294.
\c@ism@mctr=\count115
\c@xsm@mctr=\count116
\c@csm@mctr=\count117
\c@ksm@mctr=\count118
\c@xksm@mctr=\count119
\c@cksm@mctr=\count120
\c@msm@mctr=\count121
\c@xmsm@mctr=\count122
\c@cmsm@mctr=\count123
\c@bsm@mctr=\count124
\c@workm@mctr=\count125
\c@figure=\count126
\c@lofdepth=\count127
\c@lofdepth=\count127
\cftbeforefigureskip=\skip159
\cftfigureindent=\skip160
\cftfigurenumwidth=\skip161
\c@table=\count127
\c@lotdepth=\count128
\c@lotdepth=\count128
\cftbeforetableskip=\skip162
\cfttableindent=\skip163
\cfttablenumwidth=\skip164
Package abstract emulated by memoir.
Package appendix emulated by memoir.
Package array emulated by memoir.
Package booktabs emulated by memoir.
Package ccaption emulated by memoir.
Package chngcntr emulated by memoir.
Package chngpage emulated by memoir.
Package crop emulated by memoir.
Package dcolumn emulated by memoir.
Package delarray emulated by memoir.
Package enumerate emulated by memoir.
Package epigraph emulated by memoir.
Package framed emulated by memoir.
Package ifmtarg emulated by memoir.
Package ifpdf emulated by memoir.
Package index emulated by memoir.
Package makeidx emulated by memoir.
Package moreverb emulated by memoir.
Package needspace emulated by memoir.
Package newfile emulated by memoir.
Package nextpage emulated by memoir.
Package patchcmd emulated by memoir.
Package shortvrb emulated by memoir.
Package showidx emulated by memoir.
Package tabularx emulated by memoir.
Package titleref emulated by memoir.
Package titling emulated by memoir.
Package tocbibind emulated by memoir.
Package tocloft emulated by memoir.
Package verbatim emulated by memoir.
Package verse emulated by memoir.
(/usr/share/texmf-texlive/tex/latex/memoir/mempatch.sty
File: mempatch.sty 2007/01/22 v4.8 Patches for memoir class v1.618
\m@mscap@capbox=\box26
\m@mscap@fbox=\box27
\sidecapsep=\dimen133
\sidecapwidth=\dimen134
\m@m@tempdima=\dimen135
\m@mscapraise=\dimen136
\sidecapraise=\dimen137
\m@mscapmainwidth=\dimen138
\m@mscaplkern=\dimen139
\c@book=\count128
\cftbeforebookskip=\skip165
\cftbookindent=\dimen140
\cftbooknumwidth=\dimen141
\c@pagenote=\count129
Package pagenote emulated by memoir.
\cftbeforesectionskip=\skip166
\cftsectionindent=\skip167
\cftsectionnumwidth=\skip168
\cftbeforesubsectionskip=\skip169
\cftsubsectionindent=\skip170
\cftsubsectionnumwidth=\skip171
\cftbeforesubsubsectionskip=\skip172
\cftsubsubsectionindent=\skip173
\cftsubsubsectionnumwidth=\skip174
\cftbeforeparagraphskip=\skip175
\cftparagraphindent=\skip176
\cftparagraphnumwidth=\skip177
\cftbeforesubparagraphskip=\skip178
\cftsubparagraphindent=\skip179
\cftsubparagraphnumwidth=\skip180
\cftbeforefigureskip=\skip181
\cftfigureindent=\skip182
\cftfigurenumwidth=\skip183
\cftbeforetableskip=\skip184
\cfttableindent=\skip185
\cfttablenumwidth=\skip186
\everylistparindent=\dimen142
Package setspace emulated by memoir.
\memPD=\dimen143
Package parskip emulated by memoir.
\m@mabparskip=\skip187
\itemsepii=\skip188
\itemsepiii=\skip189
\partopsepiii=\skip190
\sidebartopsep=\skip191
\c@lofdepth=\count130
\c@lotdepth=\count131
)) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty
Package: fontspec 2006/12/24 v1.13 Advanced font selection for XeLaTeX
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2006/08/21 v0.3 Provides ifxetex conditional
)
\c@zf@newff=\count132
\c@zf@index=\count133
\c@zf@script=\count134
\c@zf@language=\count135
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty
Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
\calc@Acount=\count136
\calc@Bcount=\count137
\calc@Adimen=\dimen144
\calc@Bdimen=\dimen145
\calc@Askip=\skip192
\calc@Bskip=\skip193
LaTeX Info: Redefining \setlength on input line 75.
LaTeX Info: Redefining \addtolength on input line 76.
\calc@Ccount=\count138
\calc@Cskip=\skip194
) (/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2006/11/18 v2.5f package option processing (HA)
(/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.tex
\XKV@toks=\toks22
\XKV@depth=\count139
File: xkeyval.tex 2006/11/18 v2.5f key=value parser (HA)
(/usr/share/texmf-texlive/tex/latex/xkeyval/keyval.tex))) (/usr/share/texmf/tex
/latex/lm/lmodern.sty
Package: lmodern 2007/01/14 v1.3 Latin Modern Fonts
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> OT1/lmr/m/n on input line 13.
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
(Font) OML/cmm/m/it --> OML/lmm/m/it on input line 14.
LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
(Font) OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 15.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 16.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 17.
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
(Font) OML/cmm/b/it --> OML/lmm/b/it on input line 18.
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
(Font) OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 19.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 20.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 22.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> OT1/lmss/m/n on input line 23.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> OT1/lmr/m/it on input line 24.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 27.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 28.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 29.
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/xelatex/euenc/eu1enc.def
File: eu1enc.def 2006/08/13 v0.1a Experimental unicode font encoding
)
LaTeX Font Info: Try loading font information for EU1+lmr on input line 100.

(/usr/share/texmf-texlive/tex/xelatex/euenc/lm/eu1lmr.fd
File: eu1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern
))
LaTeX Info: Redefining \itshape on input line 1050.
LaTeX Info: Redefining \slshape on input line 1053.
LaTeX Info: Redefining \scshape on input line 1056.
LaTeX Info: Redefining \upshape on input line 1059.
fontspec.cfg loaded.
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.cfg)) (/usr/share/texmf
-texlive/tex/xelatex/xltxtra/xltxtra.sty
Package: xltxtra 2006/06/13 v0.2 Improvements for the XeTeX/LaTeX format
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
) (/etc/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: xetex.def on input line 90.
(/usr/share/texmf-texlive/tex/xelatex/graphics/xetex.def
File: xetex.def 2006/08/10 v0.92 LaTeX color/graphics driver for XeTeX (RRM, mo
d. JK)
))
\Gin@req@height=\dimen146
\Gin@req@width=\dimen147
) (/usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty
File: xunicode.sty 2005/02/26 v0.5 provides access to latin accents and many ot
her characters in Unicode lower plane
)
\xxt@kern@Te=\skip195
\xxt@kern@eX=\skip196
\xxt@lower@e=\skip197
\xxt@kern@La=\skip198
\xxt@kern@aT=\skip199
\xxt@kern@eL=\skip200
LaTeX Info: Redefining \TeX on input line 36.
LaTeX Info: Redefining \LaTeX on input line 42.
(/usr/share/texmf-texlive/tex/latex/etex/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count140
) (/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty
Package: fixltx2e 2006/03/24 v1.1n fixes to LaTeX
LaTeX Info: Redefining \em on input line 420.
LaTeX Info: Redefining \textsubscript on input line 424.
)
LaTeX Info: Redefining \em on input line 101.
LaTeX Info: Redefining \emph on input line 110.
LaTeX Info: Redefining \- on input line 115.
LaTeX Info: Redefining \textsubscript on input line 125.
LaTeX Info: Redefining \textsuperscript on input line 154.
)

! LaTeX Error: Unknown option `no-sscript' for package `xltxtra'.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.14 \usepackage
{xunicode}
The option `no-sscript' was not declared in package `xltxtra', perhaps you
misspelled its name. Try typing <return> to proceed.

Package fontspec Info: Times Ext Roman scale = 0.96364 on input line 18.

Package fontspec Warning: OpenType feature 'Numbers=OldStyle' (+onum) not avail
able in font "Times Ext Roman/ICU", script 'Latin', language 'Default' on input
line 18.

\c@zf@famc@Times Ext Roman=\count141
Package fontspec Info: Defining font family for "Times Ext Roman" with options
[Scale=MatchLowercase,Mapping=tex-text,Numbers=OldStyle] on input line 18.
Package fontspec Info: Times Ext Roman scale = 0.96364 on input line 18.

Package fontspec Warning: OpenType feature 'Numbers=OldStyle' (+onum) not avail
able in font "Times Ext Roman/ICU", script 'Latin', language 'Default' on input
line 18.

Package fontspec Info: Times Ext Roman/B scale = 0.94405 on input line 18.

Package fontspec Warning: OpenType feature 'Numbers=OldStyle' (+onum) not avail
able in font "Times Ext Roman Bold/ICU", script 'Latin', language 'Default' on
input line 18.

Package fontspec Info: Times Ext Roman/I scale = 0.97534 on input line 18.

Package fontspec Warning: OpenType feature 'Numbers=OldStyle' (+onum) not avail
able in font "Times Ext Roman Italic/ICU", script 'Latin', language 'Default' o
n input line 18.

Package fontspec Info: Times Ext Roman/BI scale = 0.9522 on input line 18.

Package fontspec Warning: OpenType feature 'Numbers=OldStyle' (+onum) not avail
able in font "Times Ext Roman Bold Italic/ICU", script 'Latin', language 'Defau
lt' on input line 18.

LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/m/n' will be
(Font) scaled to size 9.63638pt on input line 18.
! Undefined control sequence.
l.21 \headstyles
{bringhurst}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.21 \headstyles{b
ringhurst}
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.

(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
Package: babel 2005/11/23 v3.8h The Babel package
(/usr/share/texmf-texlive/tex/generic/babel/english.ldf
Language: english 2005/03/30 v3.3o English support from the babel system
(/usr/share/texmf-texlive/tex/generic/babel/babel.def
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel@savecnt=\count142
\U@D=\dimen148
)
\l@british = a dialect from \language\l@english
\l@UKenglish = a dialect from \language\l@english
\l@canadian = a dialect from \language\l@american
\l@australian = a dialect from \language\l@british
\l@newzealand = a dialect from \language\l@british
))
No file Test.aux.
\openout1 = `Test.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
\symlegacymaths=\mathgroup4
LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 29.
LaTeX Font Info: Redeclaring math accent \acute on input line 29.
LaTeX Font Info: Redeclaring math accent \grave on input line 29.
LaTeX Font Info: Redeclaring math accent \ddot on input line 29.
LaTeX Font Info: Redeclaring math accent \tilde on input line 29.
LaTeX Font Info: Redeclaring math accent \bar on input line 29.
LaTeX Font Info: Redeclaring math accent \breve on input line 29.
LaTeX Font Info: Redeclaring math accent \check on input line 29.
LaTeX Font Info: Redeclaring math accent \hat on input line 29.
LaTeX Font Info: Redeclaring math accent \dot on input line 29.
LaTeX Font Info: Redeclaring math accent \mathring on input line 29.
LaTeX Font Info: Redeclaring math symbol \colon on input line 29.
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 29.
LaTeX Font Info: Redeclaring math symbol \Delta on input line 29.
LaTeX Font Info: Redeclaring math symbol \Theta on input line 29.
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 29.
LaTeX Font Info: Redeclaring math symbol \Xi on input line 29.
LaTeX Font Info: Redeclaring math symbol \Pi on input line 29.
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 29.
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 29.
LaTeX Font Info: Redeclaring math symbol \Phi on input line 29.
LaTeX Font Info: Redeclaring math symbol \Psi on input line 29.
LaTeX Font Info: Redeclaring math symbol \Omega on input line 29.
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 29.
LaTeX Font Info: Redeclaring symbol font `operators' on input line 29.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `normal' on input line 29.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/lmr/m/n --> EU1/TimesExtRoman(0)/m/n on input line
29.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `bold' on input line 29.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/lmr/bx/n --> EU1/TimesExtRoman(0)/m/n on input line
29.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) EU1/TimesExtRoman(0)/m/n --> EU1/TimesExtRoman(0)/m/n o
n input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal'
(Font) EU1/TimesExtRoman(0)/m/n --> EU1/TimesExtRoman(0)/m/n o
n input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/lmr/m/it --> EU1/TimesExtRoman(0)/m/it on input lin
e 29.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/lmr/bx/n --> EU1/TimesExtRoman(0)/bx/n on input lin
e 29.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/lmss/m/n --> EU1/lmss/m/n on input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/lmtt/m/n --> EU1/lmtt/m/n on input line 29.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) EU1/TimesExtRoman(0)/m/n --> EU1/TimesExtRoman(0)/bx/n
on input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
(Font) EU1/TimesExtRoman(0)/m/n --> EU1/TimesExtRoman(0)/bx/n
on input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/lmr/bx/it --> EU1/TimesExtRoman(0)/bx/it on input l
ine 29.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/lmss/bx/n --> EU1/lmss/bx/n on input line 29.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/lmtt/m/n --> EU1/lmtt/bx/n on input line 29.
[1

] [2

]
LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/m/sc' undefined
(Font) using `EU1/TimesExtRoman(0)/m/n' instead on input line 31.
LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/m/n' will be
(Font) scaled to size 6.74547pt on input line 31.
LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/m/n' will be
(Font) scaled to size 4.81819pt on input line 31.
LaTeX Font Info: Try loading font information for OML+lmm on input line 31.
(/usr/share/texmf/tex/latex/lm/omllmm.fd
File: omllmm.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMS+lmsy on input line 31.

(/usr/share/texmf/tex/latex/lm/omslmsy.fd
File: omslmsy.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMX+lmex on input line 31.

(/usr/share/texmf/tex/latex/lm/omxlmex.fd
File: omxlmex.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <10> on input line 31.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <7> on input line 31.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <5> on input line 31.
LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/m/n' will be
(Font) scaled to size 10.55183pt on input line 31.
LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/m/n' will be
(Font) scaled to size 7.7091pt on input line 35.
LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/m/n' will be
(Font) scaled to size 5.78183pt on input line 35.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <8> on input line 35.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <6> on input line 35.
LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/m/n' will be
(Font) scaled to size 11.56366pt on input line 71.
LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/bx/n' will be
(Font) scaled to size 11.32855pt on input line 71.

Underfull \vbox (badness 10000) has occurred while \output is active []

[3]
LaTeX Font Info: Font shape `EU1/TimesExtRoman(0)/m/sc' will be
(Font) scaled to size 9.63638pt on input line 107.
[4] (./Test.aux)
LaTeX Font Info: Some font shapes were not available, defaults substituted.
)
Here is how much of TeX's memory you used:
7742 strings out of 95775
116534 string characters out of 1190200
233424 words of memory out of 1500000
10794 multiletter control sequences out of 10000+50000
8938 words of font info for 44 fonts, out of 1200000 for 2000
36 hyphenation exceptions out of 8191
37i,12n,68p,345b,261s stack positions out of 5000i,500n,6000p,200000b,5000s

Output written on Test.pdf (4 pages).
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Re: Lyx, XeTex and the classicthesis template

Post by clemens »

Baisically my Lyx with XeTex does not accept the following commands:
\usepackage[no-sscript]{xltxtra}
\headstyles{bringhurst}
\chapterstyle{thatcher}

It would be really nice to set the styles this simply in the preamble, but somehow it keeps on giving me errors
What should I do?
Post Reply