ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* footnotes on wrong page
@ 2013-07-23 19:22 Alan Bowen
  2013-07-23 20:24 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Bowen @ 2013-07-23 19:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 508 bytes --]

What is the setting that forces ConTeXt to keep footnotes on the page where
they are called?

In the following example,

\setupinteraction[state=start]
\setupnotation[footnote][interaction=yes,way=bytext]

\setupnotation[footnote][split=verystrict]

\starttext
\dorecurse{50}{some text\footnote{a footnote} }
\stoptext

the call for note 42 and the note itself are on different pages. I realize
that this may be an extreme case, but, regrettably, that is what I have in
a review that I am typesetting.

Alan

[-- Attachment #1.2: Type: text/html, Size: 762 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

* Re: footnotes on wrong page
  2013-07-23 19:22 footnotes on wrong page Alan Bowen
@ 2013-07-23 20:24 ` Hans Hagen
  2013-07-24  8:46   ` Alan BRASLAU
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2013-07-23 20:24 UTC (permalink / raw)
  To: ntg-context

On 7/23/2013 9:22 PM, Alan Bowen wrote:
> What is the setting that forces ConTeXt to keep footnotes on the page
> where they are called?
>
> In the following example,
>
> \setupinteraction[state=start]
> \setupnotation[footnote][interaction=yes,way=bytext]
>
> \setupnotation[footnote][split=verystrict]
>
> \starttext
> \dorecurse{50}{some text\footnote{a footnote} }
> \stoptext
>
> the call for note 42 and the note itself are on different pages. I
> realize that this may be an extreme case, but, regrettably, that is what
> I have in a review that I am typesetting.

you use the wrong command and there is also the scope parameter

\setupnotes[footnote][split=verystrict,scope=page]



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

* Re: footnotes on wrong page
  2013-07-23 20:24 ` Hans Hagen
@ 2013-07-24  8:46   ` Alan BRASLAU
  2013-07-24  9:57     ` Marco Patzer
  0 siblings, 1 reply; 10+ messages in thread
From: Alan BRASLAU @ 2013-07-24  8:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: pragma

On Tue, 23 Jul 2013 22:24:50 +0200
Hans Hagen <pragma@wxs.nl> wrote:

> you use the wrong command and there is also the scope parameter
> 
> \setupnotes[footnote][split=verystrict,scope=page]

Can you clarify this? The syntax is confusing, probably because it has
evolved.

Currently, I use:
	\setupnotation [footnote] [way=bypage,numberconversion=set 2]
for example, but maybe this is no longer the recommended syntax?

Also, in order to restore gobbled space following,%
\startfootnote
\stopfootnote
I use the following setup:
	\setupnote [footnote] [next={ }]
So \setupnotation, \setupnote, \setupnotes is confusing.

Of course, there is
	strc-not.mkvi:\let\setupnotes\setupnote
so \setupnotes is just a synonym for \setupnote.
And then there is also:
	strc-not.mkvi:\let\setupnotations\setupnotation

From what I understand, footnotes can be handled using different
mechanisms, and this is why it gets confusing for users.

Alan
___________________________________________________________________________________
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] 10+ messages in thread

* Re: footnotes on wrong page
  2013-07-24  8:46   ` Alan BRASLAU
@ 2013-07-24  9:57     ` Marco Patzer
  2013-07-24 10:23       ` Schmitz Thomas A.
  0 siblings, 1 reply; 10+ messages in thread
From: Marco Patzer @ 2013-07-24  9:57 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 299 bytes --]

On 2013–07–24 Alan BRASLAU wrote:

> From what I understand, footnotes can be handled using different
> mechanisms, and this is why it gets confusing for users.

http://wiki.contextgarden.net/Unexpected_behavior#Footnotes:_The_Difference_between_.5Csetupnotation_and_.5Csetupnote

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

* Re: footnotes on wrong page
  2013-07-24  9:57     ` Marco Patzer
@ 2013-07-24 10:23       ` Schmitz Thomas A.
  2013-07-24 11:34         ` Alan Bowen
  2013-07-24 11:48         ` Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Schmitz Thomas A. @ 2013-07-24 10:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Jul 24, 2013, at 11:57 AM, Marco Patzer <homerow@lavabit.com> wrote:

> http://wiki.contextgarden.net/Unexpected_behavior#Footnotes:_The_Difference_between_.5Csetupnotation_and_.5Csetupnote

I wasn't aware of this page - thanks a lot, this is VERY useful!

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

* Re: footnotes on wrong page
  2013-07-24 10:23       ` Schmitz Thomas A.
@ 2013-07-24 11:34         ` Alan Bowen
  2013-07-24 11:43           ` Hans Hagen
  2013-07-24 11:48         ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Alan Bowen @ 2013-07-24 11:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1221 bytes --]

Thanks to all for drawing my attention to the wiki page on \setupnotation
vs \setupnote and thanks to Hans for introducing the scope key.

In the original example, only scope=page gets the footnote calls and the
footnotes on the same page.

So what is the difference between the split and scope keys and what does
scope=text do?

Alan


On Wed, Jul 24, 2013 at 6:23 AM, Schmitz Thomas A. <
thomas.schmitz@uni-bonn.de> wrote:

>
> On Jul 24, 2013, at 11:57 AM, Marco Patzer <homerow@lavabit.com> wrote:
>
> >
> http://wiki.contextgarden.net/Unexpected_behavior#Footnotes:_The_Difference_between_.5Csetupnotation_and_.5Csetupnote
>
> I wasn't aware of this page - thanks a lot, this is VERY useful!
>
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2343 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

* Re: footnotes on wrong page
  2013-07-24 11:34         ` Alan Bowen
@ 2013-07-24 11:43           ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2013-07-24 11:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 7/24/2013 1:34 PM, Alan Bowen wrote:
> Thanks to all for drawing my attention to the wiki page on
> \setupnotation vs \setupnote and thanks to Hans for introducing the
> scope key.

not so much introducing ... the key was already there

> In the original example, only scope=page gets the footnote calls and the
> footnotes on the same page.
>
> So what is the difference between the split and scope keys and what does
> scope=text do?

being even more strict (using different control mechanism)

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

* Re: footnotes on wrong page
  2013-07-24 10:23       ` Schmitz Thomas A.
  2013-07-24 11:34         ` Alan Bowen
@ 2013-07-24 11:48         ` Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2013-07-24 11:48 UTC (permalink / raw)
  To: ntg-context

On 7/24/2013 12:23 PM, Schmitz Thomas A. wrote:
>
> On Jul 24, 2013, at 11:57 AM, Marco Patzer <homerow@lavabit.com> wrote:
>
>> http://wiki.contextgarden.net/Unexpected_behavior#Footnotes:_The_Difference_between_.5Csetupnotation_and_.5Csetupnote
>
> I wasn't aware of this page - thanks a lot, this is VERY useful!

a nice page indeed!


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

* Re: Footnotes on wrong page
  2006-06-05  6:02 Footnotes " jeffdod
@ 2006-06-05 15:35 ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2006-06-05 15:35 UTC (permalink / raw)


jeffdod@netzero.net wrote:
> I wrote about this a few days ago, but did not get a response, perhaps because I included sample code. So...this time I am including the main part of my code so you can perhaps see what I am doing wrong.
>
> My problem is that many of my footnotes show up on the wrong page. Sometimes the text that references the footnote is at the bottom of a page, and the footnote number shows up with a small graphic arrow next to it. In these cases, the actual footnote text will show up on the next page. Also in this case, the footnote number with the footnote text will usually be labeled "1", even though the next footnote after it (the one that really belongs on that page) is numbered "1" also.
>
> Sometimes footnote numbers appear in the text even though there is no footnote on any page that has that number.
>   
the numbering is related to the fact that you use page bound notes; 
since footnotes are 'typeset on the spot' the 1 is already set when tex 
decides to move the note; (ok, i can probably cook up a solution for 
this, but it's kind of hairy)

concerning moved notes: you can play with

[split=tolerant|strict|verystrict|default|some-number]

as footnote options

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Footnotes on wrong page
@ 2006-06-05  6:02 jeffdod
  2006-06-05 15:35 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: jeffdod @ 2006-06-05  6:02 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

I wrote about this a few days ago, but did not get a response, perhaps because I included sample code. So...this time I am including the main part of my code so you can perhaps see what I am doing wrong.

My problem is that many of my footnotes show up on the wrong page. Sometimes the text that references the footnote is at the bottom of a page, and the footnote number shows up with a small graphic arrow next to it. In these cases, the actual footnote text will show up on the next page. Also in this case, the footnote number with the footnote text will usually be labeled "1", even though the next footnote after it (the one that really belongs on that page) is numbered "1" also.

Sometimes footnote numbers appear in the text even though there is no footnote on any page that has that number.

Any help is appreciated.

Jeff Dodson


_____________________________________________________________________
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: test.tex --]
[-- Type: text/x-tex, Size: 4355 bytes --]

% Use t-ancientgreek module for typesetting ancient Koine Greek
\usemodule[ancientgreek][font=Aristarcoj,scale=1.1]
%\usemodule[ancientgreek][font=KadmosNew,scale=1]
%\usemodule[ancientgreek][font=GreekGentiumAlt,scale=1]

% Set up custom paper size
\definepapersize[TradePaper][width=6in,height=9in]
\setuppapersize[TradePaper][TradePaper]

% Set up page layout
\setuplayout
[
    topspace=.3in,
    %bottomspace=.25in,
    bottomspace=0in,
    bottom=.25in,
    bottomdistance=.1in,
    cutspace=0in,
    backspace=.5in,
    header=.2in,
    headerdistance=.1in,
    footer=0in,
    rightmargin=0in,
    leftmargin=0in,
    height=8.15in,
    width=4.75in
]

% Use 12pt font by default
\setupbodyfont[Serif,11pt]

% Set up line-break tolerance
\setuptolerance[horizontal,space,verytolerant]
\raggedbottom

% Set up indentation parameters
\setupindenting[big,yes]
%\setupindenting[medium,yes]
\indenting[always]

% Set up inter-paragraph spacing
\setupwhitespace[medium]

% Set up a counter that will act as our footnote label
\newcounter\fnumlabel

% Set up special command to turn off default footnote numbers next to footnote text
\def\deffnumsoff#1{\tfxx}

% Set up footnotes in paragraph form (n=0) with proper font size, etc., and no default footnote numbers.
% Footnote numbers will be part of actual footnote text.
\setupfootnotes[n=0,bodyfont=9pt,way=bypage,before=\crlf\hairline,textcommand=\vii\high,style=\it\vii,rule=off,numbercommand=\deffnumsoff,split=tolerant]

% Left-justify footnotes
\setupfootnotedefinition[distance=0pt]

% Set up custom macro to replace default \footnote macro. This macro will include the footnote number
% as part of the footnote text and then increment the footnote label counter for the next footnote.
\def\fnote#1#2{\footnote[\fnumlabel]{\note[\fnumlabel]\localgreek{#1}, \ix{\it{#2}}}\increment\fnumlabel}

% Set up footnotes so that there is hyphenation
%\setupnote[footnote][align={normal,hyphenated}]
\setupnote[footnote][align={nothyphenated,stretch,verytolerant}]

% Set up macros to handle drop-cap chapter numbers
%\def\DropChapOne{\DroppedCaps{}{Serif}{4\baselineskip}{0pt}{2\baselineskip}{3}}
\def\DropChapOne{\DroppedCaps{}{Serif}{2.4\baselineskip}{5pt}{1\baselineskip}{2}}
\def\DropChap{\DroppedCaps{}{Serif}{2.4\baselineskip}{5pt}{1\baselineskip}{2}}

% Set up marker for verses
\definemarking[verse][verses]

%
% Text formatting macros:
%

% Very large dropped number for first chapter number of book
\def\bookbeg#1#2{\DropChapOne{#1}\marking[verse]{#1:#2}}

% Large dropped number for subsequent chapter numbers
\def\chapnum#1#2{\par\DropChap{#1}\marking[verse]{#1:#2}}

% Smaller, bold number followed by a non-breaking space for verse numbers
\def\versenum#1#2{{\tfx\bf #2}~\marking[verse]{#1:#2}}

% Macro for all Greek text. Note that we turn off hyphenation in this text.
\def\lg#1{\localgreek{#1}}
\def\lag#1{\localaltgreek{#1}}

% Book-style alternating pages
\setuppagenumbering[alternative=doublesided,location=,way=bytext,partnumber=no]
\setupbottomtexts[pagenumber]
\setupbottom[style=\tf,state=high]

% Clear out header texts, then set them up again
\setupheadertexts[]
\setupheadertexts[\setups{text a}][][][\setups{text b}]

% Set up header text for odd pages
\startsetups[text a]
  \hfill
  \getmarking[chapter]
  \hfill
  \llap{\getmarking[verse][first]--\getmarking[verse][last]}
\stopsetups

% Set up header text for even pages
\startsetups[text b]
  \rlap{\getmarking[verse][first]--\getmarking[verse][last]}
  \hfill
  \getmarking[chapter]
  \hfill
\stopsetups

% Hairline under every header
%\setupheader[text][after=\hairline]
\setupbackgrounds[header][text][frame=off,bottomframe=on]

% Special command to turn off chapter title numbers
\def\nochapnum#1{\crlf\crlf\crlf}

% Set up beginning-of-chapter pages so that they don't have headers
\setuphead[chapter][numbercommand=\nochapnum,distance=0pt,header=high,footer=empty,textstyle=\tfd,alternative=middle]

% Make sure footnotes stay with page they are referenced on
\brokenpenalty \zerocount

% No hyphenation please
\nohyphens

\starttext
\part[GospelsAndActs]{Gospels and Acts of the Apostles}
\chapter[Matthew]{\lg{ΚΑΤΑ ΜΑΤΘΑΙΟΝ}}
\input 01_MT.xcoded.utf8
\stoptext

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2013-07-24 11:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-23 19:22 footnotes on wrong page Alan Bowen
2013-07-23 20:24 ` Hans Hagen
2013-07-24  8:46   ` Alan BRASLAU
2013-07-24  9:57     ` Marco Patzer
2013-07-24 10:23       ` Schmitz Thomas A.
2013-07-24 11:34         ` Alan Bowen
2013-07-24 11:43           ` Hans Hagen
2013-07-24 11:48         ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2006-06-05  6:02 Footnotes " jeffdod
2006-06-05 15:35 ` 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).