ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \chapter{} vs \startchapter..\stopchapter
Date: Fri, 9 Nov 2012 09:05:53 +0100	[thread overview]
Message-ID: <CAG5iGsDq8JGyjn2tQjoGZm4N-yQoVzFitpvCPoMr7L5vtNunsw@mail.gmail.com> (raw)
In-Reply-To: <509C0CC3.8040200@meahan.net>


[-- Attachment #1.1: Type: text/plain, Size: 1143 bytes --]

On Thu, Nov 8, 2012 at 8:49 PM, Bill Meahan <subscribed_lists@meahan.net>wrote:

> I note there are two different ways of handling a chapter:
>
> The traditional \chapter{mytitle}
>
> \startchapter[title=mytitle, ownnumber=N ..]
>   blah
> \stopchapter
>
> Is there any difference or advantage/disadvatage to using one method or
> the other?
>

\start<section>.. \stop<section>: tagged pdf.
See
http://wiki.contextgarden.net/Epub



Also
\startchapter[title=mytitle1]
...
\stopchapter
Foo
\startchapter[title=mytitle2]
...
\stopchapter

From a structural point of view, Foo is outside the chapters


\chapter{mytitle1}
...
Foo
\chapter{mytitle2}
...

From a structural point of view, Foo is inside chapter "mytitle1"


Of course
\startchapter[title=mytitle1]
...
Foo
\stopchapter%
\startchapter[title=mytitle2]
...
\stopchapter

is equivalent to
\chapter{mytitle1}
...
Foo
\chapter{mytitle2}
...



So  \start<section>  \stop<section>  can emulate \<section>
but the converse is not true (at least from the p.o.w. of the structure of
the document:
and anyway you can always write your own macros to change the things as you
like  )

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1703 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2012-11-09  8:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-08 19:49 Bill Meahan
2012-11-08 20:24 ` Marco Patzer
2012-11-09  8:05 ` luigi scarso [this message]
2012-11-09 18:12   ` Bill Meahan
2012-11-09 18:25     ` luigi scarso
2012-11-09 18:32       ` Bill Meahan
2012-11-09 18:44         ` luigi scarso
2012-11-09 20:57         ` Hans Hagen
2012-11-10  7:54         ` Alan BRASLAU
2012-11-10 15:10           ` Pontus Lurcock

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=CAG5iGsDq8JGyjn2tQjoGZm4N-yQoVzFitpvCPoMr7L5vtNunsw@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).