From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39632 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: more xml in mkiv Date: Mon, 24 Mar 2008 22:28:53 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206394262 22965 80.91.229.12 (24 Mar 2008 21:31:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2008 21:31:02 +0000 (UTC) To: mailing ConTeXt users list for Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 24 22:31:32 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JduGE-0007ah-5s for gctc-ntg-context-518@m.gmane.org; Mon, 24 Mar 2008 22:31:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B7AB31FC14; Mon, 24 Mar 2008 22:30:38 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26207-01-5; Mon, 24 Mar 2008 22:29:43 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 450861FC6B; Mon, 24 Mar 2008 22:29:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E55D1FC6B for ; Mon, 24 Mar 2008 22:29:41 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26215-02-2 for ; Mon, 24 Mar 2008 22:29:07 +0100 (CET) Original-Received: from mailout08.sul.t-online.de (mailout08.sul.t-online.de [194.25.134.20]) by ronja.ntg.nl (Postfix) with ESMTP id 1753D1FC14 for ; Mon, 24 Mar 2008 22:29:07 +0100 (CET) Original-Received: from fwd29.aul.t-online.de by mailout08.sul.t-online.de with smtp id 1JduE6-0006CV-02; Mon, 24 Mar 2008 22:29:06 +0100 Original-Received: from [192.168.0.2] (SmazlBZ6ghd+R7ByJCuYmh77SNhXgctzFAOJxUU4ctVoWVAPeDLS-bIE-NwP7pgwui@[87.178.127.142]) by fwd29.aul.t-online.de with esmtp id 1JduDu-1ub1ma0; Mon, 24 Mar 2008 22:28:54 +0100 X-Mailer: Apple Mail (2.919.2) X-ID: SmazlBZ6ghd+R7ByJCuYmh77SNhXgctzFAOJxUU4ctVoWVAPeDLS-bIE-NwP7pgwui@t-dialin.net X-TOI-MSGID: 816ac6af-88c6-41f2-aaa2-ec3bdc387f69 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:39632 Archived-At: Hi all, I played some more with the new mkiv xml mechanism and am beginning to see the light: some things that turned out to be very difficult (at least for me) with the "old" mechanism are easy now. However, I still have a couple of questions: 1. I have this minimal file test.xml: one two three and this minimal environment test-style.tex: \startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{document|itemize|item}{xml:*} \stopxmlsetups \xmlregistersetup{xml:mysetups} \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:itemize \startitemize \xmlflush{#1} \stopitemize \stopxmlsetups \startxmlsetups xml:item \item \xmlflush{#1} \stopxmlsetups \starttext \xmlprocess{main}{\inputfilename}{} \stoptext When I run texexec --lua --env=test-style test.xml, I get output only for item "three," not for one and two. What am I doing wrong? 2. In every run, I get this warning: TeXUtil | check loading of file 'test-style', begin/end problem I don't see anything wrong with my files, though. Is this harmless? 3. I have a structure like this to get numbered labels: blahblah When I process this, I get unwanted spaces in my pdf; they disappear when I delete the newline and space between and blahblah. Is there a magic command to make them disappear? Thanks, and all best Thomas ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________