
Hi Radu Thanks for specifying the parameter names to be edited. If I refer to WebHelp for e.g., regardless of the very nice Skin builder, you've made it possible to start from a default CSS sheet rather than developing one from scratch. So, realizing that the same facility isn't available for EPUB & Kindle, I was wondering of the location of the default CSS that is used to produce default output; so that to make a copy of it and incrementally make desired adjustments and/or additions. Bets regards, Khaled -----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Oxygen XML Editor Support (Radu Coravu) Sent: Monday, October 06, 2014 8:09 AM To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] FW: Custom CSS for EPUB and Kindle Hi Khaled, Both the EPUB and Kindle formats are a bunch of HTML documents inside an archive container. You should create a custom CSS and then edit the transformation scenario, specify in the Parameters list the "args.copycss" parameter to "yes" and the "args.css" to the path to your custom CSS. To know what CSS selectors to add to your custom CSS: After you publish to EPUB you can un-pack the EPUB archive using a free utility like 7-ZIP and open one of those output HTML documents to look inside it. For each significant HTML element you will have a @class attribute which contains several values, attribute which comes from the @class attributes of the original DITA content. You can then match based on those class attributes various HTML elements and style them accordingly. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 10/5/2014 10:24 PM, Khaled Aly wrote:
Hi
Can we advise aboutthe best practices for pre-transform CSS customization forEPUB and Kindleoutputs, starting with oXygen'sdefault stylesheet?
Thanks & regards,
Khaled
----------------------------------------------------------------
Khaled A.B. Aly, Senior Author & Analyst in ICT
Technopsis Research; Cairo, Egypt (GMT+2)
//
Technopsis.com/pro
LinkedIn.com/in/kaaly <eg.linkedin.com/in/kaaly>
+20 (0)12 2294 6280
Skype:ka.aly
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user