ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid ادريس سماوي حامد via ntg-context" <ntg-context@ntg.nl>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: "Idris Samawi Hamid ادريس سماوي حامد" <Idris.Hamid@colostate.edu>
Subject: Forbid footnotes from splitting across pages
Date: Tue, 02 Aug 2022 19:05:08 -0600	[thread overview]
Message-ID: <op.1qavyurgejo439@desktop-mt1m160> (raw)

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

Dear gang,

Objectives:

i)  Prevent footnotes from splitting across a page or pagebreak
ii) Make sure that the footnote reference number in the main text is  
always on the same page as the footnote.

Yes, the result may not be pretty, but for some manuscript submissions it  
will make sense.

In the attached MWE (copied below), footnote 3 gets split across the page,  
despite [split=verystrict]. Indeed, split=verystrict seems to do nothing.

(Reproducing case ii) is more difficult.)

Thank you in advance for your help.

==============
% \setupalign[flushleft,nothyphenated]
\setupnote[footnote][split=verystrict]
% \setupnotation[footnote][split=verystrict]

\starttext
\input ward\
\startfootnote
\input knuth
\stopfootnote{}
\dorecurse{3}{\input ward\ }
\startfootnote
\input knuth
\stopfootnote{}
\dorecurse{2}{\input ward\ }
\startfootnote
\input knuth
\stopfootnote{}
\dorecurse{3}{\input ward\ }
\startfootnote
\input knuth
\stopfootnote{}
\stoptext
==============

Best wishes
Idris
-- 
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512

[-- Attachment #2: split-footnotes.pdf --]
[-- Type: application/pdf, Size: 21087 bytes --]

[-- Attachment #3: split-footnotes.tex --]
[-- Type: application/x-tex, Size: 438 bytes --]

[-- Attachment #4: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2022-08-03  1:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03  1:05 Idris Samawi Hamid ادريس سماوي حامد via ntg-context [this message]
2022-08-03 13:47 ` Pablo Rodriguez via ntg-context
2022-08-03 14:21   ` Hamid,Idris via ntg-context

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=op.1qavyurgejo439@desktop-mt1m160 \
    --to=ntg-context@ntg.nl \
    --cc=Idris.Hamid@colostate.edu \
    /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).