From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17815 Path: main.gmane.org!not-for-mail From: Rob Ermers Newsgroups: gmane.comp.tex.context Subject: Re: m-letter.tex -- backslash interpretation error Date: Mon, 10 Jan 2005 20:34:45 +0100 Message-ID: <41E2D8D5.7040100@hccnet.nl> References: <20050107183527.GA21057@fly.srk.fer.hr> <20050107192353.5796@news.comp.lancs.ac.uk> <41E13A7A.4060007@hccnet.nl> <41E18E52.5040108@wxs.nl> <41E2B6F3.7050206@hccnet.nl> <41E2C4B9.7040406@wxs.nl> Reply-To: r.ermers@hccnet.nl, mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080702030108090407050608" X-Trace: sea.gmane.org 1105385345 26250 80.91.229.6 (10 Jan 2005 19:29:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2005 19:29:05 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 10 20:28:46 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 1Co5Da-0002ur-00 for ; Mon, 10 Jan 2005 20:28:46 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9ED41127C0; Mon, 10 Jan 2005 20:28:45 +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 03574-04; Mon, 10 Jan 2005 20:28:44 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 63D39127B2; Mon, 10 Jan 2005 20:28:44 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6E6E127B2 for ; Mon, 10 Jan 2005 20:28:42 +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 03476-05 for ; Mon, 10 Jan 2005 20:28:42 +0100 (CET) Original-Received: from hnexfe08.hetnet.nl (unknown [195.121.6.174]) by ronja.ntg.nl (Postfix) with ESMTP id F35C21277A for ; Mon, 10 Jan 2005 20:28:41 +0100 (CET) Original-Received: from [127.0.0.1] ([81.206.233.107]) by hnexfe08.hetnet.nl with Microsoft SMTPSVC(5.0.2195.6874); Mon, 10 Jan 2005 20:28:41 +0100 User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <41E2C4B9.7040406@wxs.nl> X-OriginalArrivalTime: 10 Jan 2005 19:28:41.0765 (UTC) FILETIME=[97AE7550:01C4F74A] 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:17815 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17815 This is a multi-part message in MIME format. --------------080702030108090407050608 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hans, Thanks for your quick reply. I adapted the file, according to your=20 suggestion. The letter now comes out right! Thank you for that. I=20 immediately tried an items list, which also works! Still, if there is any \ code in the xml file, it does not seem to work. Changing \"e to =EB in Drie\"eenheid makes the =EB disappear. ...

Laan der Drie\"eenheid

...
comes out as: ... Laan der Drie=93=94eenheid ... I also found out that \usemodule[m-letter] works much better than=20 \usemodule[letter], which is not evident from the way is Context set up. Thanks again, Robert --------------080702030108090407050608 Content-Type: text/plain; name="brief-test.tex" Content-Disposition: inline; filename="brief-test.tex" Content-Transfer-Encoding: quoted-printable =EF=BB=BF%starttext \setups [letter:place] \stoptext \endinput \setupoutput[pdftex] %\tracelayerstrue %\usemodule[xtag-ini] \usemodule[corres] \usemodule[m-letter] \mainlanguage[nl] \setupbodyfont[ss] %\setvariables[letter:head][graphic=3Dbriefpapier-mo-p.010.pdf] \definelayer [letternext] [state=3Dnext, % graphic=3Dbriefpapier-mo-p.011.pdf, width=3D\paperwidth, height=3D\paperheight] \setvariables [letter:reference] [line=3D2, noflines-min=3D2, noflines-max=3D5, noflines=3D\getvariable{letter:reference}{noflines-max} ] \setvariables [letter:style] [opening=3Dformal, closing=3Dformal] %\setvariables % [letter:data] % [opening=3D, % initials=3D, % prefix=3D, % suffix=3D, % informalname=3D, % formalname=3D] % noflines=3D10] \setvariables[letter:address][line=3D6, hoffset=3D100mm,width=3D70mm] %\startsetups[contact:handle] %\XMLflush{address} \endgraf %\stopsetups %\startbuffer[texletter] %\input brieftekst-pol-jan2005 %\stopbuffer \setvariables [letter:data] [address=3D\XMLflush{address}, %prefix=3D\XMLflush{prefix}, %initials=3D\XMLflush{initials}, %formalname=3D\XMLflush{formalname}, %informalname=3D\XMLflush{informalname} %content=3D{\getbuffer[texletter]}, %,content=3D\getbuffer concerns=3DGe\"interesseerd?, date=3D10 januari 2005, author=3DDr. R.J.H.= M. Ermers ] \setvariables[contacts][selection=3Dn, file=3Dtest-data.xml] \startsetups[contact:handle] \setups[letter:place] \stopsetups \startsetups[letter:content] \input brief-inhoud-test.tex \stopsetups \startsetups[letter:place:content] \bgroup \disableXML \endgraf \setups[letter:content] \endgraf \egroup \stopsetups \XMLprocesscontacts[test-data.xml] \starttext %\setups[letter:place] \stoptext=20 --------------080702030108090407050608 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------080702030108090407050608--