From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83018 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: embedding ConTeXt code in an xtable Date: Sun, 16 Jun 2013 20:40:30 +0200 Message-ID: References: <51BC8FE1.7070601@student.ru.nl> <5913A6CD-E69F-4C15-AB15-17D6CA7411F6@gmail.com> <51BDD438.1040000@student.ru.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1371408048 21230 80.91.229.3 (16 Jun 2013 18:40:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Jun 2013 18:40:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 16 20:40:50 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UoHsd-0002kl-P9 for gctc-ntg-context-518@m.gmane.org; Sun, 16 Jun 2013 20:40:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C1EE101EA; Sun, 16 Jun 2013 20:40:47 +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 8-lxePM+wLUy; Sun, 16 Jun 2013 20:40:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 66574101EE; Sun, 16 Jun 2013 20:40:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DD301101EE for ; Sun, 16 Jun 2013 20:40:43 +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 lZLGyrZUWz1k for ; Sun, 16 Jun 2013 20:40:43 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 297B9101EA for ; Sun, 16 Jun 2013 20:40:43 +0200 (CEST) Original-Received: from mail-ea0-x22d.google.com (mail-ea0-x22d.google.com [IPv6:2a00:1450:4013:c01::22d]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5GIeWe4011722 for ; Sun, 16 Jun 2013 20:40:42 +0200 Original-Received: by mail-ea0-f173.google.com with SMTP id g15so1354574eak.4 for ; Sun, 16 Jun 2013 11:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=nvidR8OM53mQE7zjZHoAxlJber18aSmY5Vec1g3L/9g=; b=stGyhxlrAoY8Ps6p6rZpk9WtTcxMRT2VrX2i+kIbFlaHM78ljwBg6Vugf9MLz6H/wb CV+rl9Et96ZXjw96ykQ62AsZ/9HdiFgHKiMlqXaAe/WgczMjpMJUi2zbV4ZAEszwzoD0 AoNj0+iMqmJ2sOwUabqifwsH99ai+fsH3u25BW/w82VdH7xgZRuj0x0gj18eIX2+pI0G /wEVj1p4VIWj4zCdt70dL0lquuwdiBCsraHGmJfnQVuLO+ZinG16i9ZIJvMoQI2I/+dG OjK6ukxC1k5fE2QulQ/9kanOopr8B4B3+lvMsbjsCUhzwXlyfkWqFy9yNa2i4u+jv6l7 Da9Q== X-Received: by 10.14.198.73 with SMTP id u49mr10268039een.19.1371408031919; Sun, 16 Jun 2013 11:40:31 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe5063.pool.mediaWays.net. [77.190.80.99]) by mx.google.com with ESMTPSA id y10sm18317697eev.3.2013.06.16.11.40.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 16 Jun 2013 11:40:31 -0700 (PDT) In-Reply-To: <51BDD438.1040000@student.ru.nl> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJN6Ewnv - e02e1cf3ddc4 - 20130616 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:83018 Archived-At: Am 16.06.2013 um 17:05 schrieb Sander Maijers : > On 15-06-13 19:42, Wolfgang Schuster wrote: >> >> Am 15.06.2013 um 18:01 schrieb Sander Maijers : >> >>> I am now using xtable to have an XMLish document to store a table. How I can embed ConTeXt code like $\Delta{}N_{\text{test}}$ >>> in the external XML file file with the table? In other words, having mathematical notiation in the table header? >>> >>> I tried various things such as: >>> \expanded{\xmlflush{#1}} >> >> 1. Have you looked at the cals table module? > > No. I was able to find some references to CALS and ConTeXt with Google, but no documentation for the module you describe. A simple example I found online: \usemodule[cals] \starttext \startbuffer Any text Any text \stopbuffer \processXMLbuffer \stoptext >> 2. Can you provide a example for your problem? > > No, not at this time, because I am very pressed for time now. But I will come back to this later. When the content of the cells is normal context code you can use \xmlflushcontext instead of \xmlflush. 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 ___________________________________________________________________________________