From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: footnotes rewritten
Date: Tue, 21 Feb 2012 11:11:51 +0100 [thread overview]
Message-ID: <08CAF983-5CAB-4525-A0A4-4C727C904E82@st.estfiles.de> (raw)
Hi,
as the footnotes mechanism was rewritten, there are several things that don't work anymore (as expected).
I collected some of them in my minimal below:
The lines with "<- OK!" do work, those marked with "<- ???" don't.
Could someone please help me with the new syntax context expects now?
Thanks,
Steffen
-------
% concering subfootnote
\definestructureseparatorset [footnote][][]
\definestructureconversionset[footnote][numbers,characters][numbers] % <- ???
\setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote]
% footnote's rule
\unexpanded\def\MyRule{\startcolor[orange]\vrule width18mm height0.4pt\vskip2mm\stopcolor}
% footnote's interlineskip etc.
\startsetups footnotesetup
\setupinterlinespace[line=9.8pt, height=.79,depth=.21]
\lineskiplimit-\maxdimen
\setupwhitespace[2pt]
\stopsetups
% footnotes bottom page
\def\newFNnumber#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[16pt]#1}}% size of number in front of FN-text <- ???
\def\MyNote#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[8pt]#1}}% size of number in front of FN-text <- ???
%%
\setupnote[footnote][before=\vskip3.0mm,textcolor=red,rule=\MyRule]% distance lowest line of main text to ruler <- ???
\setupnote[footnote][bottom=\strut\vskip5pt]% flushbottom adjustment <- OK!
%%
\setupnote[footnote]
[split=strict,
symbolcommand=\gobbleoneargument,% switch for triangle
textcommand=\MyNote,% size of number in front of FN-text <- ???
numbercommand=\newFNnumber,% size of number in front of FN-text <- ???
setups=footnotesetup,
align={block,hanging},% <- OK!
bodyfont={rm,9pt}]% <- OK!
%%-----------------------------------------------------------------------%
\def\newFNcommand#1{\hskip10pt#1\enskip\strut}%
\setupnotation[before={\hfuzz0pt\setupinteraction[color=red,contrastcolor=darkgray]},after={\setupinteraction[color=black]},command=\newFNcommand,indentnext=yes,indenting={10pt,yes},location=serried]% <- ???
\starttext
\dorecurse{3}{test\footnote{\input ward \par} text %
\dorecurse{3}{test\subfootnote{\input ward \par} text } }
\stoptext
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2012-02-21 10:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 10:11 Steffen Wolfrum [this message]
2012-02-21 20:24 ` Steffen Wolfrum
2012-02-22 10:44 ` Thomas A. Schmitz
2012-02-22 11:21 ` Steffen Wolfrum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08CAF983-5CAB-4525-A0A4-4C727C904E82@st.estfiles.de \
--to=context@st.estfiles.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).