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
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) […]
You disable the chapter counter with \setuphead [chapter] [incrementnumber=no] which prevents the reset of the footnote counter. Wolfgang Robert Zydenbos schrieb am 09.08.18 um 17:21:
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
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) […]
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (2)
-
Robert Zydenbos
-
Wolfgang Schuster