summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-09-20 21:39:05 +0000
committerKarl Berry <karl@freefriends.org>2022-09-20 21:39:05 +0000
commit48772b464aad2a5a4c5d7615c6a043acb61364e2 (patch)
tree265c6720dc15bf11b3755d8c0a155197c90dbcaf
parent1c07e610bd4fe2c469bca64a1218b295ac03301d (diff)
csbulletin support, tex4ht r1196
git-svn-id: svn://tug.org/texlive/trunk@64455 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex3
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex45
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/csbulletin.4ht45
4 files changed, 96 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index b016187e218..f4c102576dd 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,8 @@
+2022-09-20 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (csbulletin.4ht): basic support for the CSTUG
+ Bulletin.
+
2022-09-16 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (unicode-math-hooks.4ht): declare the \unimathsetup
diff --git a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
index e9e10bc9877..b6a23db4718 100644
--- a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1193 2022-09-14 14:21:16Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1196 2022-09-20 15:05:23Z michal_h21 $
% Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
% Read by tex4ht-cond4ht.
%
@@ -102,6 +102,7 @@
\AddFile{9}{elsart}
\AddFile{9}{apa}
\AddFile{9}{apa-a}
+\AddFile{9}{csbulletin}
\AddFile{9}{JHEP}
\AddFile{9}{TextBook}
\AddFile{9}{combine}
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index c975e6e7c30..899fcbe89fc 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1195 2022-09-16 20:06:02Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1196 2022-09-20 15:05:23Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -18745,6 +18745,49 @@ UnDFexyz}%
>>>
%%%%%%%%%%%%%%%%%%%%%
+\Chapter{csbulletin.cls}
+%%%%%%%%%%%%%%%%%%%%%
+
+CSTUG bulletin.
+
+\<csbulletin.4ht\><<<
+% csbulletin.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht license text|>
+|<csbulletin code|>
+\Hinput{csbulletin}
+\endinput
+>>> \AddFile{9}{csbulletin}
+
+We need to fix support for titles and authors.
+
+\<csbulletin code\><<<
+\def\author#1{\def\auth@r{#1}%
+ \def\@author{#1}%
+ \setbox\authb@x=\hbox{#1}
+ \global\autkn@wntrue%
+}
+
+\def\title#1{\def\t@tle{#1}\def\@title{#1}}
+
+\renewcommand\maketitle[1][\z@]{%
+ \begingroup%
+ \def\footnote##1{\footnotemark%
+ \xdef\ZW@f@@tmark{\c@footnote}%
+ \gdef\ZW@f@@tnote{\footnotetext[\ZW@f@@tmark]{##1}}%
+ \gdef\ZW@footnote{\aftergroup\ZW@f@@tnote}%
+ \aftergroup\ZW@footnote}%
+ \parindent\z@%
+ \a:ttl\t@tle\b:ttl%
+ \endgroup\def\and{\a:and}%
+ \@@line{\ifautkn@wn\a:author\@author\b:author\fi}%
+ \thispagestyle{csbuldoi}\ClanekToc%
+ \@afterindentfalse \@afterheading}
+>>>
+
+
+
+%%%%%%%%%%%%%%%%%%%%%
\Chapter{JHEP.cls}
%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/generic/tex4ht/csbulletin.4ht b/Master/texmf-dist/tex/generic/tex4ht/csbulletin.4ht
new file mode 100644
index 00000000000..356ff87164a
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/csbulletin.4ht
@@ -0,0 +1,45 @@
+% csbulletin.4ht (2022-09-20-13:52), generated from tex4ht-4ht.tex
+% Copyright 2022 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% 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 2022-09-20-13:52}
+
+\def\author#1{\def\auth@r{#1}%
+ \def\@author{#1}%
+ \setbox\authb@x=\hbox{#1}
+ \global\autkn@wntrue%
+}
+
+\def\title#1{\def\t@tle{#1}\def\@title{#1}}
+
+\renewcommand\maketitle[1][\z@]{%
+ \begingroup%
+ \def\footnote##1{\footnotemark%
+ \xdef\ZW@f@@tmark{\c@footnote}%
+ \gdef\ZW@f@@tnote{\footnotetext[\ZW@f@@tmark]{##1}}%
+ \gdef\ZW@footnote{\aftergroup\ZW@f@@tnote}%
+ \aftergroup\ZW@footnote}%
+ \parindent\z@%
+ \a:ttl\t@tle\b:ttl%
+ \endgroup\def\and{\a:and}%
+ \@@line{\ifautkn@wn\a:author\@author\b:author\fi}%
+ \thispagestyle{csbuldoi}\ClanekToc%
+ \@afterindentfalse \@afterheading}
+
+\Hinput{csbulletin}
+\endinput
+