From: "Procházka Lukáš Ing." <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Are nested sections possible?
Date: Mon, 14 Mar 2016 09:05:49 +0100 [thread overview]
Message-ID: <op.yea13zg962epfj@lpr> (raw)
In-Reply-To: <20160311175318.2fbf52d6@cea.fr>
[-- Attachment #1: Type: text/plain, Size: 2113 bytes --]
Hello,
one more thing:
It would be nice to allow mixing:
- \section like commands (or \startsection ... \stopsection)
- AND \startsectionlevel ... \stopsectionlevel.
The main problem is that one may NEED to mix:
- (ancient) source files which use \section (deprecated) style
- with more versatile \start-\stopsectionlevel style in newer source files.
See the test attached - only the case 3 works universally with the \start-\stopstructurelevel;
any mixing of sectioning styles doesn't yield a desired result.
Best regards,
Lukas
On Sat, 12 Mar 2016 01:53:18 +0100, Alan BRASLAU <alan.braslau@cea.fr> wrote:
> On Fri, 11 Mar 2016 09:36:01 +0100
> Pablo Rodriguez <oinos@gmx.es> wrote:
>
>> Sorry, Mica, but which is the gain in nesting sections (whether
>> possible or not) over using subsections and subsubsections?
>>
>> I can hardly imagine the sense in the point you’re making. (Sorry, it
>> must be my fault.)
>
> Think about including source in another source, for example.
>
> Say one has an article that becomes a book, or gets included in a book,
> or the book gets parts. In the course of writing, one might decide to
> add an additional level of structure and not want to change all of the
> \start...\stop structure definitions.
>
> In fact, using fixed section, subsection, subsubsection is a bit
> antiquated, isn't it?
>
> Alan
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
--
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
[-- Attachment #2: Str.mkiv --]
[-- Type: application/octet-stream, Size: 547 bytes --]
\starttext
\chapter{Ch}
\section{Sec}
\subsection{SSec}
\startsectionlevel[title={SSSec}]
\stopsectionlevel
\chapter{Ch2}
\startsection[title={Sec2}]
\startsubsection[title={SSec2}]
\startsectionlevel[title={SSSec2}]
\stopsectionlevel
\stopsubsection
\stopsection
\startsectionlevel[title={Ch3}]
\startsectionlevel[title={Sec3}]
\startsectionlevel[title={SSec3}]
\stopsectionlevel
\stopsectionlevel
\stopsectionlevel
\stoptext
[-- Attachment #3: Str.pdf --]
[-- Type: application/pdf, Size: 8534 bytes --]
[-- Attachment #4: 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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-03-14 8:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-11 8:08 mica
2016-03-11 8:23 ` josephcanedo
2016-03-11 8:36 ` Pablo Rodriguez
2016-03-11 8:43 ` Mica Semrick
2016-03-12 0:53 ` Alan BRASLAU
2016-03-14 8:05 ` Procházka Lukáš Ing. [this message]
2016-03-15 16:54 ` Alan BRASLAU
2016-03-15 17:10 ` Thomas A. Schmitz
2016-03-15 19:09 ` Alan BRASLAU
2016-03-24 21:11 ` Hans Hagen
2016-03-24 21:08 ` Hans Hagen
2016-03-14 8:52 ` Pablo Rodriguez
2016-05-20 4:39 ` docent.einstein
2016-03-11 9:37 ` Andreas Schneider
2016-03-11 9:43 ` Hans Hagen
2016-03-11 15:42 ` Mica Semrick
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=op.yea13zg962epfj@lpr \
--to=lpr@pontex.cz \
--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).