Debian Codegraph @

texmf-dist/doc/latex/notes/makedoc.bat

raw
1 @echo off
2 rem MAKEDOC.BAT (FOR MSDOS)
3
4 rem Everything after a `rem' is ignored
5
6
7 rem ----------------- create a `ltxdoc.cfg': --------------------------
8
9 rem Edit the next line for options to pass to the package notes:
10 rem echo \PassOptionsToPackage{color}{notes}" >> ltxdoc.cfg
11
12 rem Edit the next line for options to pass to the class:
13 echo \PassOptionsToClass{a4paper}{article} > ltxdoc.cfg
14 echo \batchmode >> ltxdoc.cfg
15
16 rem The next lines produce full indexes and change logs
17 rem you may not want those:
18
19 rem echo \AtBeginDocument{\RecordChanges} >> ltxdoc.cfg
20 rem echo \AtEndDocument{\PrintChanges} >> ltxdoc.cfg
21 echo \AtBeginDocument{\CodelineIndex\EnableCrossrefs} >> ltxdoc.cfg
22 echo \AtEndDocument{\PrintIndex} >> ltxdoc.cfg
23 echo \AtEndDocument{\addcontentsline{toc}{section}{Index}} >> ltxdoc.cfg
24
25 rem If you do not want any code listings, just documentation, then instead
26 rem of the lines above, uncomment the following:
27
28 rem echo \AtBeginDocument{\OnlyDescription} >> ltxdoc.cfg
29
30 rem ---------- latex the documentation using `ltxdoc.cfg': --------------
31
32 echo 1st latex notes.dtx
33 latex notes.dtx
34
35 echo 2nd latex notes.dtx
36 latex notes.dtx
37
38 echo If you don't have Makeindex, exit now!
39 echo makeindx -s gind.ist notes.idx
40 makeindx -s gind.ist notes.idx
41
42 echo 3rd latex notes.dtx
43 latex notes.dtx
44
45 echo +++++++++++++ all done! ++++++++++++
46