[texhax] fatal errors with footnote italics for critical edition

Uwe Lück uwe.lueck at web.de
Fri Jul 10 19:33:07 CEST 2009


Hi Rebecca, thanks for the file.

At 20:26 09.07.09, crebecca at uchicago.edu wrote:
>  We \edt{came}{\A{came \sout{here} H}} the \edt{25th}{\A{five and 
> twentieth, F}}
>to \edt{Mohatch}{\A{\I{Mohatch} F}}, and were shewed the field near it, where
>\edt{Lewis}{\A{\I{Lewis}, F}}{\B{Halsband notes that ``LM copied [from 
>Rycaut's
>\I{History of the Turks}] as she admits at the end of the letter," but 
>this passage
>paraphrases and references without copying (Rycaut, 602-3).}}
[...]
>]! TeX capacity exceeded, sorry [input stack size=5000].
>\\->\x at protect \\
>                  \protect \\
>l.57 ...ferences without copying (Rycaut, 602-3).}
>                                                   } the young King of 
> Hungar...
>!  ==> Fatal error occurred, no output PDF file produced!

OK, I get the same. But

>  We \edt{came}{\A{came \sout{here} H}} the \edt{25th}{\A{five and 
> twentieth, F}}
>to \edt{Mohatch}{\A{\I{Mohatch} F}}, and were shewed the field near it, where
>\edt{Lewis}{\A{\I{Lewis}, F}\B{Halsband notes that ``LM copied [from Rycaut's
>\I{History of the Turks}] as she admits at the end of the letter," but 
>this passage
>paraphrases and references without copying (Rycaut, 602-3).}}

is alright. `}{' before `\B' removed. As I guessed: *all* the footnote 
commands for one lemma (first argument of \edtext=\edt) must (or better 
should, for the safe way) be in the second argument of \edtext:

>\edt{<lemma>}{\A{<Anote>}\B{<Bnote>}}

I knew EDMAC better, where \text{<lemma>}<commands>/ was the model for 
ledmac's \edtext{<lemma>}{<commands>}.

My guess about \morenoexpands was wrong, sorry. It seems to deal with main 
text formatting only, not with formatting notes.

Happy TeXing,

     Uwe.


> >     > >At 18:49 01.07.09, you wrote:
> >     > >>Nothing changes when I move around the
> >     preamble elements -
> >     > >> it's still \moreexpands undefined.
> >     > >> >
> >     > >> >>---- Original message ----
> >     > >> >> >Date: Wed, 01 Jul 2009 16:24:52 +0200
> >     > >> >> >From: Uwe Lück <uwe.lueck at web.de>
> >     > >> >> >Subject: Re: [texhax] fatal errors with
> >     footnote italics for critical
> >     > >> >> edition
> >     > >> >> >To: <crebecca at uchicago.edu>
> >     > >> >> >Cc: texhax at tug.org
> >     > >> >> >
> >     > >> >> >Sorry, mistyped, must be:
> >     > >> >> >
> >     > >> >> >1. Put all footnote commands into the
> >     second argument of
> >     > \edt=\edtext
> >     > >> >> >
> >     > >> >> >2. In your document preamble, place
> >     > >> >> >
> >     > >> >> > Â  Â
> >     \renewcommand{\morenoexpands}{\let\textit=0}
> >     > >> >> >
> >     > >> >> >This extends \no at expands. If you get
> >     problems with \uline as well:
> >     > >> >> >
> >     > >> >> > Â  Â
> >     \renewcommand{\morenoexpands}{\let\textit=0\let\uline=0}
> >     > >> >> >
> >     > >> >> >and so on when new problems appear. Or
> >     \let\I=0 if you really never
> >     > use
> >     > >> >> >\textit.
> >     > >> >> >
> >     > >> >> >HTH -- Uwe.
> >     > >> >> >
> >     > >> >> >
> >     > >> >> >>
> >     > >> >> >>---- Original message ----
> >     > >> >> >> >Date: Wed, 01 Jul 2009 12:48:41 +0200
> >     > >> >> >> >From: Uwe Lueck <uwe.lueck at web.de>
> >     > >> >> >> >Subject: Re: [texhax] fatal errors
> >     with footnote italics for critical
> >     > >> >> >> edition
> >     > >> >> >> >To: crebecca at uchicago.edu, texhax
> >     <texhax at tug.org>
> >     > >> >> >> >Cc: Vafa Khalighi
> >     <vafa at users.berlios.de>
> >     > >> >> >> >
> >     > >> >> >> ><crebecca at uchicago.edu> schrieb am
> >     30.06.2009 16:51:08:
> >     > >> >> >> >> For a critical edition (Mac OS,
> >     ledmac, TeXShop, all latest
> >     > >> versions)
> >     > >> >> >> with
> >     > >> >> >>double
> >     > >> >> >> >> footnotes, my B footnotes are
> >     vulnerable to random "fatal
> >     > errors"
> >     > >>when
> >     > >> >> >> text
> >     > >> >> >>is
> >     > >> >> >> >> italicized. Â These fatal errors
> >     tend to happen when B footnotes
> >     > >> >> follow A
> >     > >> >> >> >> footnotes, or when B footnotes reach
> >     some kind of length or
> >     > >>formatting
> >     > >> >> >>limit.
> >     > >> >> >> >> The error disappears when the
> >     italicization is removed.
> >     > >> >> >> >>
> >     > >> >> >> >> Error first, preamble next. Â Both
> >     \textit and my macro \I
> >     > generate
> >     > >>the
> >     > >> >> >> same
> >     > >> >> >> >> error. Â  Â Other macros: \edt =
> >     \edtext  \A = Afootnote  \B =
> >     > >>Bfootnote
> >     > >> >> >> >>
> >     > >> >> >> >> \edt{ananas}{\A{\I{Ananasses} F;
> >     Anana's H}}{\B{pineapples (Fr.
> >     > >> >> >> \I{ananas})}},
> >     > >> >> >> >> \edt{which to my taste}{\A{\sout{I}
> >     to H; which, to my taste, F}}
> >     > >> >> >> >>
> >     > >> >> >> >> (./Letter19final.aux)
> >     > >> >> >> >> (/usr/local/texlive/2008/texmf-
> >     > dist/tex/latex/psnfss/ot1ptm.fd)
> >     > >> >>Section 1
> >     > >> >> >> >> (./Letter19final.1)
> >     > >> >> >> >> ! TeX capacity exceeded, sorry
> >     [input stack size=5000].
> >     > >> >> >> >> \@nomath ...e \@font at warning
> >     {Command \noexpand #1
> >     > >> >> >> >> Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â
> >     Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  invalid in
> >     math
> >     > >> >> >> mode}\fi
> >     > >> >> >> >> l.43 ...nana's H}}{\B{pineapples
> >     (Fr. \I{ananas})}
> >     > >> >> >> >> Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â
> >     Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  },
> >     \edt{which
> >     > >> to my
> >     > >> >> >> taste}...
> >     > >> >> >> >>
> >     > >> >> >> >> ! Â ==> Fatal error occurred, no
> >     output PDF file produced!
> >     > >> >> >> >> Transcript written on
> >     Letter19final.log.
> >     > >> >> >> >>
> >     > >> >> >> >> \documentclass[12pt]{article}
> >     > >> >> >> >> \title{Turkish Embassy Letters}
> >     > >> >> >> >> \author{ed. Rebecca Chung}
> >     > >> >> >> >> Â \renewcommand{\rmdefault}{ptm}
> >     > >> >> >> >>
> >     > >> >> >> >> \newcommand{\A}{\Afootnote}
> >     > >> >> >> >> \newcommand{\B}{\Bfootnote}
> >     > >> >> >> >> \newcommand{\edt}{\edtext}
> >     > >> >> >> >> \newcommand{\I}{\textit}
> >     > >> >> >> >> \newcommand{\U}{\uline}
> >     > >> >> >> >> \newcommand{\OED}{(\I{OED})}
> >     > >> >> >> >> \newcommand{\CL}{\I{Complete
> >     Letters}}
> >     > >> >> >> >>
> >     > >> >> >> >> \usepackage{ledmac}



More information about the texhax mailing list