diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/program/README (renamed from Master/texmf-dist/doc/latex/program/program-msg.txt) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/program/gpl-3.0.txt (renamed from Master/texmf-dist/doc/latex/program/gpl.txt) | 0 | ||||
-rwxr-xr-x | Master/texmf-dist/doc/latex/program/plink.pdf | bin | 25816 -> 0 bytes | |||
-rwxr-xr-x | Master/texmf-dist/doc/latex/program/program-demo.pdf | bin | 78849 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/program/program.sty | 15 |
5 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/program/program-msg.txt b/Master/texmf-dist/doc/latex/program/README index d2ed7996775..3a231c3a275 100644 --- a/Master/texmf-dist/doc/latex/program/program-msg.txt +++ b/Master/texmf-dist/doc/latex/program/README @@ -18,6 +18,8 @@ See the program-demo.tex file for examples. The file should work with or without AMSLaTeX. +This work is released under the GPL version 3. + Martin Ward. martin@gkc.org.uk http://www.cse.dmu.ac.uk/~mward/ Erdos number: 4 diff --git a/Master/texmf-dist/doc/latex/program/gpl.txt b/Master/texmf-dist/doc/latex/program/gpl-3.0.txt index 94a9ed024d3..94a9ed024d3 100644 --- a/Master/texmf-dist/doc/latex/program/gpl.txt +++ b/Master/texmf-dist/doc/latex/program/gpl-3.0.txt diff --git a/Master/texmf-dist/doc/latex/program/plink.pdf b/Master/texmf-dist/doc/latex/program/plink.pdf Binary files differdeleted file mode 100755 index adf4b23320e..00000000000 --- a/Master/texmf-dist/doc/latex/program/plink.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/program/program-demo.pdf b/Master/texmf-dist/doc/latex/program/program-demo.pdf Binary files differdeleted file mode 100755 index 5be11c1ed68..00000000000 --- a/Master/texmf-dist/doc/latex/program/program-demo.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/program/program.sty b/Master/texmf-dist/tex/latex/program/program.sty index 49d1e2ae9ae..10caef2ecad 100644 --- a/Master/texmf-dist/tex/latex/program/program.sty +++ b/Master/texmf-dist/tex/latex/program/program.sty @@ -15,6 +15,7 @@ % Changed \FOREACH \ATEACH to use \@typename % Added \boldsubm (uses \boldsymbol instead of text \bf) % 3.3.11: Changed the default style to \sfvariables, old style is \bfvariables +% 3.3.12: Fixed the interaction with \index and \makeindex (which uses |) % % % A LaTeX2e style file for typesetting algorithms. @@ -991,3 +992,17 @@ \def\www{\bgroup\def~{\hskip 1pt plus 3pt minus 1pt\relax}\www@} \def\www@#1{$\langle$#1$\rangle$\egroup} +%% Fix the use of | in \index: + +\def\makeindex{% + \newwrite\@indexfile + \immediate\openout\@indexfile=\jobname.idx + \def\index{\@bsphack\begingroup + \catcode`\|=12 + \@sanitize + \@wrindex}\typeout + {Writing index file \jobname.idx}% + \let\makeindex\@empty +} +\def\index{\@bsphack\begingroup\catcode`\|=12\@sanitize\@index} + |