ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerben Wierda <Gerben.Wierda@rna.nl>
To: ntg-context@ntg.nl
Subject: End notes and compile per chapter question
Date: Mon, 21 Jul 2008 10:19:23 +0200	[thread overview]
Message-ID: <997D48DC-6626-4FEB-ACE5-AA14B6E37D50@rna.nl> (raw)

I have a book project with a structure I copied a few years ago from  
some instructional page. The product file looks like this:

> \startproduct prd_book
> \project project_teoada
>
> \starttext
> \start
> \startstandardmakeup \ss
> \hairline \start
> \switchtobodyfont[20pt]\bf
> \leftaligned{Test Project Title}%
> \stop \hairline \blank[line]\rightaligned{Gerben Wierda}%
> \blank[10cm]\start\leftskip=10cm\hairline\stop
> \rightaligned{1995--2006}%
> \stopstandardmakeup
> \stop
>
> \startfrontmatter
> 	\completecontent
> 	\component c_foo
> \stopfrontmatter
> \startbodymatter
> 	\component c_bar
> 	\component c_foobar
> \stopbodymatter
> \startappendices
> 	\component c_endnotes
> \stopappendices
>
> \stoptext
>
> \stopproduct

My book has per page notes as well as more lengthy end notes which end  
up in a chapter at the end of the book. c_endnotes.tex looks like this:

> \startcomponent c_endnotes
> \product prd_book
> \project project_teoada
>
> \starttext
> \startbuffer [chapter:quote]
> ToDo
> \stopbuffer
> \chapter[h:endnotes]{Notes}
>
> \placenotes[endnote]
>
> \stoptext
>
> \stopcomponent


But I would at this stage like to compile the chapters per chapter.  
This works, but if I compile c_chapter1.tex, I do not get the endnotes  
of the chapter.

How do I go about it that when compiling per chapter, I get the  
endnotes for that chapter at the end of that file, while when  
compiling the entire book they go at the end of the book as they should?

Thanks,

G
___________________________________________________________________________________
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-07-21  8:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-21  8:19 Gerben Wierda [this message]
2008-07-28 15:52 ` Taco Hoekwater

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=997D48DC-6626-4FEB-ACE5-AA14B6E37D50@rna.nl \
    --to=gerben.wierda@rna.nl \
    --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).