From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88439 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: More levels of subsubsection? Date: Sun, 17 Aug 2014 21:22:38 +0200 Message-ID: <66781578-D56E-42D4-A9E4-DCDF86104627@gmail.com> References: <9386908D-3CA2-4DAA-ACCA-46E0162BF2F1@rna.nl> <9FDDE61C-1D3F-43B3-861D-F606B222ADCD@gmail.com> <44BBCEE4-5EA8-4856-8C5A-897A1A2CDEB3@rna.nl> <56F8EEC6-34C9-43E9-A272-69DC570FEA9F@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============1795740442==" X-Trace: ger.gmane.org 1408303391 24317 80.91.229.3 (17 Aug 2014 19:23:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Aug 2014 19:23:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 17 21:23:07 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XJ62k-0008HL-Le for gctc-ntg-context-518@m.gmane.org; Sun, 17 Aug 2014 21:23:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B113102A7 for ; Sun, 17 Aug 2014 21:23:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id M5+VU2oj7Nys for ; Sun, 17 Aug 2014 21:23:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 10F5F10223 for ; Sun, 17 Aug 2014 21:22:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D475101E6 for ; Sun, 17 Aug 2014 21:22:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BDv-3Tf6v1zL for ; Sun, 17 Aug 2014 21:22:50 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 6136F101E2 for ; Sun, 17 Aug 2014 21:22:45 +0200 (CEST) Original-Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s7HJMdG2006720 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 17 Aug 2014 21:22:39 +0200 Original-Received: by mail-wg0-f46.google.com with SMTP id m15so4108105wgh.17 for ; Sun, 17 Aug 2014 12:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=ACSCP9iutgAXiuveYsNu0oRY7vXcY9RcoNycXdUb4Yw=; b=s/jFkA2b91bYF1uTzxh+avWB73xUV81uRJmjm1yN92B4JYGoF20EJO3caI65sWWdfY fbZxwSui9huYzBgmqECW8pmL370Alo76u8mol/+rWI1TX+8VHBGWDoeOEal747FmkZvx bHXmuY3uiF9e+ysuVnhryGRY8zrmSjz5Uuq49FqizHVfJZ39uSVfrXQxehDqtmttUcHA CPA7BmPHVx/88Vj/SXevxiKCdhWR0Ne1dkPfD4F0ICxnA0u+zSbC+BGW7t/vbWj/o9bV Ou33ABdAwDPWfq3A90zHlQSqlzDFM0P2ZqNq1YZMwT3lzic6ziXIb2NeynIAmnDId3zp Ozog== X-Received: by 10.180.185.228 with SMTP id ff4mr36477926wic.76.1408303364308; Sun, 17 Aug 2014 12:22:44 -0700 (PDT) Original-Received: from keima.localdomain (x2f244d1.dyn.telefonica.de. [2.242.68.209]) by mx.google.com with ESMTPSA id ft17sm36338847wjc.14.2014.08.17.12.22.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 Aug 2014 12:22:41 -0700 (PDT) In-Reply-To: <56F8EEC6-34C9-43E9-A272-69DC570FEA9F@rna.nl> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22e; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07MDTmD2a - af26b28e9ea8 - 20140817 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88439 Archived-At: --===============1795740442== Content-Type: multipart/alternative; boundary="Apple-Mail=_B353D828-B64F-4227-A873-FC5EAFB43EDA" --Apple-Mail=_B353D828-B64F-4227-A873-FC5EAFB43EDA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 17.08.2014 um 18:08 schrieb Gerben Wierda : > On 16 Aug 2014, at 15:08, Wolfgang Schuster = wrote: >=20 >> Can you first explain what you try to achieve, you=92re talking about = indenting something but I don=92t know what you want to indent, only the = header or the complete content of the section/subsection. >=20 > I've been able to create a lot of what I want by using \definehead and = \setuphead. I am using ownnumber. >=20 > \definehead[PSAappsection][subsection] > \definehead[PSAappsubsection][subsubsection] > \definehead[PSAappsubsubsection][subsubsubsection] > \setuphead[PSAappsection][continue=3Dno,ownnumber=3Dyes,after=3D] > \setuphead[PSAappsubsection][continue=3Dno,ownnumber=3Dyes,before=3D,aft= er=3D] > = \setuphead[PSAappsubsubsection][continue=3Dno,ownnumber=3Dyes,before=3D,af= ter=3D] >=20 > 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 --Apple-Mail=_B353D828-B64F-4227-A873-FC5EAFB43EDA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
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=92re talking about indenting something but I don=92t = 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=3Dno,ownnumber=3Dyes,after=3D]=
\setuphead[PSAappsubsection][continue=3Dno,ownnumber=3Dyes,before= =3D,after=3D]
\setuphead[PSAappsubsubsection][continue=3Dno,ownnumber=3Dyes,bef= ore=3D,after=3D]

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

= --Apple-Mail=_B353D828-B64F-4227-A873-FC5EAFB43EDA-- --===============1795740442== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1795740442==--