ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* resetting footnote counter
@ 2018-08-09 15:21 Robert Zydenbos
  2018-08-09 15:48 ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: Robert Zydenbos @ 2018-08-09 15:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

What I've done is the following: I've made a zip archive (see attachment) with a few relevant files – the two first files that will be a part of the book: preface.tex and how-to-use.tex, together with an environment file manual-environment-xasia.tex with a lot of settings, and the starting file sample.tex which puts everything together.

This does not need odd things like exotic fonts, and it does not contain uncommon tables etc. I've changed the main font to TeX Gyre Termes, which all of us have (so I assume, since it comes with the major TeX distributions), so there should be no problems there either; but if there is an error message, you can comment out line 12 in manual-environment-xasia.tex and de-comment line 13 to turn the font into Times (or you can change the name of the font to anything you have on your computer). 

Right now I am using an iMac with the latest OS installed.

The 'footnotes' will be placed at the end of the chapters (i.e., they will be endnotes).

If you run sample.tex through ConTeXt and XeTeX (i.e., MkII) and look at the final page, you will see that the footnote / endnote marker has not been reset.

Robert

> On 9. Aug 2018, at 16:37, Aditya Mahajan <adityam@umich.edu> wrote:
> 
> On Thu, 9 Aug 2018, Robert Zydenbos wrote:
> 
>> I have tried ‘\resetcounter [footnote]’ (a suggested solution on that web page), but it does not work (at least not in MkII+XeTeX). ‘\setupcounter [footnote] [0]’ (also suggested on that web page) is rejected as an error.
> 
> Can you post a minimal example. Because the following works in MKII (counter reset at each chapter) […]


[-- Attachment #2: endnote-sample.zip --]
[-- Type: application/zip, Size: 12429 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 15+ messages in thread
* resetting footnote counter
@ 2018-08-08 13:33 Robert Zydenbos
  2018-08-08 13:55 ` Taco Hoekwater
  2018-08-08 15:48 ` Aditya Mahajan
  0 siblings, 2 replies; 15+ messages in thread
From: Robert Zydenbos @ 2018-08-08 13:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

A simple footnote question this time. I would like to print endnotes at the end of every chapter in my book, and then reset the footnote counter so that in the next chapter the first note will be ‘1’ again. I suppose this should be done by means of \setupfootnotes – but with which parameter?

Robert
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-08-09 15:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-09 15:21 resetting footnote counter Robert Zydenbos
2018-08-09 15:48 ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2018-08-08 13:33 Robert Zydenbos
2018-08-08 13:55 ` Taco Hoekwater
2018-08-08 14:54   ` Pablo Rodriguez
2018-08-08 15:03     ` Robert Zydenbos
2018-08-08 15:20       ` Wolfgang Schuster
2018-08-08 15:36       ` Pablo Rodriguez
2018-08-08 22:01         ` Robert Zydenbos
2018-08-09 12:49           ` Robert Zydenbos
2018-08-09 14:37             ` Aditya Mahajan
2018-08-09 15:18               ` Robert Zydenbos
2018-08-09 15:23             ` Wolfgang Schuster
2018-08-08 15:48 ` Aditya Mahajan
2018-08-08 15:59   ` 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).