[oXygen-user] Specifying multiple CSS files in an HTML5 transformation scenario

Kristen James Eberlein kris at eberleinconsulting.com
Fri Feb 28 08:01:02 CST 2020

Thanks very much, Radu. Those are both useful options to be aware of 
this. For this situation, I will amalgamate the CSS files since I want 
to get everything (structure of the DITA maps, number of DITA-OT 
plug-ins, etc.) as simple as possible.


Kristen James Eberlein
Chair, OASIS DITA Technical Committee
OASIS Distinguished Contributor
Principal consultant, Eberlein Consulting LLC
+1 919 622-1501; kriseberlein (skype)

On 2/28/2020 8:46 AM, Oxygen XML Editor Support (Radu Coravu) wrote:
> Hi Kristen,
> There is no such option in the base HTML5 output as far as I know. You 
> will probably need to create a third CSS which imports those 2 CSSs 
> and refer to that instead. But somehow your 2 CSSs will not be copied 
> automatically to the output folder, probably if you refer to them in 
> the DITA Map with "processing-role='resource-only'" will get them 
> copied to the output folder.
> Or you may add a DITA OT plugin which with a custom ANT build target 
> copies these extra CSSs to the output folder.
> Regards,
> Radu
> Radu Coravu
> <oXygen/> XML Editor
> http://www.oxygenxml.com
> On 2/28/2020 2:34 PM, Kristen James Eberlein wrote:
>> What is the best way to specify multiple files in a DITA-OT 
>> transformation scenario for HTML5?
>> I can specify multiple CSS in a template descriptor file for oXygen 
>> WebHelp, but I'm not sure how best to accomplish this in an HTML5 
>> transformation scenario.
>> Currently:
>> args.copycss=yes
>> args.css=bronto_responsive.css
>> args.cssroot=${homeDir/Documents/helpdocs/web-help/css
>> I have two other CSS files that should be used in the transformation ...
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user

More information about the oXygen-user mailing list