Hi,

font size is static by default. But you could actually make the value
dynamic by assigning its value depending on the paper.type parameter for
example.

<xsl:param name="body.font.master">
  <xsl:choose>
    <xsl:when test="$paper.type="A5">10pt</xsl:when>
    <xsl:when test="$paper.type="A3">14pt</xsl:when>
    <xsl:otherwise>12pt</xsl:otherwise>
  </xsl:choose>
</xsl:param>

(untested)

Concerning images, you can either:
- make the size relative (e.g. width="80%")
- recalculate the size at transformation time by extracting it in the
image handling template and making it a fraction of the static size
depending on the paper size change... (might be more difficult).

Good luck,

Camille.

deannel...@aol.com wrote:
> Hi y'all,
>  
> Is there a way to shrink the page size in Docbook without having to
> reformat the doc going to PDF (FOP).
>  
> My users would like to have a "half size" manual to travel with
> instead of a regular US Letter size page. I guess I could to this at
> the printers, but it would be nice if I could do it at the office.
>  
> I tried adjusting the page.height and .width but that just messed
> things up because the fonts were still the same size as were the images.
>  
> Any ideas?
>  
> Regards,
> Dean Nelson

<<attachment: camille.vcf>>

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to