From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74085 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: \startitemize[columns] broken with backgrounds? Date: Mon, 23 Jan 2012 08:39:13 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327304387 22057 80.91.229.12 (23 Jan 2012 07:39:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2012 07:39:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 23 08:39:37 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RpEV4-0005J7-Fm for gctc-ntg-context-518@m.gmane.org; Mon, 23 Jan 2012 08:39:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D5EECB1F5; Mon, 23 Jan 2012 08:39:32 +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 XwC2zUCGveQH; Mon, 23 Jan 2012 08:39:29 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 37374CB1ED; Mon, 23 Jan 2012 08:39:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1BA5CB1ED for ; Mon, 23 Jan 2012 08:39:27 +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 Y6JyCYNIfXlf for ; Mon, 23 Jan 2012 08:39:16 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id B132BCB1EA for ; Mon, 23 Jan 2012 08:39:16 +0100 (CET) Original-Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0N7dFnw021781 for ; Mon, 23 Jan 2012 08:39:16 +0100 Original-Received: by wgbdt11 with SMTP id dt11so2525286wgb.2 for ; Sun, 22 Jan 2012 23:39:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=kWJXjxvG1iyDc29IQhM3eOjfvHZdfjZ5qfKzH4Puakw=; b=E5yGau7Qw97srXmN/S1T+EIVX6/CiMV/ar5X5vNC2TLKRH03eNM8E0i8RmtNcIwr+o LmDqDX+pqBDWQ7MMfyHS/0bhUSZDSQ4GJd9u/8u78TgUfJvVeTo8CCG/wViz2Fw0zn84 RHvp8E1lnYghYyC0KGwmf6sJZ3jItpw41yLXg= Original-Received: by 10.180.77.228 with SMTP id v4mr11367324wiw.8.1327304355623; Sun, 22 Jan 2012 23:39:15 -0800 (PST) Original-Received: from new-host-4.home (AOrleans-553-1-71-195.w92-152.abo.wanadoo.fr. [92.152.85.195]) by mx.google.com with ESMTPS id l8sm38196999wiy.5.2012.01.22.23.39.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jan 2012 23:39:14 -0800 (PST) X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08GoTDf5M - 03900a6e5f5e - 20120123 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:74085 Archived-At: Hi all, It seems that when using background, \startitemize[columns] does not work as expected: there are no columns, and the numbers of the items are pushed to the left. Below is a not so minimal example: the resulting PDF can be found here: http://dl.dropbox.com/u/4316076/enumeration-background-exo.pdf I am not sure whether this behaviour began with a recent beta or not. The version I am using is: ConTeXt ver: 2012.01.16 18:33 MKIV. Best regards: OK %%% begin enumeration-background-exo.pdf \definenumber[MyExoNumber][way=bysection,sectionumber=yes] \setuptextrules[rulecolor=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on, framecolor=darkred]} \defineenumeration[exo] [location=hanging, width=fit, text={}, number=hide, number=no, before={\ExoCommand}, after={\stopbackground\blank}] \defineconversion[exercice][\numbers] \def\StartQuestions{% \startitemize[exercice][width=2em,packed,style=bold,stopper=,right=)]} \def\StopQuestions{\stopitemize} \def\q{\item} \starttext %%%%%%%%%%%%%%%%% \startexo Prove that \startformula \cos(nt) + {\rm i}\sin(nt) = (\cos(t) + {\rm i}\sin(t))^n. \stopformula \StartQuestions \dorecurse{5}{\q This is question \recurselevel. } \StopQuestions \stopexo %%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%% \startexo Solve the following equations or inequations: \startitemize[r,packed,columns][stopper=,left={(},right={)},distance=1em] \item $3x - 5 = 4$. \item $(x-1)(x+3) = 5$. \item $2 - 3x \geq 2 x - 8$. \item $(x - 1) \leq (x-1)(x+2)$. \item $2x^2 - 3x +1 < 0$. \item $x^2 - 4x \geq x - x^2 - 1$. \stopitemize \stopexo %%%%%%%%%%%%%%%%% \stoptext %%% end enumeration-background-exo.pdf ___________________________________________________________________________________ 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 ___________________________________________________________________________________