From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89767 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: Second-level itemization and indenting question Date: Sat, 10 Jan 2015 14:18:24 +0100 Message-ID: References: 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="===============1426003500==" X-Trace: ger.gmane.org 1420895951 15087 80.91.229.3 (10 Jan 2015 13:19:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2015 13:19:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 10 14:19:07 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 1Y9vwZ-00081c-03 for gctc-ntg-context-518@m.gmane.org; Sat, 10 Jan 2015 14:19:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F6D210226 for ; Sat, 10 Jan 2015 14:19:06 +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 HETIhspqdWhv for ; Sat, 10 Jan 2015 14:19:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 55F9B1022F for ; Sat, 10 Jan 2015 14:18:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 58443101EA for ; Sat, 10 Jan 2015 14:18:34 +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 2tLleGx9_QDQ for ; Sat, 10 Jan 2015 14:18:33 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 1E112101E8 for ; Sat, 10 Jan 2015 14:18:33 +0100 (CET) Original-Received: from mail.rna.nl (D57D7632.static.ziggozakelijk.nl [213.125.118.50]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t0ADIQWe006628 for ; Sat, 10 Jan 2015 14:18:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id 068D613B9224 for ; Sat, 10 Jan 2015 14:18:26 +0100 (CET) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from mail.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9fN6oGzaRsSQ for ; Sat, 10 Jan 2015 14:18:24 +0100 (CET) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) by mail.rna.nl (Postfix) with ESMTPSA id D01AA13B920C for ; Sat, 10 Jan 2015 14:18:24 +0100 (CET) In-Reply-To: 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=213.125.118.50; country=NL; region=North Brabant; city=Tilburg; latitude=51.5769; longitude=5.1063; http://maps.google.com/maps?q=51.5769,5.1063&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03NCdiqhh - 3da757a73d93 - 20150110 (trained as not-spam) Received-SPF: none (filter3-ams.mf.surf.net: domain of gerben.wierda@rna.nl does not designate permitted sender hosts) receiver=filter3-ams.mf.surf.net; client-ip=213.125.118.50; envelope-from=; helo=mail.rna.nl; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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" Xref: news.gmane.org gmane.comp.tex.context:89767 Archived-At: --===============1426003500== Content-Type: multipart/alternative; boundary="Apple-Mail=_BC626757-C6CE-4A34-9D36-58572D5E99BD" --Apple-Mail=_BC626757-C6CE-4A34-9D36-58572D5E99BD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 10 Jan 2015, at 13:53, Wolfgang Schuster = wrote: >>=20 >> Am 10.01.2015 um 13:36 schrieb Gerben Wierda : >>=20 >> I have the following setup (in mkii) >>=20 >> \definemeasure[CAindent][12pt] >> \setupindenting[yes,\measure{CAindent}] >> \setupnarrower >> [ left=3D\measure{CAindent}, >> right=3D\measure{CAindent}, >> middle=3D\measure{CAindent}] >> \setupitemize[each][margin=3D\measure{CAindent}] >>=20 >> \starttext >> \input knuth >> \startitemize[joinedup,packed] >> \item \input tufte >> \startitemize[joinedup,packed] >> \item \input tufte >> \stopitemize >> \input tufte >> \stopitemize >> \stoptext >>=20 >> The result is that quotations at first level are perfectly aligned = with the indentation of the first line of a paragraph at first level. = But the itemizations at second level are not. They are slightly less = indented than the indentation of the first line of the paragraph in the = first-level item. This can be seen at the last "We thrive" in the = example, just after the second-level item. >>=20 >> What can I do about that? >=20 > Is this what you want? >=20 > = \setupitemize[each][margin=3D\measure{CAindent},width=3D\measure{CAindent}= ] Yes. Can I get the same effect on this one? \definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=3D\measure{CAindent}, right=3D\measure{CAindent}, middle=3D\measure{CAindent}] \setupitemize[each][margin=3D\measure{CAindent}] \definedescription[Member][headstyle=3Dbold, location=3Dhanging,indenting=3D{yes,\measure{CAindent}},width=3Dfi= t] \starttext \input knuth \startMember{Tufte} \input tufte \stopMember \input knuth \stoptext Here, the indentation of the Member differs from the = first-line-of-paragraph indent (slightly larger) G >=20 > Wolfgang >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_BC626757-C6CE-4A34-9D36-58572D5E99BD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii On 10 = Jan 2015, at 13:53, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:


I have the following setup (in = mkii)

\definemeasure[CAindent][12pt]
\setupindenting[yes,\measure{CAindent}]
\setupnarrower
  [ left=3D\measure{CAindent},
    = right=3D\measure{CAindent},
   middle=3D\measure{CAindent}]
\setupitemize[each][margin=3D\measure{CAindent}]

\starttext
\input = knuth
\startitemize[joinedup,packed]
\item \input tufte
\startitemize[joinedup,packed]
\item \input tufte
\stopitemize
\input = tufte
\stopitemize
\stoptext

The result is that = quotations at first level are perfectly aligned with the indentation of = the first line of a paragraph at first level. But the itemizations at = second level are not. They are slightly less indented than the = indentation of the first line of the paragraph in the first-level item. = This can be seen at the last "We thrive" in the example, just after the = second-level item.

What can I do about that?

Is = this what you want?

\setupitemize[each][margin=3D\measure{CAindent},width=3D\measur= e{CAindent}]

Yes. Can I get = the same effect on this one?

\definemeasure[CAindent][12pt]
\setupindenting[yes,\measure{CAindent}]
\setupnarrower
  [ left=3D\measure{CAindent},
  =   right=3D\measure{CAindent},
   = middle=3D\measure{CAindent}]
\setupitemize[each][margin=3D\measure{CAindent}]

\definedescription[Member][headstyle=3Dbold,
  =       = location=3Dhanging,indenting=3D{yes,\measure{CAindent}},width=3Dfit]
=

\starttext
\input knuth
\startMember{Tufte}
\input tufte
\stopMember
\input = knuth
\stoptext

Here, the indentation = of the Member differs from the first-line-of-paragraph indent (slightly = larger)

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
_____________________________________________________________= ______________________
= --Apple-Mail=_BC626757-C6CE-4A34-9D36-58572D5E99BD-- --===============1426003500== 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= --===============1426003500==--