[debian-edu-commits] debian-edu/debian-edu-doc.git (#280) - wheezy (branch) updated: 0.7.20071108-35-g77a287a

David Prévot taffit at alioth.debian.org
Sat Oct 5 12:15:26 UTC 2013


The branch, wheezy has been updated
       via  77a287a6e2f7020f09b0177729c78c304a502a6e (commit)
      from  221f7ae9f5953ec7e02c21acfc3c703f28e8be18 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                                |   10 ++++++----
 documentation/release-manual/Makefile           |   15 +++++----------
 documentation/release-manual/release-manual.xsl |   21 +++++++++++++++++++++
 3 files changed, 32 insertions(+), 14 deletions(-)
 create mode 100644 documentation/release-manual/release-manual.xsl

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index e2278a8..ed3d55d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,14 +7,16 @@ debian-edu-doc (0.8.20071115) unstable; urgency=low
   [ Holger Levsen ]
   * Updated release manual source from the wiki.
   * release-manual/images/: prepare images per language
-  * release-manual/Makefile: install localized images if they exist, otherwise
-    link to the english images. (for pdf and html version)
+  * release-manual/Makefile: 
+     - install localized images if they exist, otherwise
+       link to the english images. (for pdf and html version)
+     - use release-manual.xsl to define the look of the pdf
+  * release-manual/build_pdfs: removed, now done by Makefile
   * release-manual/README: improve the notes for translators
   * release-manual/get-release-manual: rewritten, now fetches chapter by
     chapter and adds id paramters to the section tags, so that links work
-  * release-manual/build_pdfs: removed, now done by Makefile
 
- -- Holger Levsen <holger at debian.org>  Thu, 15 Nov 2007 11:18:11 +0100
+ -- Holger Levsen <holger at debian.org>  Thu, 15 Nov 2007 13:49:35 +0100
 
 debian-edu-doc (0.7.20071108) unstable; urgency=low
 
diff --git a/documentation/release-manual/Makefile b/documentation/release-manual/Makefile
index 559601b..b0cb7c5 100644
--- a/documentation/release-manual/Makefile
+++ b/documentation/release-manual/Makefile
@@ -22,9 +22,7 @@ build:
 	done
 	# add utf8 content-type header to html versions
 	for f in release-manual.*.html ; do \
-		cat $$f | sed "s%><TITLE%><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /><TITLE%" > $$f.new ; \
-		rm $$f ; \
-		mv $$f.new $$f ; \
+		sed -i "s%><TITLE%><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /><TITLE%" $$f ; \
 	done
 update:
 	./update_translations # calls ./get-release-manual
@@ -42,10 +40,10 @@ install: build
 		mkdir -p $(DESTDIR)$(DESTPATH)/$$f ; \
 		if [ -e release-manual.$$f.html ] ; then \
 			cp release-manual.$$f.html $(DESTDIR)$(DESTPATH)/$$f/release-manual.html ; \
-			cp release-manual.$$f.xml $(DESTDIR)$(DESTPATH)/$$f/release-manual.xml ; \
 			if [ "$$f" == "en" ] ; then \
 			  mkdir $(DESTDIR)$(DESTPATH)/$$f/images/ ; \
 			  find images -type f -maxdepth 1 -exec cp \{\} $(DESTDIR)$(DESTPATH)/$$f/images/ \; ; \
+			  dblatex -T db2latex -p release-manual.xsl -o $(DESTDIR)$(DESTPATH)/$$f/release-manual.pdf release-manual.xml ; \
 			else \
 			  if [ -d images/$$f ] ; then \
 			  	mkdir $(DESTDIR)$(DESTPATH)/$$f/images ; \
@@ -61,13 +59,10 @@ install: build
 			    ln -sf ../en/images $(DESTDIR)$(DESTPATH)/$$f/images ; \
 			  fi ; \
 			fi ; \
-			cd $(DESTDIR)$(DESTPATH)/$$f ; \
-			dblatex -P imagedata.default.scale=maxwidth=10cm,maxheight=8cm -T simple -o release-manual.pdf release-manual.xml ; \
-			rm release-manual.xml ; \
-			cd - ; \
+			dblatex -T db2latex -p release-manual.xsl -o $(DESTDIR)$(DESTPATH)/$$f/release-manual.pdf release-manual.$$f.xml ; \
 		else \
-			ln -s ../en/release-manual.pdf $(DESTDIR)$(DESTPATH)/$$f/release-manual.pdf ; \
-			ln -s ../en/release-manual.html $(DESTDIR)$(DESTPATH)/$$f/release-manual.html ; \
+			ln -sf ../en/release-manual.pdf $(DESTDIR)$(DESTPATH)/$$f/release-manual.pdf ; \
+			ln -sf ../en/release-manual.html $(DESTDIR)$(DESTPATH)/$$f/release-manual.html ; \
 		        ln -sf ../en/images $(DESTDIR)$(DESTPATH)/$$f/images ; \
 		fi ; \
 	done
diff --git a/documentation/release-manual/release-manual.xsl b/documentation/release-manual/release-manual.xsl
new file mode 100644
index 0000000..a8e440d
--- /dev/null
+++ b/documentation/release-manual/release-manual.xsl
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding="iso-8859-1"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+
+<!-- The TOC links in the titles, and in blue. -->
+<xsl:param name="latex.hyperparam">colorlinks,linkcolor=blue,pdfstartview=FitH</xsl:param>
+<xsl:param name="callout.linkends.hot">0</xsl:param>
+
+<!-- Put the dblatex logo -->
+<!-- xsl:param name="doc.publisher.show">1</xsl:param -->
+
+<!-- List the examples and equations too, no tables -->
+<xsl:param name="doc.lot.show">figure,example</xsl:param>
+
+<!-- xsl:param name="imagedata.default.scale">maxwidth=10cm,maxheight=8cm</xsl:param -->
+<xsl:param name="imagedata.default.scale">maxheight=6cm</xsl:param>
+<xsl:param name="draft.mode">no</xsl:param>
+<xsl:param name="draft.watermark">0</xsl:param>
+<xsl:param name="doc.collab.show">0</xsl:param>
+
+
+</xsl:stylesheet>


hooks/post-receive
-- 
debian-edu-doc.git (Debian package debian-edu-doc)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "debian-edu-doc.git" (Debian package debian-edu-doc).




More information about the debian-edu-commits mailing list