daymonri
daymonri

Reputation: 1

DITA Map PDF script based on HTML5 & CSS in Oxygen XML Author

Good afternoon! I use Oxygen XML Author to make dita maps and convert them to pdf. I am performing the conversion using a DITA Map PDF script based on HTML5 & CSS. To format the text, I use my own CSS made using the service styles.oxygenxml.com. The problem is that the page with the document content is called "Contents", but I want to name it differently. However, I don't understand how to do this! I will be grateful for your help!

Upvotes: 0

Views: 35

Answers (1)

jlacour31
jlacour31

Reputation: 11

It is possible to change the text by overriding the CSS rule creating this display, for example:

*[class ~= "toc/title"][empty]:before {
  content: "MyTableOfContents";
}

You can see all the rules applied in the transformation by opening the merged.html file created in the output directory in your favorite browser and use the "Inspect" function.

Upvotes: 0

Related Questions