ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "jeffdod@netzero.net" <jeffdod@netzero.net>
Subject: Footnotes on wrong page
Date: Mon, 5 Jun 2006 06:02:50 GMT	[thread overview]
Message-ID: <20060604.230331.15626.70736@webmail04.nyc.untd.com> (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

             reply	other threads:[~2006-06-05  6:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-05  6:02 jeffdod [this message]
2006-06-05 15:35 ` Hans Hagen
2013-07-23 19:22 footnotes " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060604.230331.15626.70736@webmail04.nyc.untd.com \
    --to=jeffdod@netzero.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).