* footnotes rewritten
@ 2012-02-21 10:11 Steffen Wolfrum
2012-02-21 20:24 ` Steffen Wolfrum
0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2012-02-21 10:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: footnotes rewritten
2012-02-21 10:11 footnotes rewritten Steffen Wolfrum
@ 2012-02-21 20:24 ` Steffen Wolfrum
2012-02-22 10:44 ` Thomas A. Schmitz
0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2012-02-21 20:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am I the only one who uses footnotes ?
;o)
Steffen
Am 21.02.2012 um 11:11 schrieb Steffen Wolfrum:
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: footnotes rewritten
2012-02-21 20:24 ` Steffen Wolfrum
@ 2012-02-22 10:44 ` Thomas A. Schmitz
2012-02-22 11:21 ` Steffen Wolfrum
0 siblings, 1 reply; 4+ messages in thread
From: Thomas A. Schmitz @ 2012-02-22 10:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 02/21/2012 09:24 PM, Steffen Wolfrum wrote:
> Am I the only one who uses footnotes ?
>
> ;o)
>
> Steffen
>
No, I'm using footnotes too, and the current implementation is an
absolute disaster. I get weird and unexpected behavior as well.
1. Footnotes are shifted to the following page. This puts a huge black
triangle at the position of the footnote marker. I have no idea how to
get rid of it, and I have no idea why this is the default behavior -
nobody wants that in printed documents, I suppose?
2. Footnote numbers in the footnotes themselves are shifted one line down.
Luckily, I still have 2011.11.29 around, which doesn't have these
problems. Hans had warned about the current beta a few days ago; I hope
things will calm down in the not-too-distant future...
Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: footnotes rewritten
2012-02-22 10:44 ` Thomas A. Schmitz
@ 2012-02-22 11:21 ` Steffen Wolfrum
0 siblings, 0 replies; 4+ messages in thread
From: Steffen Wolfrum @ 2012-02-22 11:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 22.02.2012 um 11:44 schrieb Thomas A. Schmitz:
> On 02/21/2012 09:24 PM, Steffen Wolfrum wrote:
>> Am I the only one who uses footnotes ?
>>
>> ;o)
>>
>> Steffen
>>
>
> No, I'm using footnotes too, and the current implementation is an absolute disaster. I get weird and unexpected behavior as well.
>
> 1. Footnotes are shifted to the following page. This puts a huge black triangle at the position of the footnote marker. I have no idea how to get rid of it, and I have no idea why this is the default behavior - nobody wants that in printed documents, I suppose?
>
> 2. Footnote numbers in the footnotes themselves are shifted one line down.
>
> Luckily, I still have 2011.11.29 around, which doesn't have these problems. Hans had warned about the current beta a few days ago; I hope things will calm down in the not-too-distant future...
Unfortunately up to vers. 20120125 there is a bug when cite/index/startregister and bookmarks are used in a project.
The first version that solved this bug was vers. 20120208 ... and this already introduced the new footnotes.
The triangle can be switched of by "\setupnote[symbolcommand=\gobbleoneargument]", as Wolfgang knew.
In general we'd need a comprehensive explanation what is new and what has to be changed.
Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-22 11:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-21 10:11 footnotes rewritten Steffen Wolfrum
2012-02-21 20:24 ` Steffen Wolfrum
2012-02-22 10:44 ` Thomas A. Schmitz
2012-02-22 11:21 ` Steffen Wolfrum
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).