From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73060 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Export (table cell alignment) Date: Sat, 10 Dec 2011 00:28:46 +0100 Message-ID: <4EE299AE.5080306@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1323473358 15121 80.91.229.12 (9 Dec 2011 23:29:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2011 23:29:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 10 00:29:14 2011 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 1RZ9sP-0000fe-IC for gctc-ntg-context-518@m.gmane.org; Sat, 10 Dec 2011 00:29:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A624ECB15A; Sat, 10 Dec 2011 00:29:12 +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 qpNVvveGW+l2; Sat, 10 Dec 2011 00:29:09 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9968ECB153; Sat, 10 Dec 2011 00:29:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1092ACB153 for ; Sat, 10 Dec 2011 00:29:09 +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 nvpGj5ysYXWX for ; Sat, 10 Dec 2011 00:28:57 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 16FD6CB120 for ; Sat, 10 Dec 2011 00:28:57 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB9NSupN020896 for ; Sat, 10 Dec 2011 00:28:56 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 5.3h2) with ESMTP (TLS) id 2429-1713362 for multiple; Sat, 10 Dec 2011 00:28:51 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05G7bsUmc - 8218d314034a - 20111210 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:73060 Archived-At: On 9-12-2011 21:58, Andreas Harder wrote: > Hi Hans, > > I=92ve stumbled upon another export problem, concerning (natural) tables.= The first table exports fine but in the second table the first column is i= gnored. > > \startbuffer[css] > document { display: block } > table { display: table ; width: 100% } > tablerow { display: table-row } > tablecell { display: table-cell ; border-style: solid ; padding: 1ex } > tablecell[align=3D"flushright"] { display: table-cell ; text-align: right= } > tablecell[align=3D"flushleft"] { display: table-cell ; text-align: left = } > tablecell[align=3D"middle"] { display: table-cell ; text-align: cente= r } > \stopbuffer \savebuffer[css] > > \setupbackend[export=3Dyes,xhtml=3Dyes,css=3D{\jobname-css.tmp}] > > \starttext > > \startbuffer > \bTR\bTD flush right \eTD\bTD ~~~~~ ~~~~ \eTD\bTD ~~~~~~ \eTD\eTR > \bTR\bTD ~~~~~ ~~~~~ \eTD\bTD flush left \eTD\bTD ~~~~~~ \eTD\eTR > \bTR\bTD ~~~~~ ~~~~~ \eTD\bTD ~~~~~ ~~~~ \eTD\bTD middle \eTD\eTR > \stopbuffer > > \bTABLE[width=3Dbroad] \getbuffer \eTABLE % OK > > \bTABLE[width=3Dbroad] > \setupTABLE [c] [1] [align=3Dflushright] > \setupTABLE [c] [2] [align=3Dflushleft] > \setupTABLE [c] [3] [align=3Dmiddle] > \getbuffer % not OK! > \eTABLE > > \stoptext tricky but fixed ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________