I really appreciate all of this advice, but I must say again that I'm a noob to this framework and thus you are all pretty much speaking over my head. I've been using DITA for a few years now, but DITA-OT is another level.
Answering your messages in series:
Kristen,
I see that there is an option to preserve the
topic.fo file, but if I change that flag and look inside the file, what exactly should I be looking for?
Radu,
I don't understand your suggestion, and Kristen seems to disagree, so I'm not sure how to act on this.
Kristen,
I have tried to follow your suggestion, combined with Julio's, but it changes nothing in the PDF output. Probably I am not understanding something and doing it wrong, so here are the details:
I have a copy of
pr-domain-attr.xsl in fo/attrs. This file contains the definitions for
codeph and
codeblock. I mode only these two definitions into a new file called
code-attr.xsl in fo/attrs. I then modified the definition for
codeph by adding this:
<xsl:attribute name="color">red</xsl:attribute>
And I added the following to
fo/attrs/custom.xsl:
<xsl:import href="code-attr.xsl"/>I removed the import of
pr-domain-attr.xsl from the same
custom.xsl file.
Created the PDF file again. No change.
Julio,
I don't know what I'm supposed to be looking for in the
topic.fo file. And lastly, yes, I have
font-mappings.xml, not
font-mappings.xsl. I believe this file name is shown incorrectly twice on p. 36 of
DITA for Print, and this error is not mentioned in the errata.
Thanks for all of this advice, and sorry again that I'm not following everything you propose.