Re: [NTG-context] footnotes again

2010-08-04 Thread Thomas A. Schmitz
On Aug 4, 2010, at 1:59 AM, Hans Hagen wrote:

 this works again:
 
 \starttext
 
 \showframe
 
 \setupnotedefinition[footnote][location=left,width=1cm]
 \setupnote[footnote][location=page,numbercommand=]
 
 test \footnote{test}
 
 \stoptext

Great, this is what I need! I have adapted it like so to have the numbers 
flushright in a box:

\starttext

\def\NoteNumber#1{\showboxes\hbox to 16pt{\hbox to 12.5pt{\strut\hfill #1}}}

\showframe

\setupnotedefinition[footnote][location=left,width=16pt]
\setupnote[footnote][location=page,numbercommand=\NoteNumber]

\dorecurse{11}{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
  diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
  erat, sed diam voluptua.\footnote{Lorem ipsum dolor sit amet, consetetur
sadipscing elitr, sed diam nonumy eirmod tempor note \recurselevel
.}\par}

\stoptext

So, before I wikify: \setupnotedefinition[location=left,width=dimension] 
controls the width of the area where the number will be typeset and of the 
indentation. But which key controls whether the number is typeset in the margin 
or in the text area?

Thanks!

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
___


Re: [NTG-context] footnotes again

2010-08-04 Thread Hans Hagen

On 4-8-2010 12:03, Thomas A. Schmitz wrote:


So, before I wikify: \setupnotedefinition[location=left,width=dimension] 
controls the width of the area where the number will be typeset and of the 
indentation. But which key controls whether the number is typeset in the margin or in 
the text area?


location ... note are just descriptions; so there's also distance and so

(btw, in principle, as notes are also list entries, you could call them 
up in an appendix as well, but I didn't test that)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] footnotes again

2010-08-03 Thread Hans Hagen

On 3-8-2010 10:07, Thomas Schmitz wrote:

Hi all,

I'm sorry I have to ask again about footnotes setup. I misunderstood the
style that our publisher wants. Maybe it's easiest when I do a bit of ASCII
art (will only work with a fixed-width font):

| texttexttexttexttex |
| textexttexttexttext |
| |
| 9 footnote 9, more |
| than one line. |
| 10 footnote 10. |

So: the footnote numbers in the footnotes are typeset in a box. This box is
just big enough to hold a three-digit footnote number. Its left edge is
flush with the text area. Within this box, the note number is aligned
flushright. The footnote text itself is one block; this block is indented a
fixed amount: the publisher wants all indentations (normal paragraphs,
blockquotes, footnotes) to be identical; let's say 16pt.

I played with the parameters of \setupnotedefinition and \setupfootnotes
that Wolfgang taught me yesterday, but I just can't find the right
combination.


it's an interaction between parameters (different meaning in notes as 
description) .. side effect of par notes .. need a bit of thinking but 
solvable


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] footnotes again

2010-08-03 Thread Hans Hagen

On 3-8-2010 10:07, Thomas Schmitz wrote:

Hi all,

I'm sorry I have to ask again about footnotes setup. I misunderstood the
style that our publisher wants. Maybe it's easiest when I do a bit of ASCII
art (will only work with a fixed-width font):

| texttexttexttexttex |
| textexttexttexttext |
| |
| 9 footnote 9, more |
| than one line. |
| 10 footnote 10. |

So: the footnote numbers in the footnotes are typeset in a box. This box is
just big enough to hold a three-digit footnote number. Its left edge is
flush with the text area. Within this box, the note number is aligned
flushright. The footnote text itself is one block; this block is indented a
fixed amount: the publisher wants all indentations (normal paragraphs,
blockquotes, footnotes) to be identical; let's say 16pt.

I played with the parameters of \setupnotedefinition and \setupfootnotes
that Wolfgang taught me yesterday, but I just can't find the right
combination.

Will wikify!


this works again:

\starttext

\showframe

\setupnotedefinition[footnote][location=left,width=1cm]
\setupnote[footnote][location=page,numbercommand=]

test \footnote{test}

\stoptext

this has changed (display key):

\setupnote 
[footnote][paragraph=yes,numbercommand=,inbetween=\hskip.5em\vl\hskip.5em]
\setupdescriptions[footnote][display=no,location=serried,distance=.5em] 
% before=,after=


\starttext

\startlocalfootnotes
local 1a\footnote{local note 1a}
local 1b\footnote{local note 1b}
\placelocalfootnotes
\stoplocalfootnotes

\blank
global 1a\footnote{global note 1a}
global 1b\footnote{global note 1b}
\blank

\startlocalfootnotes
local 2a\footnote{local note 2a}
local 2b\footnote{local note 2b}
\placelocalfootnotes
\stoplocalfootnotes

\blank
global 2a\footnote{global note 2a}
global 2b\footnote{global note 2b}
\blank

\startlocalfootnotes
local 3a\footnote{local note 3a}
local 3b\footnote{local note 3b}
\placelocalfootnotes
\stoplocalfootnotes

\blank
global 2a\footnote{\input tufte }
global 2b\footnote{global note 2b}
\blank

\stoptext



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___