[NTG-context] More levels of subsubsection?

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Aug 17 21:22:38 CEST 2014


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

> On 16 Aug 2014, at 15:08, Wolfgang Schuster <schuster.wolfgang at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140817/d26a5f67/attachment-0001.html>


More information about the ntg-context mailing list