Skip to content

Instantly share code, notes, and snippets.

@rhaamo
Created August 12, 2016 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhaamo/4e6241ce44acbbcc89c564445b63bd82 to your computer and use it in GitHub Desktop.
Save rhaamo/4e6241ce44acbbcc89c564445b63bd82 to your computer and use it in GitHub Desktop.
--- a/lit/tex4ht-4ht.tex.orig 2016-08-12 11:23:03.248224847 +0200
+++ b/lit/tex4ht-4ht.tex 2016-08-12 11:27:55.957268617 +0200
@@ -16452,6 +16452,7 @@
% scrartcl.4ht |version %
% Copyright (C) |CopyYear.1999. Eitan M. Gurari %
|<TeX4ht copyright|>
+|<scr old fonts|>
\input article.4ht
|<scr artcl, reprt, book|>
\Hinput{scrartcl}
@@ -16641,21 +16642,7 @@
\ifx \@openbib@code\:UnDef \else
\pend:def\@openbib@code{\labelsep\z@}
\fi
-\def\:temp#1#2!*?: {\def\:temp{#1}}
-\expandafter\:temp\usepackage!*?:
-\def\:tempa{\@latex@e@error}
-\ifx \:temp\:tempa \else
- \def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}%
- \long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks
- {\expandafter\noexpand
- \csname o:\expandafter\:gobble\string #3:\endcsname}}}
-\def\:temp#1{%
- \expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}}
-\:temp{rm}
-\:temp{sf}
-\:temp{tt}
-\:temp{bf}
-\:temp{it}
+|<scr old fonts|>
\fi
\let\:tempc\listoffigures
@@ -16856,21 +16843,7 @@
\ifx \@openbib@code\:UnDef \else
\pend:def\@openbib@code{\labelsep\z@}
\fi
-\def\:temp#1#2!*?: {\def\:temp{#1}}
-\expandafter\:temp\usepackage!*?:
-\def\:tempa{\@latex@e@error}
-\ifx \:temp\:tempa \else
- \def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}%
- \long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks
- {\expandafter\noexpand
- \csname o:\expandafter\:gobble\string #3:\endcsname}}}
-\def\:temp#1{%
- \expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}}
-\:temp{rm}
-\:temp{sf}
-\:temp{tt}
-\:temp{bf}
-\:temp{it}
+|<scr old fonts|>
\fi
\let\:tempc\listoffigures
@@ -17028,7 +17001,26 @@
}
>>>
+\<scr old fonts\><<<
+\def\:temp#1#2!*?: {\def\:temp{#1}}
+\expandafter\:temp\usepackage!*?:
+\def\:tempa{\@latex@e@error}
+\ifx \:temp\:tempa \else
+ \def\popthree#1#2#3#4{#4}
+ \def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}%
+ \long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks
+ {\expandafter\noexpand
+ \csname o:\expandafter\expandafter\:gobble\expandafter\string \popthree#3:\endcsname}}}
+\def\:temp#1{%
+ \expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}}
+\:temp{rm}
+\:temp{sf}
+\:temp{tt}
+\:temp{bf}
+\:temp{it}
+\fi
+>>>
\<addchap confic\><<<
\ifx \@@maybeautodot\:UnDef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment