diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/protex/AlProTex.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/protex/AlProTex.sty | 54 |
1 files changed, 33 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/latex/protex/AlProTex.sty b/Master/texmf-dist/tex/latex/protex/AlProTex.sty index 830377eb01e..63803c67b39 100644 --- a/Master/texmf-dist/tex/latex/protex/AlProTex.sty +++ b/Master/texmf-dist/tex/latex/protex/AlProTex.sty @@ -1,23 +1,21 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% AlProTex.sty 2008-06-09-16:59 % -% Copyright (C) 1992--2008 by Eitan M. Gurari % -% % -% This program can redistributed and/or modified under % -% the terms of the LaTeX Project Public License % -% Distributed from CTAN archives in directory % -% macros/latex/base/lppl.txt; either version 1 of the % -% License, or (at your option) any later version. % -% % -% However, you are allowed to modify this program % -% without changing its name, if you modify its % -% signature. Changes to the signature can be introduced % -% with a directive of the form % -% \message{signature} % -% % -% gurari@cse.ohio-state.edu % -% http://www.cse.ohio-state.edu/~gurari % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2008-06-09-16:59} +% $Id: AlProTex.sty 185 2016-07-04 18:14:23Z karl $ +% Copyright 2016 TeX Users Group +% Copyright 1992-2008 Eitan M. Gurari +% +% This program can redistributed and/or modified under +% the terms of the LaTeX Project Public License +% Distributed from CTAN archives in directory +% macros/latex/base/lppl.txt; either version 1 of the +% License, or (at your option) any later version. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project <http://tug.org/tex4ht>. +% +% If you modify this program, changing the +% version identification would be appreciated. +\immediate\write-1{version 2016-07-04} \expandafter\edef\csname :RestoreCatcodes\endcsname{% \catcode`\noexpand\noexpand\noexpand \^=\the\catcode`\^% @@ -953,6 +951,21 @@ \:temp}} \fi \fi + +%% Set source line numbers in the output +%% \srclineBOL{symbol} - to change a beginning-of-line symbol +%% \CodeInputLine - to change all the string. +%% +\:CheckOption{CodeLineNo} +\if:Option + %% Set beginning-of-line symbol to # + %% if extension is c (case sensitive) + \if\:InitAlProTex c\relax + \srclineBOL{\#} + \fi + \SetOutputWithLineNo +\fi + \:CheckOption{eline} \catcode`\%=12 \if:Option @@ -1581,4 +1594,3 @@ \endinput} \:RestoreCatcodes \csname :temp\endcsname - |