From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88082 Path: news.gmane.org!not-for-mail From: "Werner Hintze" Newsgroups: gmane.comp.tex.context Subject: Re: sections without numbering Date: Sun, 13 Jul 2014 09:23:46 +0200 Message-ID: <498C552E-1A52-424C-A952-FF066B0CAFA4@posteo.eu> References: <8A13FE10-752C-416C-9A58-69ABEF4E762D@posteo.eu> <20140713070307.GA24604@acheron> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0894817375==" X-Trace: ger.gmane.org 1405236258 1357 80.91.229.3 (13 Jul 2014 07:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Jul 2014 07:24:18 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 13 09:24:14 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 1X6E8q-00041x-Pa for gctc-ntg-context-518@m.gmane.org; Sun, 13 Jul 2014 09:24:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 548CE10249 for ; Sun, 13 Jul 2014 09:24:12 +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 QGswk3Mdv5ig for ; Sun, 13 Jul 2014 09:24:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id F0C321024A for ; Sun, 13 Jul 2014 09:24:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EDEB2101E7 for ; Sun, 13 Jul 2014 09:24:00 +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 vGfcRjRAc6wo for ; Sun, 13 Jul 2014 09:23:55 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id A8673101E6 for ; Sun, 13 Jul 2014 09:23:55 +0200 (CEST) Original-Received: from posteo.de (mx02.posteo.de [89.146.194.165]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s6D7Nnpj021285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 13 Jul 2014 09:23:54 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTP id DF29825ACC57 for ; Sun, 13 Jul 2014 09:23:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at posteo.de Original-Received: from posteo.de ([10.125.125.178]) by localhost (amavis1.posteo.de [10.125.125.165]) (amavisd-new, port 10026) with ESMTP id NuwFNjJ6u0HK for ; Sun, 13 Jul 2014 09:23:47 +0200 (CEST) Original-Received: from mail.posteo.de (localhost [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTPSA id 9096A2C0104 for ; Sun, 13 Jul 2014 09:23:47 +0200 (CEST) In-Reply-To: <20140713070307.GA24604@acheron> X-Mailer: MailMate (1.7.2r3905) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=89.146.194.165; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TMpHnNmy - d736cee62ef3 - 20140713 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:88082 Archived-At: --===============0894817375== Content-Type: multipart/alternative; boundary="=_MailMate_2535F3BC-6E7D-4107-84DA-8EA0F549BB8C_=" Content-Transfer-Encoding: 7bit --=_MailMate_2535F3BC-6E7D-4107-84DA-8EA0F549BB8C_= Content-Type: text/plain; charset=utf-8; format=flowed; markup=markdown Content-Transfer-Encoding: quoted-printable Hi Philipp, I don=E2=80=99t know what happened: I believe I started a new thread with= a=20 new subject. My mail program makes sometimes strange things=E2=80=A6 Anayway. Thanks for your response. In the meantime I found another=20 solution: \starttext \define[2]\MyChapter {#1.\,Kapitel: #2} \setuphead [chapter] [command=3D\MyChapter, page=3Dno] \startchapter [title=3DDie ersten Menschen] \input knuth \stopchapter \startchapter [title=3DMehr von den ersten Menschen] \input knuth \stopchapter \stoptext But you helped me to unterstand better what happens here. Thank you and best regards Werner *** =E2=98=9E Werner Hintze =E2=97=8F Auerstra=C3=9Fe 1 =E2=97=8F D-10249= Berlin =E2=98=9C Fon: +49 (30) 42 73 485 =E2=97=8F Mob: +49 (160) 94 68 76 60 *** On 13 Jul 2014, at 9:03, Philipp Gesang wrote: Hello Werner! =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 I can=E2=80=99t figure out how to change the chapter heading. More import= ant: I have no idea where to find the needed information. What I want to see is for example: Kapitel: Blablabla Several unnumbered structures are predefined. \setuphead [subject] [before=3DKapitel~] \starttext \startsubject [title=3Dfoo] \input knuth \stopsubject \stoptext If you wish for the styles of the label and the title to match, you=E2=80=99ll have to assign them manually: \definealternativestyle [subjectstyle] [\italic \tfd] \setuphead [subject] [ style=3Dsubjectstyle, before=3D\bgroup \subjectstyle Kapitel~\egroup, ] \starttext \startsubject [title=3Dfoo] \input knuth \stopsubject \stoptext The reason as to why this isn=E2=80=99t as easy as \setuplabeltext [chapter=3DKapitel] \setuphead [chapter] [number=3Dno] is that the section label is treated as part of the number. Consequently, Context exposes no option to typeset the label independently. However, it can be made work by passing an appropriate command that omits the number: \setuplabeltext [chapter=3DKapitel] \setuphead [chapter] [deepnumbercommand=3D\gobbleoneargument] \starttext \startchapter [title=3Dfoo] \input knuth \stopchapter \stoptext Where can I find these informations? In the manual [0]. The \title and \subject structurals even made the second place on the =E2=80=9Ctop ten=E2=80=9D ladder of important command= s (cf. section 1.10). The numberless versions also feature promintently on the wiki [1]. PS Next time you ask a new question, please open a new thread with an adequate subject to keep the list tidy. Best regards, Philipp [0] http://wiki.contextgarden.net/ConTeXt_reference_manual [1] http://wiki.contextgarden.net/Titles#Default If your question is of interest to others as well, please add an entry=20 to the Wiki! maillist : ntg-context@ntg.nl /=20 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 --=_MailMate_2535F3BC-6E7D-4107-84DA-8EA0F549BB8C_= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi Philipp,

I don=E2=80=99t know what happened: I believe I started a= new thread with a new subject. My mail program makes sometimes strange t= hings=E2=80=A6

Anayway. Thanks for your response. In the meantime I foun= d another solution:

\starttext

\define[2]\MyChapter {#1.\,Kapitel: #2}
\setuphead [chapter] [command=3D\MyChapter, page=3Dno]

\startchapter
    [title=3DDie ersten Menschen]
\input knuth
\stopchapter

\startchapter
    [title=3DMehr von den ersten Menschen]
    \input knuth
\stopchapter

\stoptext

But you helped me to unterstand better what happens here.=

Thank you and best regards

Werner


=E2=98=9E Werner Hintze =E2=97=8F Auerstra=C3=9Fe 1 =E2= =97=8F D-10249 Berlin =E2=98=9C
Fon: +49 (30) 42 73 485 =E2=97=8F Mob: +49 (160) 94 68 76 60


On 13 Jul 2014, at 9:03, Philipp Gesang wrote:

Hello Werner!

=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7

I can=E2=80=99t figure out how to change the chapter head= ing. More important:
I have no idea where to find the needed information. What I want to see is for example:

Kapitel: Blablabla

Several unnumbered structures are predefined.

\setuphead [subject] [before=3DKapitel~]
\starttext
\startsubject [title=3Dfoo] \input knuth \stopsubject
\stoptext

If you wish for the styles of the label and the title to = match,
you=E2=80=99ll have to assign them manually:

\definealternativestyle [subjectstyle] [\italic \tfd]

=

\setuphead [subject] [
style=3Dsubjectstyle,
before=3D\bgroup \subjectstyle Kapitel~\egroup,
]
\starttext
\startsubject [title=3Dfoo] \input knuth \stopsubject
\stoptext

The reason as to why this isn=E2=80=99t as easy as

\setuplabeltext [chapter=3DKapitel]
\setuphead [chapter] [number=3Dno]

is that the section label is treated as part of the numbe= r.
Consequently, Context exposes no option to typeset the label
independently. However, it can be made work by passing an
appropriate command that omits the number:

\setuplabeltext [chapter=3DKapitel]
\setuphead [chapter] [deepnumbercommand=3D\gobbleoneargument]

\starttext
\startchapter [title=3Dfoo] \input knuth \stopchapter
\stoptext

Where can I find these informations?

In the manual [0]. The \title and \subject structurals ev= en made the
second place on the =E2=80=9Ctop ten=E2=80=9D ladder of important command= s
(cf. section 1.10). The numberless versions also feature
promintently on the wiki [1].

PS Next time you ask a new question, please open a new th= read
with an adequate subject to keep the list tidy.

Best regards,
Philipp

[0] http://wiki.contextgarden.net/ConTeXt_reference_manual<= br> [1] http://wiki.= contextgarden.net/Titles#Default

If your question is of interest to others as well, please= add an entry to the Wiki!

maillist : ntg-cont= ext@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<= /p>

--=_MailMate_2535F3BC-6E7D-4107-84DA-8EA0F549BB8C_=-- --===============0894817375== 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 ___________________________________________________________________________________ --===============0894817375==--