ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 2 sets of footnotes?
@ 2010-08-05 10:35 Martin Althoff
  2010-08-05 15:21 ` Henning Hraban Ramm
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Althoff @ 2010-08-05 10:35 UTC (permalink / raw)
  To: ntg-context

Hi all, I'm trying to do a (re-)layout for an older book which holds a few challenges for me. Hopefully I can find some help here.

In this book I need to track 2 kinds of footnotes, sidenotes and the original page numbering (I don't replicate the old text flow but put comments where pages originally change). My footnotes follow the current layout/flow, not the original layout.


My prime issue are having 2 sets of footnotes. One set of numbering (numbered 1,2,3...) is reset every section, which I figured out(\setupfootnotes [way=section]). A second set results out of comments the original Author placed into the margins. They are counted a, b, c... and are reset every page. Both are placed at the bottom of the relevant page. A set of sidenotes in the form "R nnn" is used from 1 to the end of the book to indicate the pages and positions where these sidenotes where placed. Currently I am not linking the second set of footnotes i.e. the author notes and the sidenote counter. Though it might be a nice luxury to generate a list of all author notes.

I looked at lists and I suppose footnotes use the list mechanism in the background. But I don't get anywhere with that. Trying to keep track of the author notes, the placing with \placelist[AuthorComment] doesn't seem to work in the example below. Besides, I don't see how they would appear or be placed as footnotes.

In short: How do I get 2 sets of footnotes: one per section, one per page?

Extensive (sorry) example below.

Thanks Martin



\mainlanguage [de]

\setuppapersize[A5][A5]

\usetypescript[palatino]
\setupbodyfont[pagella,12pt]

\setupinmargin[style=\rmx]

\setupindenting[yes,small]
\indenting[next]

\setupfootnotes [way=section]

\definelist[SideNote]
\setuplist[SideNote][width=2em]

\definelist[AuthorComment]
\setuplist[AuthorComment][width=2em,alternative=d]

\starttext
\startfrontmatter
	\completecontent[label=yes,alternative=c]
	\placelist[SideNote]
\stopfrontmatter

% Seite 85


\chapter {Ein Kapitel}

Die Welt

\section {§ 14. Die Idee}

Das blah balh \inmargin[+][R63]{R. 63} \writetolist[SideNote]{1 }{Rand 63} Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat\writetolist[AuthorComment]{a}{YYY ZZZ} nulla pariatur. \footnote{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.} Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\subsection{Header Header}

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\placelist[AuthorComment]

\textrule[top]{Old page break}
\noindent
\inmargin[+][S4]{S. 4}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud \footnote{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit 

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\inmargin[+][R64]{R. 64} \writetolist[SideNote]{2}{Rand 64} Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\section {§ 99. Überhaupt}

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est \inmargin[+][R70]{R. 70} Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


\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] 5+ messages in thread

end of thread, other threads:[~2010-08-10  2:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-05 10:35 2 sets of footnotes? Martin Althoff
2010-08-05 15:21 ` Henning Hraban Ramm
2010-08-06  6:35   ` Martin Althoff
2010-08-06  7:23     ` Hans Hagen
2010-08-10  2:50       ` Martin Althoff

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).