...

For example I would like to have footnote marker SansSerif.

You're lucky that currently i'm merging in the experimental multiple footnote and line notes modules (needed by idris cum suis); so adding a few additional keys was easy:


\starttext

\setupcolors[state=start]
\setupfootnotes[textcommand=\high,textstyle=\ss\tx,textcolor=red]

test \footnotetext{test} test test \note\ test

test \footnotetext{test} test test \notesymbol[footnote]\ test

\stoptext

If I would do it with the conversion key like this...

\setupbodyfont[4pt]
\setupinterlinespace[line=45pt]

\definefont [FNfont][Sans at 10.5pt]\def\setfootnotebodyfont{\FNfont\setupinterlinespace[line=13pt]}
\definefont [FNXfont][Serif at 10.5pt]\setupfootnotedefinition[style=\FNXfont]

btw, you can say: \definefont [FNfont][Sans at 10.5pt][interlinespace=13pt]


\defineconversion[HowAboutIt][\ss]
\setupfootnotes[conversion=HowAboutIt,numbercommand=]

hm, this is not what conversion is meant for -) conversion is fed a number so you end up in a mix up of conversion and font switching and actully luck that you get something


... then suddenly the number in front of the footnote text becomes 4pt.
If I do it without conversion...
\setupfootnotes[numbercommand=]
... then the number in front of the footnote text is 19.5 -- as defined in FNfont.


That's why I felt the conversion key is not so reliable in this case.

a good observation -)


Hans

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to