最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

html - DITA Map PDF script based on HTML5 & CSS in Oxygen XML Author - Stack Overflow

programmeradmin1浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论