From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90630 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Indentation within footnotes Date: Sun, 15 Mar 2015 23:08:54 +0100 Message-ID: <19ABDA9B-E767-4F2B-93EB-DAB8567822E7@gmail.com> References: <007F7D71-B2D4-4507-9E67-5B861ACB39EF@gmail.com> <5505C05F.8090905@gmx.es> <32180D6B-B4E3-4701-A870-BC40EC007DEA@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/mixed; boundary="===============1228005043==" X-Trace: ger.gmane.org 1426457389 4698 80.91.229.3 (15 Mar 2015 22:09:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Mar 2015 22:09:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 15 23:09:35 2015 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 1YXGj0-000816-FM for gctc-ntg-context-518@m.gmane.org; Sun, 15 Mar 2015 23:09:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CB6A510230 for ; Sun, 15 Mar 2015 23:09:33 +0100 (CET) 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 aZZWGPhBxpxZ for ; Sun, 15 Mar 2015 23:09:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 465E710232 for ; Sun, 15 Mar 2015 23:09:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 583AC101F9 for ; Sun, 15 Mar 2015 23:08:59 +0100 (CET) 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 16TLTNmGIIV5 for ; Sun, 15 Mar 2015 23:08:58 +0100 (CET) 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 71016101EA for ; Sun, 15 Mar 2015 23:08:58 +0100 (CET) Original-Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t2FM8vj3014669 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 15 Mar 2015 23:08:57 +0100 Original-Received: by wetk59 with SMTP id k59so26136655wet.3 for ; Sun, 15 Mar 2015 15:08:57 -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=f+6VdW8eo54255uo4ercKnCHxpYh4DWMeybLH6n3DgQ=; b=OoloWx5o7RpI+KO81GyVIBN8dyD4rCAPEInjrreZKrdmRoFCr+E1ZdSMAZA05xB4XL 79kS1o6iDkeg0fyukdgrrryGpP72Tnyx//q9pxWquebG322EvNv6+0XnVxt1yyptDVUj S2PbgGJTSngdP49cklHErEClg/74/E4fEoC694YBFf+cPTYazJrrYD4WLsJfcX94UqkV McIfVWJY6U4UVcu9SMJcqIufjEx1TW3uShnDXXOTzaN87uRyuOyqaQIoHSNxEr5hdYs8 DLeNInf1b26W9Hr2/HLtG5H9juLA1O++C8T8lkqtzfg5LWPhpysuO0HQpGIKtgXpGix7 n7BA== X-Received: by 10.194.60.203 with SMTP id j11mr119275275wjr.5.1426457337123; Sun, 15 Mar 2015 15:08:57 -0700 (PDT) Original-Received: from keima.localdomain (x2f32a5e.dyn.telefonica.de. [2.243.42.94]) by mx.google.com with ESMTPSA id gi9sm12567400wib.21.2015.03.15.15.08.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 15 Mar 2015 15:08:56 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.2070.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::232; country=IE; latitude=53.3478; longitude=-6.2597; http://maps.google.com/maps?q=53.3478,-6.2597&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07O3W8Vm7 - edb3b8fcaa82 - 20150315 (trained as not-spam) Received-SPF: pass (filter1-utr.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c03::232 as permitted sender) receiver=filter1-utr.mf.surf.net; client-ip=2a00:1450:400c:c03::232; envelope-from=; helo=mail-we0-x232.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" X-Spam-Report: 5.0 points; * 3.2 RCVD_ILLEGAL_IP Received: contains illegal IP address * 0.0 HTML_MESSAGE BODY: HTML included in message * 1.8 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars Xref: news.gmane.org gmane.comp.tex.context:90630 Archived-At: --===============1228005043== Content-Type: multipart/alternative; boundary="Apple-Mail=_7BEA441F-7F9E-4EA0-B39B-8C08423B2EAF" --Apple-Mail=_7BEA441F-7F9E-4EA0-B39B-8C08423B2EAF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 15.03.2015 um 22:58 schrieb Idris Samawi Hamid =D8=A7=D8=AF=D8=B1=D9=8A= =D8=B3 =D8=B3=D9=85=D8=A7=D9=88=D9=8A =D8=AD=D8=A7=D9=85=D8=AF = : >=20 > On Sun, 15 Mar 2015 15:43:47 -0600, Wolfgang Schuster = > = wrote: >=20 >>=20 >>> Am 15.03.2015 um 19:19 schrieb Idris Samawi Hamid =D8=A7=D8=AF=D8=B1=D9= =8A=D8=B3 =D8=B3=D9=85=D8=A7=D9=88=D9=8A =D8=AD=D8=A7=D9=85=D8=AF = : >>>=20 >>> Hi Pablo, >>>=20 >>> On Sun, 15 Mar 2015 11:24:47 -0600, Pablo Rodriguez = wrote: >>>=20 >>>> Changing indenting to {yes, next} only the third >>>> paragraph in the footnote is indented. >>>=20 >>> My guess is that the first "next" is already hardwired into the = footnote mechanism. If you remove the "next" it should work. So this = works here: >>>=20 >>> % \setupnotation[footnote][indenting=3D{yes,big,next}] >>> \setupnotation[footnote][indenting=3D{yes,big}] >>>=20 >>> When I had the "next" I got the same result as you. >>=20 >>=20 >> I will show below the reason for the unexpected behaviour of the next = keyword. What you should >> keep in mind is that context uses the same mechanism for = enumerations, description and note >> entries. >>=20 >> In older versions of the mechanism indentation was set before the = title and content where placed >> but this produces unwanted results when you used the =E2=80=9Cnext=E2=80= =9D keyword because the title itself >> was recognised as first paragraph (see page 1). After moving the = indentation setting between >> the title and the content (see page 2) the =E2=80=9Cnext=E2=80=9D = keyword produced the expected output. >>=20 >> The problem is now when make the title part of the first paragraph = because the indentation >> is changed until we start the second paragraph and the =E2=80=9Cnext=E2= =80=9D keyword applies now to the third >> paragraph. >>=20 >> %%%% begin example >> \setuppapersize[A5] >>=20 >> \starttext >>=20 >> % Page 1 >>=20 >> \start \setupindenting[yes,medium,next] >>=20 >> \noindent{\bf Description Title} >>=20 >> \input knuth >>=20 >> \stop >>=20 >> \page >>=20 >> % Page 2 >>=20 >> \start >>=20 >> \noindent{\bf Description Title} >>=20 >> \setupindenting[yes,medium,next] >>=20 >> \input knuth >>=20 >> \stop >>=20 >> \page >>=20 >> % Page 3 >>=20 >> \start >>=20 >> \noindent{\bf Description Title} >> \setupindenting[yes,medium,next] >> \input knuth >>=20 >> \stop >>=20 >> \stoptext >> %%%% end example >=20 > Thanks, Wolfgang -- or is it Hans? ;-) -- for this very instructive = example! >=20 > I just made one change: \noindentation instead of \noindent (my = understanding is that we're supposed to avoid very low-level indenting = commands). >=20 > So the first paragraph of a footnote insertion contains an implicit = title, or does the footnote numeral function as title? Anyway, very = interesting! The footnote number is placed as title. Wolfgang --Apple-Mail=_7BEA441F-7F9E-4EA0-B39B-8C08423B2EAF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Am 15.03.2015 um 22:58 schrieb Idris Samawi Hamid =D8=A7=D8=AF=D8= =B1=D9=8A=D8=B3 =D8=B3=D9=85=D8=A7=D9=88=D9=8A =D8=AD=D8=A7=D9=85=D8=AF = <ishamid@colostate.edu>:

On Sun, 15 Mar 2015 15:43:47 -0600, Wolfgang = Schuster <schuster.wolfgang@gmail.com> wrote:


Am 15.03.2015 um 19:19 = schrieb Idris Samawi Hamid =D8=A7=D8=AF=D8=B1=D9=8A=D8=B3 =D8=B3=D9=85=D8=A7= =D9=88=D9=8A =D8=AD=D8=A7=D9=85=D8=AF <ishamid@colostate.edu>:

Hi = Pablo,

On Sun, 15 Mar 2015 11:24:47 -0600, = Pablo Rodriguez <oinos@gmx.es> wrote:

Changing indenting to = {yes, next} only the third
paragraph in the footnote is = indented.

My guess is that the = first "next" is already hardwired into the footnote mechanism. If you = remove the "next" it should work. So this works here:

% \setupnotation[footnote][indenting=3D{yes,big,next}]
\setupnotation[footnote][indenting=3D{yes,big}]

When I had the "next" I got the same result as = you.


I will = show below the reason for the unexpected behaviour of the next keyword. = What you should
keep in mind is that context uses the same = mechanism for enumerations, description and note
entries.
In older versions of the mechanism = indentation was set before the title and content where placed
but this produces unwanted results when you used the = =E2=80=9Cnext=E2=80=9D keyword because the title itself
was = recognised as first paragraph (see page 1). After moving the indentation = setting between
the title and the content (see page 2) the = =E2=80=9Cnext=E2=80=9D keyword produced the expected output.

The problem is now when make the title part of = the first paragraph because the indentation
is changed = until we start the second paragraph and the =E2=80=9Cnext=E2=80=9D = keyword applies now to the third
paragraph.

%%%% begin example
\setuppapersize[A5]

\starttext

% Page 1

\start = \setupindenting[yes,medium,next]

\noindent{\bf Description Title}

\input knuth

\stop

\page

% Page 2

\start

\noindent{\bf Description Title}

\setupindenting[yes,medium,next]

\input knuth

\stop

\page

% Page 3

\start

\noindent{\bf Description Title}
\setupindenting[yes,medium,next]
\input = knuth

\stop

\stoptext
%%%% end example

Thanks, Wolfgang -- or is = it Hans? ;-) -- for this very instructive example!

I just made one change: \noindentation instead = of \noindent (my understanding is that we're supposed to avoid very = low-level indenting commands).

So the first paragraph of a footnote insertion = contains an implicit title, or does the footnote numeral function as = title? Anyway, very interesting!

The footnote number is placed as = title.

Wolfgang

= --Apple-Mail=_7BEA441F-7F9E-4EA0-B39B-8C08423B2EAF-- --===============1228005043== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1228005043==--