diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-03 01:32:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-03 01:32:21 +0000 |
commit | 4feea2468d21899ed23a55816e5027793d73f0b0 (patch) | |
tree | 7fb702d574e37d9090b04cac03d7f824a12b77b7 /Master/texmf-dist/source/generic/tex4ht/tex4ht-bibtex2.tex | |
parent | 51d9a33e68f1f36a2db54a1c8773032750b72201 (diff) |
tex4ht source files
git-svn-id: svn://tug.org/texlive/trunk@59059 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-bibtex2.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-bibtex2.tex | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-bibtex2.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-bibtex2.tex new file mode 100644 index 00000000000..62d6de5b8c0 --- /dev/null +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-bibtex2.tex @@ -0,0 +1,75 @@ +% $Id: tex4ht-bibtex2.tex 65 2010-11-17 19:16:45Z karl $ +% compile: latex tex4ht-bibtex2 +% +% Copyright (C) 2009-2010 TeX Users Group +% Copyright (C) 2000-2009 Eitan M. Gurari +% Released under LPPL 1.3c+. +% See tex4ht-cpright.tex for license text. + +\documentclass{article} + \input ProTex.sty + \AlProTex{4ht,<<<>>>,list,|,title} + +\begin{document} + +\input{common} +\input{tex4ht-cpright} + +\<bibtex2.4ht\><<< +% bibtex2.4ht (|version), generated from |jobname.tex +% Copyright (C) 2009-2010 TeX Users Group +% Copyright (C) |CopyYear.2001. Eitan M. Gurari +|<TeX4ht copywrite|> +\catcode`\/=0 +\catcode`\\=12 +/edef/bibstyle{\bibstyle} +/catcode`/\=0 +/catcode`//=12 +\catcode`\&=12 + +\def\get{% + \immediate\read15 to \line + \ifeof15 \else + \expandafter\scan\line @@@@@@@@@&&&& + \expandafter\get + \fi +} +\def\scan#1#2#3#4#5#6#7#8#9{\def\first{#1#2#3#4#5#6#7#8#9}\put} +\def\put#1&&&&{% + \immediate\write15{\ifx \first\bibstyle + \ifx \style\empty \line \else \bibstyle{\style}\fi + \else \line\fi}} +\newcount\c +\def\Cats#1#2#3{\edef\temp{\the\c}% + \c=#3 + \def\next{\catcode\c=#1 + \ifnum \c=#2 \let\next=\relax \fi + \advance\c by -1 \next}\next + \c=\temp } + +\def\jaux#1#2{% + \bgroup + \def\style{#2}% + \immediate\openin15=#1.aux + \ifeof15 \else + \Cats{12}{0}{255}% + \Cats{11}{65}{90}% + \Cats{11}{97}{122}% + \catcode`\^^M=5 + \immediate\openout15=#1j.aux + \get + \immediate\write15{} + \closeout15 + \fi + \egroup +} + + +>>> + + + + \OutputCodE\<bibtex2.4ht\> + +\end{document} +\endinput |