From: Hans Hagen <pragma@wxs.nl>
Subject: Re: references to external documents
Date: Fri, 28 Nov 2003 16:25:57 +0100 [thread overview]
Message-ID: <6.0.0.22.2.20031128162457.0307fe88@server-1> (raw)
In-Reply-To: <002001c3b414$70fd7430$1c00a8c0@best>
At 12:55 26/11/2003, Pawel Jackowski na Onet wrote:
>Hi all!
>
>I'm working with huge XML documents which are compiled to PDF (with ConTeXt)
>and converted to HTML (with XSLT and others). These XML documents contain
>references to external files (images). References are mapped to paths with
>XML code; i.e. <imgref id="cow" src="./images/cow.png"/>. Translating such
>a map to ConTeXt is rather obvious. But how to implement simmilar mechanism
>for external XML documents? In example I would like to use command
>\useexternaldocument[intro][introduction.xml] and than process
>'introduction.xml' on the base of is ID reference ('intro').
>
>Is it possible? Does ConTeXt suport referencing documents as well as
>figures?
you can use this:
\definefilesynonym[indirect][whatever.xml]
\starttext
\processXMLfile{\truefilename{indirect}}
\stoptext
given that the whatever.xml file is there
Hans
prev parent reply other threads:[~2003-11-28 15:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-26 11:55 Pawel Jackowski na Onet
2003-11-28 15:25 ` Hans Hagen [this message]
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=6.0.0.22.2.20031128162457.0307fe88@server-1 \
--to=pragma@wxs.nl \
--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).