diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-11 23:55:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-11 23:55:37 +0000 |
commit | deced1469774e80cd466296fa223612e32f26057 (patch) | |
tree | d9c9e7bdd587f5d84fea182156b82f7184a9d1b9 /Master/texmf-dist/source/latex/notes/makedoc.bat | |
parent | 4092dbd7b27c57c2c01b073b57645e87a66cceca (diff) |
trunk/Master/texmf-dist/source/latex/notes
git-svn-id: svn://tug.org/texlive/trunk@416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/notes/makedoc.bat')
-rw-r--r-- | Master/texmf-dist/source/latex/notes/makedoc.bat | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/notes/makedoc.bat b/Master/texmf-dist/source/latex/notes/makedoc.bat new file mode 100644 index 00000000000..44fca73d6b0 --- /dev/null +++ b/Master/texmf-dist/source/latex/notes/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 notes:
+rem echo \PassOptionsToPackage{color}{notes}" >> 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 notes.dtx
+latex notes.dtx
+
+echo 2nd latex notes.dtx
+latex notes.dtx
+
+echo If you don't have Makeindex, exit now!
+echo makeindx -s gind.ist notes.idx
+makeindx -s gind.ist notes.idx
+
+echo 3rd latex notes.dtx
+latex notes.dtx
+
+echo +++++++++++++ all done! ++++++++++++
+
|