| 1 |
% $Id: tex4ht-bibtex2.tex 936 2021-05-16 16:21:01Z karl $ |
| 2 |
% compile: latex tex4ht-bibtex2 |
| 3 |
% |
| 4 |
% Copyright 2009-2021 TeX Users Group |
| 5 |
% Copyright 2000-2009 Eitan M. Gurari |
| 6 |
% Released under LPPL 1.3c+. |
| 7 |
% See tex4ht-cpright.tex for license text. |
| 8 |
|
| 9 |
\documentclass{article} |
| 10 |
\input ProTex.sty |
| 11 |
\AlProTex{4ht,<<<>>>,list,|,title} |
| 12 |
|
| 13 |
\begin{document} |
| 14 |
|
| 15 |
\input{common} |
| 16 |
\input{tex4ht-cpright} |
| 17 |
|
| 18 |
\<bibtex2.4ht\><<< |
| 19 |
% bibtex2.4ht (|version), generated from |jobname.tex |
| 20 |
% Copyright 2009-2021 TeX Users Group |
| 21 |
% Copyright |CopyYear.2001. Eitan M. Gurari |
| 22 |
|<TeX4ht copywrite|> |
| 23 |
\catcode`\/=0 |
| 24 |
\catcode`\\=12 |
| 25 |
/edef/bibstyle{\bibstyle} |
| 26 |
/catcode`/\=0 |
| 27 |
/catcode`//=12 |
| 28 |
\catcode`\&=12 |
| 29 |
|
| 30 |
\def\get{% |
| 31 |
\immediate\read15 to \line |
| 32 |
\ifeof15 \else |
| 33 |
\expandafter\scan\line @@@@@@@@@&&&& |
| 34 |
\expandafter\get |
| 35 |
\fi |
| 36 |
} |
| 37 |
\def\scan#1#2#3#4#5#6#7#8#9{\def\first{#1#2#3#4#5#6#7#8#9}\put} |
| 38 |
\def\put#1&&&&{% |
| 39 |
\immediate\write15{\ifx \first\bibstyle |
| 40 |
\ifx \style\empty \line \else \bibstyle{\style}\fi |
| 41 |
\else \line\fi}} |
| 42 |
\newcount\c |
| 43 |
\def\Cats#1#2#3{\edef\temp{\the\c}% |
| 44 |
\c=#3 |
| 45 |
\def\next{\catcode\c=#1 |
| 46 |
\ifnum \c=#2 \let\next=\relax \fi |
| 47 |
\advance\c by -1 \next}\next |
| 48 |
\c=\temp } |
| 49 |
|
| 50 |
\def\jaux#1#2{% |
| 51 |
\bgroup |
| 52 |
\def\style{#2}% |
| 53 |
\immediate\openin15=#1.aux |
| 54 |
\ifeof15 \else |
| 55 |
\Cats{12}{0}{255}% |
| 56 |
\Cats{11}{65}{90}% |
| 57 |
\Cats{11}{97}{122}% |
| 58 |
\catcode`\^^M=5 |
| 59 |
\immediate\openout15=#1j.aux |
| 60 |
\get |
| 61 |
\immediate\write15{} |
| 62 |
\closeout15 |
| 63 |
\fi |
| 64 |
\egroup |
| 65 |
} |
| 66 |
|
| 67 |
|
| 68 |
>>> |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
\OutputCodE\<bibtex2.4ht\> |
| 73 |
|
| 74 |
\end{document} |
| 75 |
\endinput |