From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38109 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: MKIV and XML documentation Date: Tue, 18 Dec 2007 15:13:13 +0100 Message-ID: <115224fb0712180613n4cceb84bo1692f8dade00513d@mail.gmail.com> References: <4766E788.3070001@wxs.nl> <115224fb0712180539k18f5ac81v724a6d980a5cd39a@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197987304 17375 80.91.229.12 (18 Dec 2007 14:15:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 14:15:04 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 18 15:15:15 2007 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 1J4dDu-0006mh-S9 for gctc-ntg-context-518@m.gmane.org; Tue, 18 Dec 2007 15:15:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE7401FC43; Tue, 18 Dec 2007 15:14:31 +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 07559-03-2; Tue, 18 Dec 2007 15:14:03 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E3461FC21; Tue, 18 Dec 2007 15:14:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8B4EB1FC0D for ; Tue, 18 Dec 2007 15:13:59 +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 07659-01-9 for ; Tue, 18 Dec 2007 15:13:14 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by ronja.ntg.nl (Postfix) with ESMTP id BEA591FC32 for ; Tue, 18 Dec 2007 15:13:13 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id q2so93368uge.50 for ; Tue, 18 Dec 2007 06:13:13 -0800 (PST) Original-Received: by 10.66.233.10 with SMTP id f10mr866699ugh.25.1197987193491; Tue, 18 Dec 2007 06:13:13 -0800 (PST) Original-Received: by 10.66.252.15 with HTTP; Tue, 18 Dec 2007 06:13:13 -0800 (PST) In-Reply-To: Content-Disposition: inline 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:38109 Archived-At: 2007/12/18, Johannes Graumann : > Wolfgang Schuster wrote: > > > 2007/12/18, Johannes Graumann : > >> Thanks! I remembered this, but had lost track of where to find it ... > >> Can someone please have a quick look at the following: > >> > >> \startxmlsetups xml:mysetups > >> \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} > >> \stopxmlsetups > >> > >> \xmlregistersetup{xml:mysetups} > >> > >> \startxmlsetups xml:paragraph > >> \xmlflush{#1}\endgraf > >> \stopxmlsetups > >> > >> \starttext > >> \processXMLfilegrouped{zip::\env{odt}::content.xml} > >> \stoptext > > > > replace this with > > > > \starttext > > \xmlprocess{main}{zip::\env{odt}::content.xml}{} > > \stoptext > > > > \processXMLfilegrouped did not work in combination with xmlregistersetup > > > Thanks for the hint, but > > \startxmlsetups xml:mysetups > \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph} > \stopxmlsetups > > \xmlregistersetup{xml:mysetups} > > \startxmlsetups xml:paragraph > \xmlflush{#1}\endgraf > \stopxmlsetups > > \starttext > \xmlprocess{main}{zip::\env{odt}::content.xml}{} > \stoptext > > doesn't give anything different than what I was trying before ... Can you send a real example (Openoffice file plus TeX file). 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________