[NTG-context] Font for enumeration

Willi Egger w.egger at boede.nl
Fri Dec 29 19:01:37 CET 2006


Hi Rolf,

Here I tested two situations and they work, though with a small adaptation:

I bought once the Lino-Type Palatino, which includes also oldstyle 
figures in one of the fonts. This font-collection works correctly also 
with Taco's definition

\def\varosfnumbers#1{{\Var[osf] #1}}

On the otherhand the LM-fonts did not reveal the required result, ending 
with a message concerning a non loadable tfm ...
Yet it works with the following adaptation of Taco's macro:

\usetypescript[modern][texnansi]
\setupbodyfont[modern,rm,12pt]

\def\varosfnumbers#1{{\os #1}}
\defineconversion[varosf][\varosfnumbers]

\starttext
\startitemize[varosf]
\item this
\item that
\item the other
\stopitemize
\stoptext

Kind regards

Willi


Rolf Marvin Bøe Lindgren wrote:
> On 29. des. 2006, at 10:39, Taco Hoekwater wrote:
>
>   
>> Untested, but should work:
>>
>>    \def\varosfnumbers#1{{\Var[osf] #1}}
>>
>>    \defineconversion[varosf][\varosfnumbers]
>>
>>    \startitemize[varosf]
>>    \item this
>>    \item that
>>    \item the other
>>    \stopitemize
>>     
>
> alas, no:
>
> ----------------------
> systems         : begin file rekruttering-i-oljesektoren at line 29
> title           : - Rekruttering i ojesektoren
> ! Argument of \pp!doifinstringelse has an extra }.
> <inserted text>
>                  \par
> <to be read again>
>                     }
> \dolistitem ...ue {\@@localitemsymbol \itemlevel }
>                                                    }\resetunexpanded  
> \headite...
>
> \complexdoitemgroupitem ...norespaces \dolistitem
>                                                    \ifpackeditems  
> \setupwhite...
> <to be read again>
>                     J
> l.59 \item J
>              obbanalyser: Her bør det muligens bygges opp noe.  Det er
> ----------------------
>
>
> any suggestions?
>
>   


More information about the ntg-context mailing list