summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/flabels/makedoc.bat
blob: 3e2daba6809f441e2c006bea308127b867ed1399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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! ++++++++++++