From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17992 Path: main.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: TeX control sequence inside XML param Date: Thu, 27 Jan 2005 10:45:16 +0100 Message-ID: <41F8B82C.30105@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106819091 16213 80.91.229.6 (27 Jan 2005 09:44:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2005 09:44:51 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 27 10:44:45 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cu6Cj-0005G5-00 for ; Thu, 27 Jan 2005 10:44:45 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1C97127CB; Thu, 27 Jan 2005 10:44:44 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16427-10; Thu, 27 Jan 2005 10:44:42 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EFF401278D; Thu, 27 Jan 2005 10:44:41 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C64C1278D for ; Thu, 27 Jan 2005 10:44:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16397-06-3 for ; Thu, 27 Jan 2005 10:44:39 +0100 (CET) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 2C9FF1278B for ; Thu, 27 Jan 2005 10:44:39 +0100 (CET) Original-Received: (qmail 24863 invoked from network); 27 Jan 2005 09:44:36 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@82.142.74.35) by smtp.seznam.cz with SMTP; 27 Jan 2005 09:44:36 -0000 User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: ConTeXt X-Antivirus: avast! (VPS 0502-3, 14.01.2005), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17992 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17992 Hallo, it is possible to use TeX control sequence inside XML param? How? Example:
^^^^^^^^^^ \defineXMLenvironment[figure][file=,width=] {} {\externalfigure[\XMLop{file}][width=\XMLop{width}]} Thank you Vit Zyka ---------------------------------------------- Error message (from a bit complex source): ! Missing \endcsname inserted. \texescape \XML:ent:tex-backslash ...kslash \else \texescape \fi \param:1 ->width=.45\getXMLentity {tex-backslash} textwidth \getvalue #1->\csname #1 \endcsname \calculateexternalfigure ...guresvg #1[#4][#5][#6] \doifsomething \@@efmaxwid... ...dummy ][\filewithpath ][\param ][][] \calculateexternalscreenfi...