From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84992 Path: news.gmane.org!not-for-mail From: Tomas Hala Newsgroups: gmane.comp.tex.context Subject: Re: Nested itemize (spaces before and after inside environment) Date: Thu, 24 Oct 2013 14:21:11 +0200 Message-ID: <20131024122111.GA28078@akela.mendelu.cz> References: <5268FA2D.6030501@gyza.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382617283 3998 80.91.229.3 (24 Oct 2013 12:21:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2013 12:21:23 +0000 (UTC) To: "hajtmar@gyza.cz"@pef.mendelu.cz, ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 24 14:21:29 2013 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 1VZJuq-0001nJ-DR for gctc-ntg-context-518@m.gmane.org; Thu, 24 Oct 2013 14:21:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D47910228; Thu, 24 Oct 2013 14:21:28 +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 P7Qz85fqzu2F; Thu, 24 Oct 2013 14:21:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id ED9581022E; Thu, 24 Oct 2013 14:21:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BC9D11022E for ; Thu, 24 Oct 2013 14:21:20 +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 nWqHp2YwTDZ6 for ; Thu, 24 Oct 2013 14:21:15 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 8797E10228 for ; Thu, 24 Oct 2013 14:21:15 +0200 (CEST) Original-Received: from akela.mendelu.cz (akela.mendelu.cz [195.113.194.135]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9OCLErb015963 for ; Thu, 24 Oct 2013 14:21:14 +0200 Original-Received: by akela.mendelu.cz (Postfix, from userid 11718) id 286D04D1; Thu, 24 Oct 2013 14:21:11 +0200 (CEST) Content-Disposition: inline In-Reply-To: <5268FA2D.6030501@gyza.cz> User-Agent: Mutt/1.5.20 (2009-12-10) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=195.113.194.135; country=CZ; region=78; city=Brno; latitude=49.2000; longitude=16.6333; http://maps.google.com/maps?q=49.2000,16.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08KF0lefA - 6e10a2434c18 - 20131024 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:84992 Archived-At: Hi Jarda and all, I tested it on my computer using CTX from TL 2010 and 2013 and I have got the same result in both cases. It seems that the content of the option befo= re = is completely ignored. I tested another values for this option (\page,\vskip,\godown...), no result. The only one way which works is the manual addition of \blank before and after the nested itemize environment, unfortunatelly. --- Another interesting thing is that the compiler of CTX in TL 2013 does not report an error when I forgot the opening \starttext, or the closing \stoptext, or both, whereas in TL 2010 it does. Is this expected behaviour? Best regards, Tomas Hala Thu, Oct 24, 2013 ve 12:45:01PM +0200 Jaroslav Hajtmar napsal(a): # Hello ConTeXist. # = # I tried convert plainTeX source code into ConTeXt source code so # that the output PDF gave the same (or approximately the same) # result. I did it for one of plainTEX developers (Mr. Ol=B9=E1k), which # compared results of PlainTeX, LaTeX and ConTeXt. However, I # encountered the following problem. # = # Is there a way to adjust the spacing before internal itemize # environment when the external itemize environment is set as PACKED? # = # Thanx JaroslavHajtmar # = # Here is my minimal example: # = # = # \setupitemize[1][packed][symbol=3Dn,before=3D{\blank[medium]},after=3D{\b= lank[medium]}] # \setupitemize[2][packed][symbol=3Da,stopper=3D),before=3D{\blank[big]},af= ter=3D{\blank[big]}] # = # \starttext # = # This is normal text before itemize list. # = # \startitemize # \item First 1 level # \item Second 1 level # \startitemize # \item First 2 level (before this line should be big space) # \item Second 2 level # \item Third 2 level (after this line should be big space) # \stopitemize # \item Third 1 level # \item Fourth 1 level # \stopitemize # = # This is normal text after itemize list. # = # = # \stoptext # = # _________________________________________________________________________= __________ # 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-co= ntext # webpage : http://www.pragma-ade.nl / http://tex.aanhet.net # archive : http://foundry.supelec.fr/projects/contextrev/ # wiki : http://contextgarden.net # _________________________________________________________________________= __________ Tom=E1=B9 H=E1la -------------------------------------------------------------------- Mendelova univerzita, Provozn=EC ekonomick=E1 fakulta, =FAstav informatiky Zem=ECd=EClsk=E1 1, CZ-613 00 Brno, tel. +420 545 13 22 28 -------------------------------------------------------------------- http://akela.mendelu.cz/~thala ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________