ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* More levels of subsubsection?
@ 2014-08-15 15:33 Gerben Wierda
  2014-08-15 16:11 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Gerben Wierda @ 2014-08-15 15:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I am reproducing another document in an appendix. This document has a numbered structure and an appendix.

A. My Appendix

My appendix text introduction

1. Foo
foo text

1.1 Foo
foo text

2. Foo Appendix

1. FooBar
FooBar text

1.1 FooBar
FooBar text

1.1.1 FooBar
FooBar text

When I use \chapter for My and \subsection and \subsubsection for Foo, how do I solve the FooBar appendix? I have now

\chapter My Appendix

My appendix text introduction

\subsection Foo
foo text

\subsubsection Foo
foo text

\subsection Foo Appendix

But then, how do I solve:

1. FooBar
FooBar text

1.1 FooBar
FooBar text

1.1.1 FooBar
FooBar text

And to matters more complixated, Id like to reproduce the original's indentation, that is 1.1 is a bit more indented than 1 and 1.1.1 is a bit more than 1.1.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More levels of subsubsection?
  2014-08-15 15:33 More levels of subsubsection? Gerben Wierda
@ 2014-08-15 16:11 ` Wolfgang Schuster
  2014-08-16 12:48   ` Gerben Wierda
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2014-08-15 16:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 15.08.2014 um 17:33 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

> I am reproducing another document in an appendix. This document has a numbered structure and an appendix.
> 
> A. My Appendix
> 
> My appendix text introduction
> 
> 1. Foo
> foo text
> 
> 1.1 Foo
> foo text
> 
> 2. Foo Appendix
> 
> 1. FooBar
> FooBar text
> 
> 1.1 FooBar
> FooBar text
> 
> 1.1.1 FooBar
> FooBar text
> 
> When I use \chapter for My and \subsection and \subsubsection for Foo, how do I solve the FooBar appendix? I have now
> 
> \chapter My Appendix
> 
> My appendix text introduction
> 
> \subsection Foo
> foo text
> 
> \subsubsection Foo
> foo text
> 
> \subsection Foo Appendix
> 
> But then, how do I solve:
> 
> 1. FooBar
> FooBar text
> 
> 1.1 FooBar
> FooBar text
> 
> 1.1.1 FooBar
> FooBar text
> 
> And to matters more complixated, Id like to reproduce the original's indentation, that is 1.1 is a bit more indented than 1 and 1.1.1 is a bit more than 1.1.

Can you make a *working* minimal example with the code you’re currently using?

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More levels of subsubsection?
  2014-08-15 16:11 ` Wolfgang Schuster
@ 2014-08-16 12:48   ` Gerben Wierda
  2014-08-16 13:08     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Gerben Wierda @ 2014-08-16 12:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On 15 Aug 2014, at 18:11, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> 
> Am 15.08.2014 um 17:33 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
>> I am reproducing another document in an appendix. This document has a numbered structure and an appendix.
>> 
>> A. My Appendix
>> 
>> My appendix text introduction
>> 
>> 1. Foo
>> foo text
>> 
>> 1.1 Foo
>> foo text
>> 
>> 2. Foo Appendix
>> 
>> 1. FooBar
>> FooBar text
>> 
>> 1.1 FooBar
>> FooBar text
>> 
>> 1.1.1 FooBar
>> FooBar text
>> 
>> When I use \chapter for My and \subsection and \subsubsection for Foo, how do I solve the FooBar appendix? I have now
>> 
>> \chapter My Appendix
>> 
>> My appendix text introduction
>> 
>> \subsection Foo
>> foo text
>> 
>> \subsubsection Foo
>> foo text
>> 
>> \subsection Foo Appendix
>> 
>> But then, how do I solve:
>> 
>> 1. FooBar
>> FooBar text
>> 
>> 1.1 FooBar
>> FooBar text
>> 
>> 1.1.1 FooBar
>> FooBar text
>> 
>> And to matters more complixated, Id like to reproduce the original's indentation, that is 1.1 is a bit more indented than 1 and 1.1.1 is a bit more than 1.1.
> 
> Can you make a *working* minimal example with the code you’re currently using?

I have tried but a separate test file behaves differently. Probably I'll have to rebuild the whole producs/chapters/evironment setup.

I've been studying the (2001) manual a bit more and I might need to define my own headers. If I do a \definhead between \start\stop pairs, can I isolate these definitions from what comes after? 

G

> 
> Wolfgang
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3900 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More levels of subsubsection?
  2014-08-16 12:48   ` Gerben Wierda
@ 2014-08-16 13:08     ` Wolfgang Schuster
  2014-08-17 16:08       ` Gerben Wierda
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2014-08-16 13:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 16.08.2014 um 14:48 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

> On 15 Aug 2014, at 18:11, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> 
>> 
>> Am 15.08.2014 um 17:33 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>> 
>>> I am reproducing another document in an appendix. This document has a numbered structure and an appendix.
>>> 
>>> A. My Appendix
>>> 
>>> My appendix text introduction
>>> 
>>> 1. Foo
>>> foo text
>>> 
>>> 1.1 Foo
>>> foo text
>>> 
>>> 2. Foo Appendix
>>> 
>>> 1. FooBar
>>> FooBar text
>>> 
>>> 1.1 FooBar
>>> FooBar text
>>> 
>>> 1.1.1 FooBar
>>> FooBar text
>>> 
>>> When I use \chapter for My and \subsection and \subsubsection for Foo, how do I solve the FooBar appendix? I have now
>>> 
>>> \chapter My Appendix
>>> 
>>> My appendix text introduction
>>> 
>>> \subsection Foo
>>> foo text
>>> 
>>> \subsubsection Foo
>>> foo text
>>> 
>>> \subsection Foo Appendix
>>> 
>>> But then, how do I solve:
>>> 
>>> 1. FooBar
>>> FooBar text
>>> 
>>> 1.1 FooBar
>>> FooBar text
>>> 
>>> 1.1.1 FooBar
>>> FooBar text
>>> 
>>> And to matters more complixated, Id like to reproduce the original's indentation, that is 1.1 is a bit more indented than 1 and 1.1.1 is a bit more than 1.1.
>> 
>> Can you make a *working* minimal example with the code you’re currently using?
> 
> I have tried but a separate test file behaves differently. Probably I'll have to rebuild the whole producs/chapters/evironment setup.
> 
> I've been studying the (2001) manual a bit more and I might need to define my own headers. If I do a \definhead between \start\stop pairs, can I isolate these definitions from what comes after? 

Can you first explain what you try to achieve, you’re talking about indenting something but I don’t know what you want to indent, only the header or the complete content of the section/subsection.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 3191 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More levels of subsubsection?
  2014-08-16 13:08     ` Wolfgang Schuster
@ 2014-08-17 16:08       ` Gerben Wierda
  2014-08-17 19:22         ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Gerben Wierda @ 2014-08-17 16:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On 16 Aug 2014, at 15:08, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> Can you first explain what you try to achieve, you’re talking about indenting something but I don’t know what you want to indent, only the header or the complete content of the section/subsection.

I've been able to create a lot of what I want by using \definehead and \setuphead. I am using ownnumber.

\definehead[PSAappsection][subsection]
\definehead[PSAappsubsection][subsubsection]
\definehead[PSAappsubsubsection][subsubsubsection]
\setuphead[PSAappsection][continue=no,ownnumber=yes,after=]
\setuphead[PSAappsubsection][continue=no,ownnumber=yes,before=,after=]
\setuphead[PSAappsubsubsection][continue=no,ownnumber=yes,before=,after=]

What is left is to figure out the style where each sub (sub sub) section is indented more including teh paragraphs that belong to that setion. I robably need to do something with after (to set the indenting) and before (to end the indenting). In fixed width font like this:

1. SECTION
   text text text

   1.1 Sub Section
       text text text
 
       text text text

   1.1.1 Sub Sub Section
         text text text

G

> 
> Wolfgang
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 9488 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More levels of subsubsection?
  2014-08-17 16:08       ` Gerben Wierda
@ 2014-08-17 19:22         ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2014-08-17 19:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 17.08.2014 um 18:08 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

> On 16 Aug 2014, at 15:08, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> 
>> Can you first explain what you try to achieve, you’re talking about indenting something but I don’t know what you want to indent, only the header or the complete content of the section/subsection.
> 
> I've been able to create a lot of what I want by using \definehead and \setuphead. I am using ownnumber.
> 
> \definehead[PSAappsection][subsection]
> \definehead[PSAappsubsection][subsubsection]
> \definehead[PSAappsubsubsection][subsubsubsection]
> \setuphead[PSAappsection][continue=no,ownnumber=yes,after=]
> \setuphead[PSAappsubsection][continue=no,ownnumber=yes,before=,after=]
> \setuphead[PSAappsubsubsection][continue=no,ownnumber=yes,before=,after=]
> 
> What is left is to figure out the style where each sub (sub sub) section is indented more including teh paragraphs that belong to that setion. I robably need to do something with after (to set the indenting) and before (to end the indenting).

It would be simple with MkIV because it provides start/stop command for each heading which can be used to apply narrower command at the begin and end os each section but since you use MkII you have to write your own commands for this.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 2796 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-17 19:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-15 15:33 More levels of subsubsection? Gerben Wierda
2014-08-15 16:11 ` Wolfgang Schuster
2014-08-16 12:48   ` Gerben Wierda
2014-08-16 13:08     ` Wolfgang Schuster
2014-08-17 16:08       ` Gerben Wierda
2014-08-17 19:22         ` Wolfgang Schuster

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).