ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Bart C. Wise" <bntgcontext@wiseguysweb.com>
To: ntg-context@ntg.nl
Subject: Re: End Notes and Minimals
Date: Thu, 27 Nov 2008 13:43:07 -0700	[thread overview]
Message-ID: <200811271343.07823.bntgcontext@wiseguysweb.com> (raw)
In-Reply-To: <40DB006E-327D-4C99-8E41-5151F36937FB@gmail.com>

Thanks Wolfgang.

I looked at Taco's diff file and changed the routines in syst-lua.lua.  
However, I followed you're lead and changed core-job.lua and it works!  Yes 
the footnotes come out.

New problem (also happens on MkII), if there are a lot of end notes, instead 
of going to the next page after the first page is filled, they go to the 
bottom of the first page and dissappear off the bottom.  The page count 
appears to be correct, but the notes are the second page.

How to I get the footnotes (end notes) to appear on more than one page.  I'm 
using footnote/placefootnotes combination to product the end notes.

Help!

Bart

On Thursday 27 November 2008 13:04, Wolfgang Schuster wrote:
> Am 27.11.2008 um 20:44 schrieb Bart C. Wise:
> > Hans,
> >
> > I tried the changes, but now footnotes do not appear at all!
> >
> > Here's a copy of the code that I used (combining both Hans' and
> > Taco's changes
> > -- although I tried several variants).
> >
> > local s = lpeg.Ct(lpeg.splitat(","))
> > local h = { }
> >
> > function commands.doifcommonelse(a,b)
> >        local ha = h[a]
> >        local hb = h[b]
> >        if not ha then ha = {s:match(a)} h[a] = ha end
> >        if not hb then hb = {s:match(b)} h[b] = hb end
> >        for i=1,#ha do
> >                for j=1,#hb do
> >                        if ha[i] == hb[j] then
> >                                return cs.testcase(true)
> >                        end
> >                end
> >        end
> >        return cs.testcase(false)
> > end
> >
> > function commands.doifinsetelse(a,b)
> >        local hb = h[b]
> >        if not hb then hb = {s:match(b)} h[b] = hb end
> >        for i=1,#hb do
> >                if a == hb[i] then
> >                        return cs.testcase(true)
> >                end
> >        end
> >        return cs.testcase(false)
> > end
> >
> > Ideas?
>
> You should tell us what you have done, I replaced the old function
> in core-job.lua with the new from Hans and I get endnotes with your
> test file.
>
> Wolfgang
>
> ___________________________________________________________________________
>________ 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________
>________
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-11-27 20:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25 13:57 Bart C. Wise
2008-11-25 18:39 ` Bart C. Wise
2008-11-25 18:47   ` Wolfgang Schuster
2008-11-26 22:22     ` Bart C. Wise
2008-11-27  9:40       ` Taco Hoekwater
2008-11-27 10:17         ` Hans Hagen
2008-11-27 19:44           ` Bart C. Wise
2008-11-27 20:04             ` Wolfgang Schuster
2008-11-27 20:43               ` Bart C. Wise [this message]
2008-11-27 21:00                 ` Wolfgang Schuster
2008-11-27 22:26                   ` Bart C. Wise

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=200811271343.07823.bntgcontext@wiseguysweb.com \
    --to=bntgcontext@wiseguysweb.com \
    --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).