ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* footnotes again
@ 2010-08-03 20:07 Thomas Schmitz
  2010-08-03 22:15 ` Hans Hagen
  2010-08-03 23:59 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Schmitz @ 2010-08-03 20:07 UTC (permalink / raw)
  To: ntg-context

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!

All best

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

* Re: footnotes again
  2010-08-03 20:07 footnotes again Thomas Schmitz
@ 2010-08-03 22:15 ` Hans Hagen
  2010-08-03 23:59 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2010-08-03 22:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas Schmitz

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: footnotes again
  2010-08-03 20:07 footnotes again Thomas Schmitz
  2010-08-03 22:15 ` Hans Hagen
@ 2010-08-03 23:59 ` Hans Hagen
  2010-08-04 10:03   ` Thomas A. Schmitz
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2010-08-03 23:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas Schmitz

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: footnotes again
  2010-08-03 23:59 ` Hans Hagen
@ 2010-08-04 10:03   ` Thomas A. Schmitz
  2010-08-04 11:13     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas A. Schmitz @ 2010-08-04 10:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: footnotes again
  2010-08-04 10:03   ` Thomas A. Schmitz
@ 2010-08-04 11:13     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2010-08-04 11:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-04 11:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-03 20:07 footnotes again Thomas Schmitz
2010-08-03 22:15 ` Hans Hagen
2010-08-03 23:59 ` Hans Hagen
2010-08-04 10:03   ` Thomas A. Schmitz
2010-08-04 11:13     ` Hans Hagen

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