From 74531418a871a3cfcda14d88ac9db39d8114ccc5 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 22 Dec 2010 11:58:02 +0000 Subject: Build xhtml files for www site exemplaria. --- Makefile | 4 ++++ index.sgml | 10 +++++++++- style.css | 4 +++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a44c620f..05cd9300 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ .SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz .SUFFIXES: .1.txt .3.txt .7.txt +.SUFFIXES: .1.xhtml .3.xhtml .7.xhtml .SUFFIXES: .1.sgml .3.sgml .7.sgml .SUFFIXES: .h .h.html .SUFFIXES: .1.ps .3.ps .7.ps @@ -309,6 +310,9 @@ mandoc: $(MAINOBJS) libroff.a libmdoc.a libman.a libmandoc.a .1.1.ps .3.3.ps .7.7.ps: ./mandoc -Tps -Wall,stop $< > $@ +.1.1.xhtml .3.3.xhtml .7.7.xhtml: + ./mandoc -Txhtml -Wall,stop -Ostyle=style.css,man=%N.%S.xhtml,includes=%I.html $< > $@ + .1.1.pdf .3.3.pdf .7.7.pdf: ./mandoc -Tpdf -Wall,stop $< > $@ diff --git a/index.sgml b/index.sgml index 503ac2dc..e44947df 100644 --- a/index.sgml +++ b/index.sgml @@ -165,6 +165,7 @@ man macro compiler library (text | + xhtml | pdf | postscript) @@ -176,6 +177,7 @@ man language reference (text | + xhtml | pdf | postscript) @@ -187,6 +189,7 @@ format and display UNIX manuals (text | + xhtml | pdf | postscript) @@ -198,6 +201,7 @@ mandoc special characters (text | + xhtml | pdf | postscript) @@ -209,6 +213,7 @@ mdoc macro compiler library (text | + xhtml | pdf | postscript) @@ -220,6 +225,7 @@ mdoc language reference (text | + xhtml | pdf | postscript) @@ -231,6 +237,7 @@ roff macro compiler library (text | + xhtml | pdf | postscript) @@ -242,6 +249,7 @@ roff-mandoc language reference (text | + xhtml | pdf | postscript) @@ -481,7 +489,7 @@
- Copyright © 2008–2010 Kristaps Dzonsons, $Date: 2010/12/20 13:57:49 $ + Copyright © 2008–2010 Kristaps Dzonsons, $Date: 2010/12/22 11:58:02 $
diff --git a/style.css b/style.css index 6eb4c712..7e429a69 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,4 @@ -/* $Id: style.css,v 1.17 2010/12/20 13:39:24 kristaps Exp $ */ +/* $Id: style.css,v 1.18 2010/12/22 11:58:02 kristaps Exp $ */ html { max-width: 800px; } body { font-family: monospace; @@ -10,12 +10,14 @@ body { font-family: monospace; table.foot { width: 100%; font-size: 0.8em; + margin-top: 1em; border-top: 1px dotted #dddddd; color: #999999; } /* Document footer. */ td.foot-date { width: 50%; } /* Document footer: date. */ td.foot-os { width: 50%; text-align: right; } /* Document footer: OS/source. */ table.head { width: 100%; font-size: 0.8em; + margin-bottom: 1em; border-bottom: 1px dotted #dddddd; color: #999999; } /* Document header. */ td.head-ltitle { width: 10%; } /* Document header: left-title. */ -- cgit v1.2.3