Re: [xep-support] General identifier in XEP configuration file for font paths

From: Thomas Schraitle <>
Date: Sat Nov 25 2006 - 13:38:12 PST


On Saturday 25 November 2006 21:41, Chris Ridd wrote:
> On 25/11/06 1:24, Thomas Schraitle <> wrote:
> > I am looking for a more general solution that I can use in my XEP
> > configuration file. An option using on a command line that can switch
> > from one font directory to the other would also help.
> >
> > Any other ideas?
> Look at the supplied xep shell script wrapper: it passes a path to
> xep.xml to the processor via the command-line. Mine says:
> "$JAVA_HOME/bin/java" \
> -classpath "$CP" \
> "-Dcom.renderx.xep.CONFIG=$XEP_HOME/xep.xml" \
> com.renderx.xep.XSLDriver "$@"
> So what you /could/ do is support all your target OSes using one
> package by installing *all* the platform-specific xep.xml files, and
> then changing the script to select a different one depending on uname
> or something.

Thanks for your solution, Chris! :-)

I believe it works. Unfortunatly, I have to use different configuration
files that share a lot of duplicate font-group entries. The only
difference is a different xml:base attribute, for example (omitted config
root element):

---[ xep-a.xml ]---
<fonts xmlns="">
  <font-group label="Agfa Fonts"
              embed="true" subset="true">
  <!-- ... -->

---[ xep-b.xml ]---
<fonts xmlns="">
  <font-group label="Agfa Fonts"
              embed="true" subset="true">
  <!-- ... -->

If possible, I would like to use /one/ XEP configuration file. However,
this can be done only, if I use a value in xml:base which is, well, more
general. XEP (or the XML parser) lets you define a resolver class for XML
catalogs. Maybe someone has experience in this direction?


Thomas Schraitle
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Sat Nov 25 13:42:34 2006

This archive was generated by hypermail 2.1.8 : Sat Nov 25 2006 - 13:42:35 PST