| 1 |
% endnotes.4ht (2022-10-25-13:59), generated from tex4ht-4ht.tex |
| 2 |
% Copyright 2001-2009 Eitan M. Gurari |
| 3 |
% Copyright 2009-2022 TeX Users Group |
| 4 |
% |
| 5 |
% This work may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3c of this license or (at your option) any |
| 8 |
% later version. The latest version of this license is in |
| 9 |
% http://www.latex-project.org/lppl.txt |
| 10 |
% and version 1.3c or later is part of all distributions |
| 11 |
% of LaTeX version 2005/12/01 or later. |
| 12 |
% |
| 13 |
% This work has the LPPL maintenance status "maintained". |
| 14 |
% |
| 15 |
% The Current Maintainer of this work |
| 16 |
% is the TeX4ht Project <http://tug.org/tex4ht>. |
| 17 |
% |
| 18 |
% If you modify this program, changing the |
| 19 |
% version identification would be appreciated. |
| 20 |
\immediate\write-1{version 2022-10-25-13:59} |
| 21 |
|
| 22 |
\HAssign\endnote:N=0 |
| 23 |
\def\endnoteN{\endnote:N} |
| 24 |
\def\:tempc{\addtoendnotes |
| 25 |
{\def\string\endnoteN{\endnote:N}}\o:@endnotetext:} |
| 26 |
\HLet\@endnotetext=\:tempc |
| 27 |
\def\@makeenmark{% |
| 28 |
\gHAdvance\endnote:N by 1 |
| 29 |
\hbox{\textsuperscript{\a:makeenmark\@theenmark\b:makeenmark}}} |
| 30 |
\NewConfigure{makeenmark}{2} |
| 31 |
\def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=1.8em |
| 32 |
\leavevmode\llap{\hbox{\textsuperscript{\@theenmark}}}} |
| 33 |
|
| 34 |
\NewConfigure{theendnotes}{2} |
| 35 |
\NewConfigure{enoteformat}{2} |
| 36 |
\AtBeginDocument{% |
| 37 |
\def\:tempc{\bgroup |
| 38 |
\pend:def\enoteformat{\a:enoteformat}% |
| 39 |
\append:def\enoteformat{\b:enoteformat}% |
| 40 |
\a:theendnotes \o:theendnotes: \b:theendnotes \egroup} |
| 41 |
\HLet\theendnotes=\:tempc |
| 42 |
} |
| 43 |
|
| 44 |
\Hinput{endnotes} |
| 45 |
\endinput |
| 46 |
|