ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: MKIV and XML documentation
Date: Wed, 19 Dec 2007 12:52:13 +0100	[thread overview]
Message-ID: <115224fb0712190352u7b38c9fbx72e284663d4d7ee2@mail.gmail.com> (raw)
In-Reply-To: <fk8lj4$k2c$1@ger.gmane.org>

2007/12/18, Johannes Graumann <johannes_graumann@web.de>:
> Wolfgang Schuster wrote:
>
> > 2007/12/18, Johannes Graumann <johannes_graumann@web.de>:
> >> Wolfgang Schuster wrote:
> >>
> >> > 2007/12/18, Johannes Graumann <johannes_graumann@web.de>:
> >> >> 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).
>
> Attached. Thanks for your time. Joh

I tried this yesterday myself but I get the same error "no xml file found".

Looks like ConTeXt is not able to open zip files in xml mode, you should
Hans for this feature.

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
___________________________________________________________________________________


  reply	other threads:[~2007-12-19 11:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-17 16:15 Johannes Graumann
2007-12-17 21:18 ` Hans Hagen
2007-12-18 12:11   ` Pablo Rodríguez
2007-12-18 13:04     ` luigi scarso
2007-12-18 16:22       ` Hans Hagen
2007-12-18 15:26     ` Hans Hagen
2007-12-18 13:13   ` Johannes Graumann
2007-12-18 13:39     ` Wolfgang Schuster
2007-12-18 14:03       ` Johannes Graumann
2007-12-18 14:13         ` Wolfgang Schuster
2007-12-18 14:31           ` Johannes Graumann
2007-12-19 11:52             ` Wolfgang Schuster [this message]
2007-12-19 13:11               ` Hans Hagen
2007-12-19 17:22                 ` Johannes Graumann
2007-12-23 13:59                 ` Johannes Graumann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=115224fb0712190352u7b38c9fbx72e284663d4d7ee2@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).