[debian-edu-commits] debian-edu/ 01/01: common: Provide edu.css.xml stylesheet and adjust html.xls to let the browser scale html manual images to a maximum width of 800px. (Closes: 723143).

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Sat Oct 25 15:42:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-doc.

commit a30211a22ddb8b6c985b5cf76f0857ede25879b1
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Sat Oct 25 17:42:06 2014 +0200

    common: Provide edu.css.xml stylesheet and adjust html.xls to let the browser scale html manual images to a maximum width of 800px. (Closes: 723143).
---
 debian/changelog                 | 3 +++
 documentation/common/edu.css.xml | 8 ++++++++
 documentation/common/html.xsl    | 2 ++
 3 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4fac586..f75d2ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,9 @@ debian-edu-doc (1.6~20141025~8.0) UNRELEASED; urgency=medium
   * Makefile.common: Use db2latex style to get rid of the useless second
     page of PDF manuals.
   * (de) Add some more 'translated' images.
+  * common: Provide edu.css.xml stylesheet and adjust html.xls to let the
+    browser scale html manual images to a maximum width of 800px.
+    (Closes: 723143).
 
  -- Holger Levsen <holger at debian.org>  Mon, 20 Oct 2014 09:37:59 +0000
 
diff --git a/documentation/common/edu.css.xml b/documentation/common/edu.css.xml
new file mode 100644
index 0000000..c94cd9e
--- /dev/null
+++ b/documentation/common/edu.css.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<style>
+img {
+    max-width: 800px;
+    width: auto;
+    height: auto
+}
+</style>
diff --git a/documentation/common/html.xsl b/documentation/common/html.xsl
index 3ab0534..c9b6b6f 100644
--- a/documentation/common/html.xsl
+++ b/documentation/common/html.xsl
@@ -10,4 +10,6 @@
   <!-- Restore previous default value with openjade -->
   <xsl:param name="autotoc.label.in.hyperlink" select="0"></xsl:param>
   <xsl:param name="toc.section.depth">3</xsl:param>
+  <xsl:param name="generate.css.header" select="1"></xsl:param>
+  <xsl:param name="custom.css.source">../common/edu.css.xml</xsl:param>
 </xsl:stylesheet>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-doc.git



More information about the debian-edu-commits mailing list