The problem (see below) is solved by removing 3 lines
        \usetypescript[lmodern][\defaultencoding]
        \starttypescript[serif][default][size]
        \stoptypescript

But I introduced these lines because, some time ago, I read in some manual that to get hanging punctuation and so forth with a font, it was necessary to invoke hanging punctuation before installing the font,
say, by writing
        \usetypescript[serif,sans,mono,mm][hanging][normal]
        \setupalign[hz,hanging]
        \setupfootnotes[align={hz,hanging}]
—which meant that Latin Modern had to be reinstalled. This worked well for quite some time, but is it now no longer necessary to do this? My test document does seem to have hanging punctuation without re-installing Latin Modern, but I might be wrong about that.

Alan

On May 2, 2007, at 6:42 PM, Alan Bowen wrote:

The problem is that I no longer seem to be able to produce footnotes when the bodyfont is Latin Modern and I am using Thomas Schmitz’ ancientgreek module.

The following works but only when the two lines installing the ancientgreek module are commented out.

\usetypescript[lmodern][\defaultencoding]
\starttypescript[serif][default][size]
  \definebodyfont[9.5pt,10.5pt][rm][default]
  \definebodyfont[9.5pt,10.5pt][mm][default]
\stoptypescript

\setupbodyfont[lmodern,rm,10.5pt]

%\usemodule[ancientgreek][font=GreekOxoniensis,scale=1.15,%
%                                           altfont=GreekDioxipe,altscale=1.15]

\setupfootnotes[split=verystrict]
\setupfootnotes[conversion=numbers,
        way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal]
        \setupfootnotes[interaction=yes]
\setupnotedefinition[footnote][indenting={big,yes}]
\setupfootnotes[indenting=yes]

\starttext
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Aliquam erat volutpat.%
%
\footnote{Vivamus luctus elit sit amet mi.}
%
\stoptext

If these lines are not commented out, the error message is

! Font \nullfont has only 7 fontdimen parameters.
<to be read again>
                   \advance
\dohighlow ...#2\textfont 2\else #3ex\fi \advance
\scratchdimen #4ex \kern ....

\dogotofixed ...c!color {#1\presetgoto }}}\else #1
                                                  \fi }
\doifreferencefoundelse ...ce \ifreferencefound #2
\else #3\fi \egroup \dores...

\gotobox ...2]} {\hbox {\unknownreference {#2}#1}}
\referenceinfo {<} {#2}\egr...
<argument> ...[\s!fnt :f:\internalfootreference ]}
\fi \doifelse {\noteparame...
...
l.29 \footnote{
               Vivamus luctus elit sit amet mi.}

I am running ConTeXt ver: 2007.04.17 12:51 MKII fmt: 2007.4.24 int: english/english. This is a new problem: it started wuite recently. And there is no problem if I use some font other than Latin Modern.

Any suggestions will be gratefully received.



______________________________________________________________________ _____________ If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
______________________________________________________________________ _____________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to