What I have just tried might be rather ugly and unorthodox, but it
achieves what I want. As you can see from below, after the final chapter
I simply created a 'subject' without giving it a title as such. I
realised I needed the [location=here] to place it below the last item in
the TOC.
So I have what I want, in the end, but am I missing something that is
obvious to others but not to me when you say 'Is there something
stopping you just outputting the line of text after the TOC?' Since the
TOC is created automatically from heads like chapter, section etc., I
don't know (other than the solution I came up with below) how to 'just
output a line of text after the TOC'. I suppose I was imagining a
\writeafterlist command or something like that🙂
Thanks for you help Duncan, since at least it made me look to the end of
the document rather than the beginning of it, as I had been doing.
Julian .....
\stopchapter
\startsubject[title={}]
\writebetweenlist[section][location=here]{\blank[2*big] Note: All
translations throughout the book are my own.}
\stopsubject
\stopbodymatter
\stopdocument
On 8/10/24 21:07, Duncan Hothersall wrote:
You need to write to a list at the end of your document if you want
what you are writing to appear at the end of the list.
Is there something stopping you just outputting the line of text after
the TOC? Do you need it to appear as if it was part of the TOC?
Duncan
On Tue, 8 Oct 2024 at 10:25, jbf <roma83...@gmail.com> wrote:
I am struggling with something that might be simple enough, but...
The author is insisting that on the TOC page, after all the
chapters and their page numbers, I need to add the line (obviously
without any page number associated with it): 'All translations are
by the author'.
I have trie various combinations of \writetolist and
\writebetweenlist, and I can get his comment at the beginning of
the TOC, but I cannot get it at the end, and perhaps with some
vertical space separation from the main list. How can I place it
at the end?
Here is my simple MWE where at least I can get it at the beginning:
\starttochead[title={Contents}]
\setcounter [userpage] [7]
\setupheader[state=stop]
\placecombinedlist[content]
\writebetweenlist[chapter]{All translations are by the author!}
\stoptochead
Julian
___________________________________________________________________________________
If your question is of interest to others as well, please add an
entry to the Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net
(mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :ntg-context@ntg.nl
/https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage :https://www.pragma-ade.nl /https://context.aanhet.net (mirror)
archive :https://github.com/contextgarden/context
wiki :https://wiki.contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________