Re: customizing the conversion of DITA to PDF
Hussein Shafie <[email protected]> Mon, 06 Oct 2014 19:37:49 +0200
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
Mary M. wrote: > > I have a few questions on the look and feel of the pdf generator through > xsl-util. > > 1.In the frontmatter, each topic takes its own page – is there any way > of putting them straight after each other? I have 3 files for doc > versioning/approval/control, No, there is no way to do that using XMLmind XSL Utility. > > Which are really front matter, but there’s a ton of white space that I’d > like to get rid of. > > 2.Under each topic heading there’s a line – is it possible to get rid of it? > Sure. In XMLmind XSL Utility, 1) Select the conversion specification called "ditaToPDF". 2) Click "Edit" to modify this conversion specification. 3) Click the "Transform" tab. 4) From there, follow the customization procedure documented in the following sections: 4.3. Customizing a stock XSLT stylesheet http://www.xmlmind.com/foconverter/_distrib/xslutil/doc/help/com.xmlmind.xslutil.ConversionEditor.html#customizing_xslt and then in: 4.3.2. Creating an XSLT stylesheet customization http://www.xmlmind.com/foconverter/_distrib/xslutil/doc/help/com.xmlmind.xslutil.ConversionEditor.html#creating_xslt_customization By following this procedure, you'll use a helper application called "XMLmind XSL Customizer" to create a .xsl file customizing our stock fo.xsl. In your .xsl customization file, using "XMLmind XSL Customizer", add attribute: border-bottom-style with value: none in the attribute-set called: topic-title See attached screenshot. Doing all this is much quicker and much simpler than it seems. The only difficult part is determining which attribute-set/attribute-name/attribute-value to change to get what you want. It's not possible to determine this attribute-set/attribute-name/attribute-value without looking at the source of our DITA XSLT stylesheets, that's why we'll try to do this difficult part for you. -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support
custom_fo_xsl.png
(image/png, 456.3 KB) - not displayed