[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Traverso-commit] docs/manual mkdiff.sh
From: |
Nicola Doebelin |
Subject: |
[Traverso-commit] docs/manual mkdiff.sh |
Date: |
Fri, 06 Mar 2009 20:46:50 +0000 |
CVSROOT: /sources/traverso
Module name: docs
Changes by: Nicola Doebelin <n_doebelin> 09/03/06 20:46:50
Added files:
manual : mkdiff.sh
Log message:
* added a script to prepare the difference pdf file
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/docs/manual/mkdiff.sh?cvsroot=traverso&rev=1.1
Patches:
Index: mkdiff.sh
===================================================================
RCS file: mkdiff.sh
diff -N mkdiff.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ mkdiff.sh 6 Mar 2009 20:46:50 -0000 1.1
@@ -0,0 +1,35 @@
+#! /bin/bash
+
+# script to track changes in *.tex files. Uses latexdiff.
+# Get it from here:
+#
+# http://www.ctan.org/get/support/latexdiff.zip
+#
+# Requires the old documentation tree in
+# docs-old/manual/en
+#
+# and the new tree in
+# docs/manual/en
+#
+# The diff tree will be created in
+# docs-diff/manual/en
+#
+# Nic Doebelin
+
+rm -rf ../../docs-diff
+mkdir -p ../../docs-diff/manual/en
+cp -r images ../../docs-diff/manual/
+cp en/titlepage.pdf ../../docs-diff/manual/en/
+cp en/titlepage-author.pdf ../../docs-diff/manual/en/
+
+for file in en/*.tex; do
+ bname=`basename $file .tex`
+ echo $bname
+ latexdiff ../../docs-old/manual/en/$bname.tex en/$bname.tex >
../../docs-diff/manual/en/$bname.tex
+done
+
+cd ../../docs-diff/manual/en
+pdflatex traverso-manual01.tex
+pdflatex traverso-manual01.tex
+pdflatex traverso-manual01.tex
+okular traverso-manual01.pdf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Traverso-commit] docs/manual mkdiff.sh,
Nicola Doebelin <=