]> granicus.if.org Git - docbook-dsssl/commitdiff
Make section title font sizes a function of the body size, not an absolute size....
authorNorman Walsh <ndw@nwalsh.com>
Mon, 20 Jan 2003 15:43:46 +0000 (15:43 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 20 Jan 2003 15:43:46 +0000 (15:43 +0000)
xsl/params/section.title.level1.properties.xml
xsl/params/section.title.level2.properties.xml
xsl/params/section.title.level3.properties.xml
xsl/params/section.title.level4.properties.xml
xsl/params/section.title.level5.properties.xml
xsl/params/section.title.level6.properties.xml

index 9e309de2db351f36970df8af6ee9cdae3634a459..9b8584554e3ba07d6ac2f10c3348f06e554e73c5 100644 (file)
 <refsynopsisdiv>
 <src:fragment id='section.title.level1.properties.frag'>
 <xsl:attribute-set name="section.title.level1.properties">
-  <xsl:attribute name="font-size">16pt</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 2.0736"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
 </xsl:attribute-set>
 </src:fragment>
 </refsynopsisdiv>
index d3e90131656ba2e8ec0d2401adad2324592dd01a..f6f7d206a8e4d912f466fcaed0055d7bdbe9ff69 100644 (file)
 <refsynopsisdiv>
 <src:fragment id='section.title.level2.properties.frag'>
 <xsl:attribute-set name="section.title.level2.properties">
-  <xsl:attribute name="font-size">14pt</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.728"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
 </xsl:attribute-set>
 </src:fragment>
 </refsynopsisdiv>
index 1cdff3bc98996cf3a106f9fb5e91532221d69ed9..b895e232b79d7fb0e9b5ccbe9e102afc9e9e94a6 100644 (file)
 <refsynopsisdiv>
 <src:fragment id='section.title.level3.properties.frag'>
 <xsl:attribute-set name="section.title.level3.properties">
-  <xsl:attribute name="font-size">12pt</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.44"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
 </xsl:attribute-set>
 </src:fragment>
 </refsynopsisdiv>
index c146799148c1837d73e2a8524681b568bf25f9a5..36c7b72ffb8ef7b61d79f01825e6d018ce1c15f7 100644 (file)
 <refsynopsisdiv>
 <src:fragment id='section.title.level4.properties.frag'>
 <xsl:attribute-set name="section.title.level4.properties">
-  <xsl:attribute name="font-size">11pt</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.2"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
 </xsl:attribute-set>
 </src:fragment>
 </refsynopsisdiv>
index 8c6b8da99b1e718ecb2f92cc702c34cdd4fdda07..464afa7bf8b59a9bee56049a4330783f04788c2c 100644 (file)
 <refsynopsisdiv>
 <src:fragment id='section.title.level5.properties.frag'>
 <xsl:attribute-set name="section.title.level5.properties">
-  <xsl:attribute name="font-size">10pt</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
 </xsl:attribute-set>
 </src:fragment>
 </refsynopsisdiv>
index a95e898ae48ae343c3a7b93309430526bf3319b8..af3896764b4fff76b20e69e1a977bc0fe3ba311a 100644 (file)
 <refsynopsisdiv>
 <src:fragment id='section.title.level6.properties.frag'>
 <xsl:attribute-set name="section.title.level6.properties">
-  <xsl:attribute name="font-size">10pt</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
 </xsl:attribute-set>
 </src:fragment>
 </refsynopsisdiv>