svn commit: r41404 - in projects/xml-tools/share: misc xsl

Gabor Kovesdan gabor at FreeBSD.org
Thu Apr 11 06:35:52 UTC 2013


Author: gabor
Date: Thu Apr 11 06:35:51 2013
New Revision: 41404
URL: http://svnweb.freebsd.org/changeset/doc/41404

Log:
  - Create cleaner XHTML and exclusively use CSS for formatting

Modified:
  projects/xml-tools/share/misc/docbook.css
  projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl

Modified: projects/xml-tools/share/misc/docbook.css
==============================================================================
--- projects/xml-tools/share/misc/docbook.css	Wed Apr 10 23:16:59 2013	(r41403)
+++ projects/xml-tools/share/misc/docbook.css	Thu Apr 11 06:35:51 2013	(r41404)
@@ -26,6 +26,79 @@
  * $FreeBSD$
  */
 
+/*
+ * General DocBook styles from the DocBook XSL distribution
+ */
+
+.formalpara-title {
+  font-weight: bold;
+}
+
+div.blockquote-title {
+  font-weight: bold;
+  margin-top: 1em;
+  margin-bottom: 1em;
+}
+
+span.msgmain-title {
+  font-weight: bold;
+}
+
+span.msgsub-title {
+  font-weight: bold;
+}
+
+span.msgrel-title {
+  font-weight: bold;
+}
+
+div.msglevel, div.msgorig, div.msgaud {
+  margin-top: 1em;
+  margin-bottom: 1em;
+}
+
+span.msglevel-title, span.msgorig-title, span.msgaud-title {
+  font-weight: bold;
+}
+
+div.msgexplan {
+  margin-top: 1em;
+  margin-bottom: 1em;
+}
+
+span.msgexplan-title {
+  font-weight: bold;
+}
+
+div.figure-title {
+  font-weight: bold;
+}
+
+div.example-title {
+  font-weight: bold;
+}
+
+div.equation-title {
+  font-weight: bold;
+}
+
+div.table-title {
+  font-weight: bold;
+}
+
+div.sidebar-title {
+  font-weight: bold;
+}
+
+div.synopsis {
+  white-space: pre;
+  font-family: monospace;
+}
+
+/*
+ * FreeBSD-specific formatting
+ */
+
 body address {
 	line-height: 1.3;
 	margin: .6em 0;
@@ -158,11 +231,15 @@ html {
 	text-decoration: underline;
 }
 
-.screen {
+div.screen {
+	white-space: pre;
+	font-family: monospace;
 	padding: 1ex;
 }
 
-.programlisting {
+div.programlisting {
+	white-space: pre;
+	font-family: monospace;
 	padding: 1ex;
 	background-color: #eee;
 	border: 1px solid #ccc;

Modified: projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl
==============================================================================
--- projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl	Wed Apr 10 23:16:59 2013	(r41403)
+++ projects/xml-tools/share/xsl/freebsd-xhtml-common.xsl	Thu Apr 11 06:35:51 2013	(r41404)
@@ -28,6 +28,7 @@
 
   <xsl:param name="make.valid.html" select="1"/>
   <xsl:param name="html.cleanup" select="1"/>
+  <xsl:param name="make.clean.html" select="1"/>
 
   <xsl:param name="local.l10n.xml" select="document('')"/>
   <i18n xmlns="http://docbook.sourceforge.net/xmlns/l10n/1.0">


More information about the svn-doc-projects mailing list