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