From: Johannes Graumann <johannes_graumann@web.de>
Subject: XML and 'Table of Contents'
Date: Fri, 24 Mar 2006 17:17:08 -0800 [thread overview]
Message-ID: <e025nj$s3e$1@sea.gmane.org> (raw)
Hello,
I'm writing a XML style sheet for ConTeXt, which contains the following
definitions:
\defineXMLargument [chapter] {\chapter{\XMLvar{chapter}{title}{}}}
\defineXMLargument [tableofcontents] {\completecontent}
When reading a file like
<document>
<frontmatter>
<titlepage>
...
</titlepage>
<dedication>
...
</dedication>
<aknowledgements>
...
</aknowledgements>
<abstract>
...
</abstract>
<tableofcontents/>
</frontmatter>
<bodymatter>
<chapter>
<title>
Title
</title>
<p>Text.</p>
</chapter>
</bodymatter>
<appendices>
...
</appendices>
</document>
I get the 'Contents' title of the table of contents, but the Chapter does
not show up ... any hints?
Thanks, Joh
next reply other threads:[~2006-03-25 1:17 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-25 1:17 Johannes Graumann [this message]
2006-03-27 9:07 ` Taco Hoekwater
2006-03-27 21:56 ` Johannes Graumann
2006-03-27 11:52 ` Hans Hagen
2006-03-27 22:35 ` Johannes Graumann
2006-03-27 22:41 ` Johannes Graumann
2006-03-28 8:13 ` Hans Hagen
2006-03-28 20:10 ` Johannes Graumann
2006-03-29 10:51 ` Hans Hagen
2006-03-29 17:57 ` Johannes Graumann
2006-04-11 21:35 ` Hans Hagen
2006-04-11 23:58 ` Johannes Graumann
2006-04-02 15:07 ` ! I can't find file `ec-lmr12'. Again! Jilani Khaldi
2006-04-02 16:06 ` Taco Hoekwater
2006-04-02 20:34 ` Jilani Khaldi
2006-04-03 7:46 ` Taco Hoekwater
2006-04-03 12:20 ` Jilani Khaldi
2006-04-03 12:25 ` Taco Hoekwater
2006-04-03 13:30 ` Jilani Khaldi
2006-04-03 9:57 ` frantisek holop
2006-04-03 12:53 ` Jilani Khaldi
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='e025nj$s3e$1@sea.gmane.org' \
--to=johannes_graumann@web.de \
--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).