Page 1 of 1

Adding page (to master flow?) and font issue

Posted: Thu Sep 26, 2013 10:27 pm
by kmank
Hello,

I am trying to produce a PDF in 15.0 and am working with the Customization folder. I am able to modify the cover page as detailed in documentation, but I cannot locate where and how to add a back cover page to the output. Where would I start with that?

Also, I am able to add a TTF font in the font-mappings.xml file. I was able to get the titles to reflect the font, but cannot locate where to modify the code so that it is reflected in the base font. That is, so that it shows in all paras, lists, etc. Essentially, I need it to be in almost all elements. Where can I look for this?

Thanks!

Re: Adding page (to master flow?) and font issue

Posted: Fri Sep 27, 2013 12:41 pm
by Radu
Hi,
I am trying to produce a PDF in 15.0 and am working with the Customization folder. I am able to modify the cover page as detailed in documentation, but I cannot locate where and how to add a back cover page to the output. Where would I start with that?
There seems to be a previous discussion on the DITA Users List about this, maybe you should take a look at it:

http://groups.yahoo.com/neo/groups/dita ... pics/24972
Also, I am able to add a TTF font in the font-mappings.xml file. I was able to get the titles to reflect the font, but cannot locate where to modify the code so that it is reflected in the base font. That is, so that it shows in all paras, lists, etc. Essentially, I need it to be in almost all elements. Where can I look for this?
We have a small topic in our user manual about how PDF font mapping works:

http://www.oxygenxml.com/doc/ug-editor/ ... tails.html

In the XSLT stylesheets I think that the "serif" alias is used the most when XSL-FO elements are output. Then this alias is mapped like:

Code: Select all

 <alias name="serif">Serif</alias>
which is then defined as a logical font:

Code: Select all

<logical-font name="Serif">
<physical-font char-set="default">
<font-face>Times New Roman, Times</font-face>
</physical-font>....
So you should probably change the reference to the physical font "Times New Roman" with your own physical font name.

Regards,
Radu