]> granicus.if.org Git - neomutt/commitdiff
Manual: Add simple and clean stylesheet, see #3109.
authorRocco Rutte <pdmef@gmx.net>
Sat, 6 Dec 2008 10:41:03 +0000 (11:41 +0100)
committerRocco Rutte <pdmef@gmx.net>
Sat, 6 Dec 2008 10:41:03 +0000 (11:41 +0100)
ChangeLog
doc/Makefile.am
doc/chunk.xsl
doc/html.xsl
doc/mutt.css [new file with mode: 0644]

index c62bb2a4686984560170a1fa1e2ee1f8e03a2507..871db545042b1572e9f1afe9f8d45c040e7b3c03 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-12-02 16:10 +0100  Rocco Rutte  <pdmef@gmx.net>  (3a8e5756613c)
+
+       * init.c: Include mutt_menu.h in init.c for mutt_menu_init() prototype
+
+2008-12-01 21:27 +0100  Rocco Rutte  <pdmef@gmx.net>  (1e8252a9e92f)
+
+       * ChangeLog, charset.c, history.c, init.c, init.h, pattern.c: Fix some
+       typos to silence compiler warnings
+
 2008-11-30 20:28 +0100  Rocco Rutte  <pdmef@gmx.net>  (cb251bde7fc1)
 
        * addrbook.c, browser.c, compose.c, crypt-gpgme.c, curs_main.c,
index 84e04d6b64304b6af254d291459f05cd2f59a1a4..66334ac7a4ea2cc90a786f5c985c128c23572984 100644 (file)
@@ -27,7 +27,7 @@ EXTRA_DIST = dotlock.man              \
        smime-notes.txt                 \
        Muttrc Muttrc.head stamp-doc-rc \
        makedoc.c makedoc-defs.h        \
-       html.xsl chunk.xsl $(BUILT_DISTFILES)
+       mutt.css html.xsl chunk.xsl $(BUILT_DISTFILES)
 
 HTML_DOCFILES = manual.html index.html intro.html gettingstarted.html \
        configuration.html mimesupport.html advancedusage.html \
@@ -112,10 +112,10 @@ stamp-doc-rc: $(top_srcdir)/init.h makedoc$(EXEEXT) $(srcdir)/Muttrc.head
          $(top_srcdir)/init.h | ./makedoc$(EXEEXT) -c >> Muttrc
        touch stamp-doc-rc
 
-manual.html: $(srcdir)/html.xsl stamp-doc-xml
+manual.html: $(srcdir)/html.xsl stamp-doc-xml $(srcdir)/mutt.css
        -xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
 
-stamp-doc-chunked: $(srcdir)/chunk.xsl stamp-doc-xml
+stamp-doc-chunked: $(srcdir)/chunk.xsl stamp-doc-xml $(srcdir)/mutt.css
        -xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
        touch stamp-doc-chunked
 
index d473afd21143942d71772d8a8051f6811f540f72..e06b42634778894384a423bcbbcca35c351050f2 100644 (file)
@@ -1,7 +1,16 @@
-<?xml version='1.0'?> 
-<xsl:stylesheet  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  version="1.0"> 
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/> 
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY css SYSTEM "mutt.css">
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  version="1.0">
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
   <xsl:param name="section.autolabel" select="1"/>
   <xsl:param name="use.id.as.filename" select="1"/>
   <xsl:param name="chunk.section.depth" select="0"/>
-</xsl:stylesheet>  
+  <xsl:template name="user.head.content">
+    <style type="text/css">
+      &css;
+    </style>
+  </xsl:template>
+</xsl:stylesheet>
index 473e0a6634184a3ae30f59e697d173dba7c42bbe..c2b63193d529af0d06300429cd973766bbc15d4c 100644 (file)
@@ -1,5 +1,14 @@
-<?xml version='1.0'?> 
-<xsl:stylesheet  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  version="1.0"> 
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY css SYSTEM "mutt.css">
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  version="1.0">
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
   <xsl:param name="section.autolabel" select="1"></xsl:param>
-</xsl:stylesheet>  
+  <xsl:template name="user.head.content">
+    <style type="text/css">
+      &css;
+    </style>
+  </xsl:template>
+</xsl:stylesheet>
diff --git a/doc/mutt.css b/doc/mutt.css
new file mode 100644 (file)
index 0000000..58212a0
--- /dev/null
@@ -0,0 +1,18 @@
+@media screen {
+  body { margin-left:2%; margin-right:2%; font-family:serif; }
+  .toc a, .list-of-tables a { font-family:sans-serif; }
+  h1, h2, h3, h4, h5, h6 { font-family:sans-serif; }
+  p { text-align:justify; }
+  div.table p.title { font-size:smaller; }
+  div.table p.title b { font-weight:normal; }
+  .email, .email a { font-family:monospace; }
+  div.table-contents table { border-collapse:collapse; border:1px solid #c0c0c0; }
+  div.table-contents table td, div.table-contents table th { padding:5px; text-align:left; }
+  div.table-contents table th {
+    font-family:sans-serif;
+    background:#d0d0d0;
+    font-weight:normal;
+    vertical-align:top;
+  }
+  pre { background:#f0f0f0; border:1px solid #c0c0c0; padding:5px; }
+}