[xep-support] Re: Is it possible to split the XEP config file?

David Hollis dhollis at aandoconsultancy.ltd.uk
Thu Apr 14 07:37:56 PDT 2016


Hi,

Firstly, thank you for your assistance.

However, I think I started off in the wrong place with this query! Apologies!

What I would like to do is this:

1. Keep the standard desktop RenderX XEP installation, including the standard xep.xml

2. Add a second, partial, xep.xml in the DITA Toolkit custom PDF transform that just contains custom font information.

This would imply two <fonts/> major elements, one in each xep.xml.

So, firstly, is it possible to do this? Would the information in the second xep.xml add to the first, or override it?

Secondly, what is the easiest mechanism to achieve this? I first thought of catalog.xml, but I'm sure it would be easier with an import or include statement at the start of the second xep.xml.

Thank you for your patience and assistance.

David


> Certainly, you can use href attribute for the major elements like <options>, <fonts> and even <font-group>:
>  
> Like:
>  
> <config xmlns="http://www.renderx.com/XEP/config">
> <options href="xep.options.xml"/>
> <fonts href="xep.fonts.xml"/>
> <languages href="xep.languages.xml"/>
> </config>
>  
> And then even this:
>  
> <fonts default-family="Helvetica" xmlns="http://www.renderx.com/XEP/config">
> <font-group href="xep.fonts.base14.xml"/>
> <font-group href="xep.fonts.type1.xml"/>
> <font-group href="xep.fonts.windows.xml"/>
> <font-group href="F:\GoogleFonts.xml"/>
> <!-- Required aliases -->
> <font-alias value="Courier" name="monospace"/>
> <font-alias value="Helvetica" name="sans-serif"/>
> <font-alias value="Times" name="serif"/>
> <font-alias value="Times" name="cursive"/>
> <font-alias value="Times" name="fantasy"/>
> </fonts>
>  
> Kevin Brown
> RenderX
>  
> From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf Of David Hollis
> Sent: Monday, April 11, 2016 10:59 AM
> To: RenderX Community Support List <xep-support at renderx.com>
> Subject: [xep-support] Is it possible to split the XEP config file?
>  
> Hi all,
>  
> I'm using Desktop XEP in conjunction with the DITA Toolkit, and a custom PDF transform that defines particular fonts.
>  
> I would like to include the XEP config file within the custom PDF transform to define the font file paths.
>  
> However, the XEP config file includes a lot of 'standard' items that need to point to file paths in the standard RenderX XEP installation.
>  
> I was wondering if there is a way to split the XEP config file, possibly using a XML catalog file?
>  
> There could be two issues: whether the DITA OT accepts this, and also whether XEP accepts this.
>  
> I've raised a DITA OT Github issue: ANT variables in PDF renderer config files · Issue #2295 · dita-ot/dita-ot
>  
> Many thanks,
> David
> _______________________________________________
> (*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
> (*) By using the Service, you expressly agree to these Terms of Service http://w
> ww.renderx.com/terms-of-service.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20160414/9a7aae65/attachment.html>


More information about the Xep-support mailing list