admin管理员组

文章数量:1220817

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. 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!

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!

Share Improve this question asked Feb 7 at 8:46 daymonri daymonri 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

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.

本文标签: htmlDITA Map PDF script based on HTML5 amp CSS in Oxygen XML AuthorStack Overflow