FOP_XCONF=fop.xconf
STYLESHEET=am.css
+FONTS=\
+ fonts/DejaVuSansMono-BoldOblique.ttf \
+ fonts/DejaVuSansMono-Bold.ttf \
+ fonts/DejaVuSansMono-Oblique.ttf \
+ fonts/DejaVuSansMono.ttf \
+ fonts/OpenSans-Light.ttf \
+ fonts/OpenSans-LightItalic.ttf \
+ fonts/OpenSans-Semibold.ttf \
+ fonts/OpenSans-SemiboldItalic.ttf
+
TEMPLATES_TMPL=titlepage.templates.tmpl
TEMPLATES_XSL=$(TEMPLATES_TMPL:.tmpl=.xsl)
install: all
-publish: $(DOC)
+publish: $(DOC) $(FONTS)
cp $(DOC) /home/bdale/web/altusmetrum/AltOS/doc/
+ mkdir -p /home/bdale/web/altusmetrum/AltOS/doc/fonts/
+ cp $(FONTS) /home/bdale/web/altusmetrum/AltOS/doc/fonts/
(cd /home/bdale/web/altusmetrum ; \
git add /home/bdale/web/altusmetrum/AltOS/doc/* ; \
+ git add /home/bdale/web/altusmetrum/AltOS/doc/fonts/* ; \
echo "update docs" | \
- git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* ; \
+ git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* /home/bdale/web/altusmetrum/AltOS/doc/fonts/* ; \
git push)
-publish-keithp: $(DOC)
+publish-keithp: $(DOC) $(FONTS)
scp -p $(DOC) keithp.com:~keithp/public_html/altos
+ scp -p $(FONTS) keithp.com:~keithp/public_html/altos/fonts
clean:
rm -f $(HTML) $(PDF) $(TEMPLATES_XSL) $(RAW_FILES) $(TELEGPS_RAW_FILES) $(MICROPEAK_RAW_FILES)
<!-- justify, left or right -->
<xsl:param name="alignment">left</xsl:param>
-<xsl:param name="body.font.family" select="'Frutiger LT Std,sans-serif'"/>
-<xsl:param name="title.font.family" select="'Frutiger LT Std,sans-serif'"/>
+<xsl:param name="body.font.family" select="'Open Sans Light,sans-serif'"/>
+<xsl:param name="title.font.family" select="'Open Sans Light,sans-serif'"/>
<xsl:param name="monospace.font.family" select="'DejaVu Sans Mono,monospace'"/>
<xsl:param name="body.font.master">12</xsl:param>
<xsl:param name="body.font.size">
<xsl:param name="bridgehead.in.toc" select="0"/>
<xsl:param name="footer.column.widths">10 1 1</xsl:param>
-<!-- overide setting in common.xsl -->
-<xsl:param name="table.frame.border.thickness" select="'2px'"/>
-
<!-- Default fetches image from Internet (long timeouts) -->
<xsl:param name="draft.watermark.image" select="''"/>
</xsl:choose>
</xsl:param>
+<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param>
+<xsl:param name="table.frame.border.color">#0080ff</xsl:param>
+<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param>
+<xsl:param name="table.cell.border.thickness">0.5pt</xsl:param>
+<xsl:param name="table.cell.border.color">#0080ff</xsl:param>
+<xsl:param name="table.cell.border.with.css" select="1"/>
<xsl:attribute-set name="copyright.title.properties">
<xsl:attribute name="font-size">12pt</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="revhistory.table.properties">
- <xsl:attribute name="border">0.5pt solid black</xsl:attribute>
- <xsl:attribute name="background-color">#EEEEEE</xsl:attribute>
+ <xsl:attribute name="border">0.5pt solid #0080ff</xsl:attribute>
<xsl:attribute name="width">50%</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="revhistory.table.cell.properties">
- <xsl:attribute name="border">0.5pt solid black</xsl:attribute>
+ <xsl:attribute name="border">0.5pt solid #0080ff</xsl:attribute>
<xsl:attribute name="font-size">12pt</xsl:attribute>
- <xsl:attribute name="padding">4pt</xsl:attribute>
+ <xsl:attribute name="padding">2pt</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="monospace.properties">
CSS stylesheet for XHTML produced by DocBook XSL stylesheets.
*/
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/OpenSans-Regular.ttf');
+ font-weight: normal;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/OpenSans-Italic.ttf');
+ font-weight: normal;
+ font-style: italic;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/OpenSans-Semibold.ttf');
+ font-weight: bold;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/OpenSans-SemiboldItalic.ttf');
+ font-weight: bold;
+ font-style: italic;
+}
+
+@font-face {
+ font-family: 'DejaVu Sans Mono';
+ src: url('fonts/DejaVuSansMono.ttf');
+ font-weight: normal;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'DejaVu Sans Mono';
+ src: url('fonts/DejaVuSansMono-Oblique.ttf');
+ font-weight: normal;
+ font-style: oblique;
+}
+
+@font-face {
+ font-family: 'DejaVu Sans Mono';
+ src: url('fonts/DejaVuSansMono-Bold.ttf');
+ font-weight: bold;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'DejaVu Sans Mono';
+ src: url('fonts/DejaVuSansMono-BoldOblique.ttf');
+ font-weight: bold;
+ font-style: oblique;
+}
+
body {
- font-family: "Frutiger LT Std 45 Light",sans-serif;
- font-size: 14pt;
+ font-family: "Open Sans",sans-serif;
+ font-size: 12pt;
}
code, pre {
h1, h2, h3, h4, h5, h6
{
color: #0080ff;
- font-family: "Frutiger LT Std 45 Light",sans-serif;
+ font-family: "Open Sans",sans-serif;
}
div.revhistory table {
{
font-weight: normal;
color: #0080ff;
- font-family: "Frutiger LT Std 45 Light",sans-serif;
+ font-family: "Open Sans",sans-serif;
margin-bottom: 0.2em;
}
}
div.navheader th, div.navheader td, div.navfooter td {
- font-family: "Frutiger LT Std 45 Light",sans-serif;
- font-size: 14pt;
+ font-family: "Open Sans",sans-serif;
+ font-size: 12pt;
font-weight: normal;
color: #0080ff;
}
}
div.revhistory th {
color: #0080ff;
- font-family: "Frutiger LT Std 45 Light",sans-serif;
}
/* Keep TOC and index lines close together. */
<fonts>
<!-- embedded fonts -->
- <font embed-url="fonts/FrutigerLTStd-Light.otf">
- <font-triplet name="Frutiger LT Std" style="normal"
+ <font embed-url="fonts/OpenSans-Light.ttf">
+ <font-triplet name="Open Sans Light" style="normal"
weight="normal"/>
</font>
- <font embed-url="fonts/FrutigerLTStd-LightItalic.otf">
- <font-triplet name="Frutiger LT Std" style="italic"
+ <font embed-url="fonts/OpenSans-LightItalic.ttf">
+ <font-triplet name="Open Sans Light" style="italic"
weight="normal"/>
</font>
- <font embed-url="fonts/FrutigerLTStd-Roman.otf">
- <font-triplet name="Frutiger LT Std" style="normal"
+ <font embed-url="fonts/OpenSans-Semibold.ttf">
+ <font-triplet name="Open Sans Light" style="normal"
weight="bold"/>
</font>
- <font embed-url="fonts/FrutigerLTStd-Italic.otf">
- <font-triplet name="Frutiger LT Std" style="italic"
+ <font embed-url="fonts/OpenSans-SemiboldItalic.ttf">
+ <font-triplet name="Open Sans Light" style="italic"
weight="bold"/>
</font>