-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathconfig.cfg
34 lines (31 loc) · 1.14 KB
/
config.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\Preamble{xhtml}
% this was fixed in the upstream, but Debian used in the Docker container
% doesn't contain it yet
\def\hypertarget#1#2{\Link{}{#1}\EndLink#2}
\Configure{@HEAD}{\HCode{\Hnewline<script src="https://hypothes.is/embed.js" async></script>}}
\Configure{@HEAD}{\HCode{\Hnewline<meta property="og:title" content="\LikeRef{TITLE+}" />}}
\Configure{@HEAD}{\HCode{\Hnewline<meta property="og:author" content="Michal Hoftich" />}}
\Configure{@HEAD}{\HCode{\Hnewline<meta property="og:type" content="website" />}}
\Configure{@HEAD}{\HCode{\Hnewline<meta property="og:url" content="https://www.kodymirus.cz/make4ht/make4ht-doc.html" />}}
\Configure{@HEAD}{\HCode{\Hnewline<link rel="canonical" href="https://www.kodymirus.cz/make4ht/make4ht-doc.html" /> }}
\Css{body{
font-size:18px;
font-size-adjust: 0.5;
width:65ch;
max-width:100\%;
margin: 1em auto;
}}
\Css{p,li,dt{
line-height: calc(1ex / 0.32);
text-align: justify;
hyphens: auto;
}}
\Css{div.center p {text-align:center;}}
% save the \@title command
\begin{document}
\makeatletter
\Tag{TITLE+}{The make4ht build system}
\makeatother
\def\TeX{TeX}
\def\LaTeX{LaTeX}
\EndPreamble