summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/flabels/makedoc.bat
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/flabels/makedoc.bat
Initial commit
Diffstat (limited to 'macros/latex/contrib/flabels/makedoc.bat')
-rw-r--r--macros/latex/contrib/flabels/makedoc.bat46
1 files changed, 46 insertions, 0 deletions
diff --git a/macros/latex/contrib/flabels/makedoc.bat b/macros/latex/contrib/flabels/makedoc.bat
new file mode 100644
index 0000000000..3e2daba680
--- /dev/null
+++ b/macros/latex/contrib/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! ++++++++++++
+