summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-03-02 01:00:55 +0000
committerKarl Berry <karl@freefriends.org>2010-03-02 01:00:55 +0000
commitb410ec78062ac5e20948144ed6d978f00f58fc0f (patch)
treee29556cb5340f89ad7a9aa91ca297fc5e0b8f604 /Master/texmf-dist/doc
parent3da646fbb17f7f3175ca0ab49d108c8601a92f6f (diff)
fltlabels update (1mar10)
git-svn-id: svn://tug.org/texlive/trunk@17272 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/flabels/flabels.pdfbin0 -> 362410 bytes
-rw-r--r--Master/texmf-dist/doc/latex/flabels/makedoc64
-rw-r--r--Master/texmf-dist/doc/latex/flabels/makedoc-patched69
-rwxr-xr-xMaster/texmf-dist/doc/latex/flabels/makedoc.bat46
4 files changed, 179 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/flabels/flabels.pdf b/Master/texmf-dist/doc/latex/flabels/flabels.pdf
new file mode 100644
index 00000000000..35a3152e29a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/flabels/flabels.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/flabels/makedoc b/Master/texmf-dist/doc/latex/flabels/makedoc
new file mode 100644
index 00000000000..377f6492aed
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/flabels/makedoc
@@ -0,0 +1,64 @@
+#!/bin/sh
+#
+# Everything after a `#' is ignored
+#
+# remove the string `> /dev/null' if you want more log-output
+# remove the line containing `batchmode' if you want even more
+# log-information while running LaTeX
+#
+#----------------- create a `ltxdoc.cfg': --------------------------
+
+# Make sure that we start with an clean 'ltxdoc.cfg':
+echo -n > ltxdoc.cfg
+
+# Put here a (comma-separated) list of options to pass to
+# class 'article':
+C_OPT=a4paper
+
+# Put here a (comma-separated) list of options to pass to
+# package 'flabels' (color?):
+#P_OPT=color
+
+if [ -n "$C_OPT" ]; then
+ echo "\PassOptionsToClass{$C_OPT}{article}" >> ltxdoc.cfg
+fi
+if [ -n "$P_OPT" ]; then
+ echo "\PassOptionsToPackage{$P_OPT}{flabels}" >> ltxdoc.cfg
+ if echo $P_OPT | grep color > /dev/null && [ ! -s color.cfg ]; then
+ echo "Package 'color' needs a file 'color.cfg'!"
+ fi
+fi
+echo "\batchmode" >> ltxdoc.cfg
+
+# The next lines produce full indexes and change logs
+# you may not want those (comment the lines out with
+# TeX-comment-character '%'!)
+cat >> ltxdoc.cfg <<EOF
+% \AtBeginDocument{\RecordChanges}
+% \AtEndDocument{\PrintChanges}
+\AtBeginDocument{\CodelineIndex\EnableCrossrefs}
+\AtEndDocument{\PrintIndex}
+\AtEndDocument{\addcontentsline{toc}{section}{Index}}
+EOF
+
+# If you do not want any code listings, just documentation, then instead
+# of the lines above, uncomment the following:
+#echo "\AtBeginDocument{\OnlyDescription}" >> ltxdoc.cfg
+
+#---------- latex the documentation using `ltxdoc.cfg': --------------
+
+ThisDoc=flabels.dtx
+Base=flabels
+
+echo "1st latex $ThisDoc"
+if (latex $ThisDoc > /dev/null); then
+ echo "2nd latex $ThisDoc"
+ latex $ThisDoc > /dev/null
+
+ echo "makeindex -s gind.ist $Base.idx"
+ makeindex -s gind.ist $Base.idx
+ echo "3rd latex $ThisDoc"
+ latex $ThisDoc > /dev/null
+else
+ echo "!!! LaTeX ERROR: $ThisDoc. (See $Base.log.)"
+fi
diff --git a/Master/texmf-dist/doc/latex/flabels/makedoc-patched b/Master/texmf-dist/doc/latex/flabels/makedoc-patched
new file mode 100644
index 00000000000..ad04d579ad9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/flabels/makedoc-patched
@@ -0,0 +1,69 @@
+#!/bin/bash
+
+# Unfortunately I had to fix several errors in the build script to make the manual compilable!!
+
+#
+# Everything after a `#' is ignored
+#
+# remove the string `> /dev/null' if you want more log-output
+# remove the line containing `batchmode' if you want even more
+# log-information while running LaTeX
+#
+#----------------- create a `ltxdoc.cfg': --------------------------
+
+# Make sure that we start with an clean 'ltxdoc.cfg':
+echo -n > ltxdoc.cfg
+
+# Put here a (comma-separated) list of options to pass to
+# class 'article':
+C_OPT=a4paper
+
+# Put here a (comma-separated) list of options to pass to
+# package 'flabels' (color?):
+P_OPT=color
+
+if [ -n "$C_OPT" ]; then
+ echo "\PassOptionsToClass{$C_OPT}{article}" >> ltxdoc.cfg
+fi
+if [ -n "$P_OPT" ]; then
+ echo "\PassOptionsToPackage{$P_OPT}{flabels}" >> ltxdoc.cfg
+ if echo $P_OPT | grep color > /dev/null && [ ! -s color.cfg ]; then
+ echo "Package 'color' needs a file 'color.cfg'!"
+ fi
+fi
+#echo "\batchmode" >> ltxdoc.cfg
+
+# The next lines produce full indexes and change logs
+# you may not want those (comment the lines out with
+# TeX-comment-character '%'!)
+cat >> ltxdoc.cfg <<EOF
+\AtBeginDocument{\RecordChanges}
+\AtEndDocument{\PrintChanges}
+\AtBeginDocument{\CodelineIndex\EnableCrossrefs}
+\AtEndDocument{\PrintIndex}
+\AtEndDocument{\addcontentsline{toc}{section}{Index}}
+EOF
+
+# If you do not want any code listings, just documentation, then instead
+# of the lines above, uncomment the following:
+#echo "\AtBeginDocument{\OnlyDescription}" >> ltxdoc.cfg
+
+#---------- latex the documentation using `ltxdoc.cfg': --------------
+
+ThisDoc=flabels.dtx
+Base=flabels
+
+echo "1st latex $ThisDoc"
+if pdflatex $ThisDoc ; then
+ echo "2nd latex $ThisDoc"
+ pdflatex $ThisDoc
+
+ echo "makeindex -s gind.ist $Base.idx"
+ #ugly
+ sed -i '.bak' -e 's/\\verb!\*\+\\->/\\verb!*+\\-!>/' "$Base.idx"
+ makeindex -s gind.ist $Base.idx
+ echo "3rd latex $ThisDoc"
+ pdflatex $ThisDoc
+else
+ echo "!!! LaTeX ERROR: $ThisDoc. (See $Base.log.)"
+fi
diff --git a/Master/texmf-dist/doc/latex/flabels/makedoc.bat b/Master/texmf-dist/doc/latex/flabels/makedoc.bat
new file mode 100755
index 00000000000..3e2daba6809
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/flabels/makedoc.bat
@@ -0,0 +1,46 @@
+@echo off
+rem MAKEDOC.BAT (FOR MSDOS)
+
+rem Everything after a `rem' is ignored
+
+
+rem ----------------- create a `ltxdoc.cfg': --------------------------
+
+rem Edit the next line for options to pass to the package flabels:
+rem echo \PassOptionsToPackage{color}{flabels}" >> ltxdoc.cfg
+
+rem Edit the next line for options to pass to the class:
+echo \PassOptionsToClass{a4paper}{article} > ltxdoc.cfg
+echo \batchmode >> ltxdoc.cfg
+
+rem The next lines produce full indexes and change logs
+rem you may not want those:
+
+rem echo \AtBeginDocument{\RecordChanges} >> ltxdoc.cfg
+rem echo \AtEndDocument{\PrintChanges} >> ltxdoc.cfg
+echo \AtBeginDocument{\CodelineIndex\EnableCrossrefs} >> ltxdoc.cfg
+echo \AtEndDocument{\PrintIndex} >> ltxdoc.cfg
+echo \AtEndDocument{\addcontentsline{toc}{section}{Index}} >> ltxdoc.cfg
+
+rem If you do not want any code listings, just documentation, then instead
+rem of the lines above, uncomment the following:
+
+rem echo \AtBeginDocument{\OnlyDescription} >> ltxdoc.cfg
+
+rem ---------- latex the documentation using `ltxdoc.cfg': --------------
+
+echo 1st latex flabels.dtx
+latex flabels.dtx
+
+echo 2nd latex flabels.dtx
+latex flabels.dtx
+
+echo If you don't have Makeindex, exit now!
+echo makeindx -s gind.ist flabels.idx
+makeindx -s gind.ist flabels.idx
+
+echo 3rd latex flabels.dtx
+latex flabels.dtx
+
+echo +++++++++++++ all done! ++++++++++++
+