Pere Porta wrote:
> Is it possible to do the same thing (a larger font size in the pdf
> output) in a dita document (say, a topic)?
>  
> If yes, are the steps the same you mentioned in your answer (for a
> DocBook 4 or 5 document) or are there some differences for a dita document?
>  

Yes, the only differences are:

1/ If you want to convert a DITA map, first open a DITA map before
selecting "Options|Customize Configuration|Change Document Conversion
Parameters".

   If you want to convert a DITA bookmap, first open a DITA bookmap
before selecting "Options|Customize Configuration|Change Document
Conversion Parameters".

  If you want to convert a DITA topic, first open a DITA topic before
selecting "Options|Customize Configuration|Change Document Conversion
Parameters".

That is, in the case of DocBook 4 or 5, we have one configuration to
customize while in the case of DITA, we have 3 possible configurations
to customize.

2/ The name of the XSLT stylesheet parameter is:

---
base-font-size
---

and its value must end with "pt". Example "14pt".

See
http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__base-font-size



----
PS: In the future, please be more specific in your emails. Maintaining
this public mailing list costs us, XMLmind, a lot of money. Therefore we
prefer to give the right answer to the right question in a few steps as
possible.



> 
> 2010/9/14 Hussein Shafie <[email protected] <mailto:[email protected]>>
> 
>     On 09/14/2010 12:33 PM, Pere Porta wrote:
>     >
>     > at converting a document xml to pdf, is there any way to get a bigger
>     > size of letters than the default size?
>     >
>     > If yes, please tell me how to do this.
> 
>     My answer assumes that you are trying to do this for a DocBook 4 or 5
>     document.
> 
>     Yes, this is done by setting the "body.font.master" XSLT stylesheet
>     parameter to a font size larger than 10.
> 
>     Procedure:
> 
>     [1] Open your document.
> 
>     [2] Select "Options|Customize Configuration|Change Document Conversion
>     Parameters".
> 
>     [3] Select a group of parameter using the combobox. For Example:
>     "Converter to PDF, PostScript"
> 
>     [4] Click Add.
> 
>     [5] Type:
>     ---
>     body.font.master
>     ---
>     then:
>     ---
>     14
>     ---
>     Note that there is no need to specify the unit of the font size (which
>     is implicitly "pt").
> 
>     See attached screenshot.
> 
>     [6] Click OK twice.
> 
>     This setting is specified once for all and not each time you'll have to
>     convert a DocBook 4 or 5 document.
> 
> 


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to