| 1 |
@echo off |
| 2 |
rem MAKEYDOC.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 class: |
| 10 |
echo \PassOptionsToClass{a4paper}{article} > ltxdoc.cfg |
| 11 |
echo \batchmode >> ltxdoc.cfg |
| 12 |
|
| 13 |
rem The next lines produce full indexes and change logs |
| 14 |
rem you may not want those: |
| 15 |
|
| 16 |
rem echo \AtBeginDocument{\RecordChanges} >> ltxdoc.cfg |
| 17 |
rem echo \AtEndDocument{\PrintChanges} >> ltxdoc.cfg |
| 18 |
echo \AtBeginDocument{\CodelineIndex\EnableCrossrefs} >> ltxdoc.cfg |
| 19 |
echo \AtEndDocument{\PrintIndex} >> ltxdoc.cfg |
| 20 |
echo \AtEndDocument{\addcontentsline{toc}{section}{Index}} >> ltxdoc.cfg |
| 21 |
|
| 22 |
rem If you do not want any code listings, just documentation, then instead |
| 23 |
rem of the lines above, uncomment the following: |
| 24 |
|
| 25 |
rem echo \AtBeginDocument{\OnlyDescription} >> ltxdoc.cfg |
| 26 |
|
| 27 |
rem ---------- latex the documentation using `ltxdoc.cfg': -------------- |
| 28 |
|
| 29 |
echo 1st latex youngtab.dtx |
| 30 |
latex youngtab.dtx |
| 31 |
|
| 32 |
echo 2nd latex youngtab.dtx |
| 33 |
latex youngtab.dtx |
| 34 |
|
| 35 |
echo If you don't have Makeindex, exit now! |
| 36 |
echo makeindx -s gind.ist youngtab.idx |
| 37 |
makeindx -s gind.ist youngtab.idx |
| 38 |
rem or: echo makeidx -s gind.ist youngtab.idx |
| 39 |
rem or: makeidx -s gind.ist youngtab.idx |
| 40 |
|
| 41 |
echo 3rd latex youngtab.dtx |
| 42 |
latex youngtab.dtx |
| 43 |
|
| 44 |
echo +++++++++++++ all done! ++++++++++++ |
| 45 |
|