Post History
With help from a coworker I was able to fix this by adding the following to the FO stylesheet: <xsl:template match="classname"> <fo:inline hyphenate="false"> <xsl:call-templat...
Answer
#3: Attribution notice added
Source: https://writers.stackexchange.com/a/9203 License name: CC BY-SA 3.0 License URL: https://creativecommons.org/licenses/by-sa/3.0/
#2: Initial revision
With help from a coworker I was able to fix this by adding the following to the FO stylesheet: <xsl:template match="classname"> <fo:inline hyphenate="false"> <xsl:call-template name="inline.monoseq"/> </fo:inline> </xsl:template> And likewise for other elements that should get this treatment, like `methodname` and `literal`. This creates a wrapper around the native style, changing hyphenation only. [Source](http://www.sagehill.net/docbookxsl/PrintCustomEx.html#Hyphenation)