ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Petr Ferdus <pferdus@vertigo.fme.vutbr.cz>
Subject: Re:typeseting XML
Date: Fri, 18 May 2001 16:33:49 +0200 (CEST)	[thread overview]
Message-ID: <Pine.BSF.3.96.1010518152639.16005D-100000@vertigo.fme.vutbr.cz> (raw)
In-Reply-To: <Pine.BSF.3.96.1010515225104.2197B-100000@vertigo.fme.vutbr.cz>

> \defineXMLsingular [backslash]  {$\backslash$}
> having in XML doc an  empty element <backslash/>, with no success (no
> error either, it was just silently discarded). 
Sorry for bothering, there was a mistake on my side. This setup of course
typesets backslash, just my script was converting to elements everything
but backslashes...

Anyway I have another question. There was a note on direct XML processing
(texexec --env=yourenvironemntfile yourfile.xml) which works partly for me.
I can't force source document translation. I used to have in tex source 
files line like:
%interface=en output=pdf texttranslate=cp1250cs
When I try direct XML processing and have such line in my environment
file, it seems to ignore such directive (I guess, because it produces dvi
file without explicit command line switch). What could be done to inform
context about XML source encoding? (command line swich like
--translate-file=cp1250cs, process instruction or specifying  used
encoding directly in XML source does not seem to help as well) Any input
would be appreciated.

If I can have one more question, I would like see some hints, how to
implement separate handling of XML elements,  based on the value in
key="value" pairs. So if there is an element <p style="a"> what would
process p's separately for every value of style key. Is there some
shareable knowledge? (I can't figure it out with the aid of "example"
manual)
Thanks.

Peter Ferdus


  reply	other threads:[~2001-05-18 14:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-16 23:54 typeseting XML Petr Ferdus
2001-05-18 14:33 ` Petr Ferdus [this message]
2002-02-03 19:51 ` Johannes Hüsing
2002-02-05  8:26   ` Hans Hagen
2002-02-05 13:20     ` Taco Hoekwater
2002-02-05 13:57       ` Hans Hagen
2002-02-05 21:40       ` Johannes Hüsing

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=Pine.BSF.3.96.1010518152639.16005D-100000@vertigo.fme.vutbr.cz \
    --to=pferdus@vertigo.fme.vutbr.cz \
    /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).