On 01/10/2018 08:05 AM, Leif Halvard Silli wrote:
DITA seems to me to operate with a Chicago footnote style. However, a
Chicago literature list, with hanging indent, seems impossible, in PDF
output: I cannot find a way - for PDF output - to create a hanging
indented list for keeping the literature list. Is there some way to do
this?
Sorry but I don't know what is a Chicago footnote style. Anyway, if you
just find that footnotes do not look very good, may be it's an Apache
FOP problem. See attachments: same footnote first rendered by Apache FOP
and then rendered by RenderX XEP.
--> If you want to change the way footnotes are rendered, please
customize ditac as explained here:
"2. Customizing the look of the PDF files generated by ditac"
http://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/manual-6.html#customAttributeSet
You may have to redefine the following XSL template. Excerpts from
ditac_install_dir/xsl/fo/miscellaneous.xsl:
---
<xsl:template match="*[contains(@class,' topic/fn ')]">
<xsl:if test="not(@id)">
<fo:footnote>
<xsl:call-template name="footnoteCallout">
<xsl:with-param name="footnote" select="."/>
</xsl:call-template>
<xsl:call-template name="footnoteBody">
<xsl:with-param name="footnote" select="."/>
</xsl:call-template>
</fo:footnote>
</xsl:if>
</xsl:template>
---
where "footnoteCallout" and "footnoteBody" are defined in
ditac_install_dir/xsl/fo/body.xsl.
---
<xsl:attribute-set name="fn-callout">
<xsl:attribute name="baseline-shift">super</xsl:attribute>
<xsl:attribute name="font-size">smaller</xsl:attribute>
<xsl:attribute name="font-weight">normal</xsl:attribute>
<xsl:attribute name="font-style">normal</xsl:attribute>
<xsl:attribute name="font-variant">normal</xsl:attribute>
<xsl:attribute name="color">black</xsl:attribute>
<xsl:attribute name="text-decoration">none</xsl:attribute>
</xsl:attribute-set>
<xsl:template name="footnoteCallout">
<xsl:param name="footnote" select="''"/>
<fo:inline xsl:use-attribute-sets="fn-callout">
<xsl:choose>
<xsl:when test="$footnote/@callout">
<xsl:value-of select="$footnote/@callout"/>
</xsl:when>
<xsl:otherwise>
<xsl:number count="//*[contains(@class,' topic/fn ')]"
level="any" format="(1)" select="$footnote"/>
</xsl:otherwise>
</xsl:choose>
</fo:inline>
</xsl:template>
...MORE...
---
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support