forked from OpenLogicProject/forallx-cam
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathforallxyyc-html.tex
64 lines (50 loc) · 2.11 KB
/
forallxyyc-html.tex
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
% forallxyyc-html
% Driver file to produce HTML etc. version of forall x:YYC
% using LaTeXML/bookml
\documentclass{book}
\usepackage{bookml/bookml}
\bmlImageEnvironment{tikzpicture}
\RequirePackage{xcolor,tabularx,wrapfig}
\definecolor{lyallpink}{RGB}{222,31,149}
\colorlet{leadbeater}{lyallpink}
\colorlet{dkleadbeater}{lyallpink!80!black}
\colorlet{ltleadbeater}{lyallpink!50}
\colorlet{vltleadbeater}{lyallpink!3}
\usepackage{forallxyyc}
\usepackage{forallxyyc-html}
\usepackage{gitinfo2}
\usepackage{fitchml}% patch fitch for HTML
\HTMLtargettrue
\title{forall x: Calgary}
\author{P.~D. Magnus\and
Tim Button\and
Robert Trueman\and
Richard Zach}
\date{\forallxversion{} (\gitCommitterDate~\gitAbbrevHash)}
\bmlAltFormat{forallxyyc.pdf}{PDF}
\bmlAltFormat{forallxyyc-accessible.pdf}{PDF (accessible)}
\begin{document}
\begin{wrapfigure}{r}{.4\textwidth}
\includegraphics[width=.4\textwidth,
alt={Book cover with title, authors, and a large forall sign in red on pink background}]
{forallxyyc.png}\bmlPlusClass{bml\_no\_invert fxcover}
\end{wrapfigure}
% \iflatexml
% \<div class="header">
% \<h1 class="title">forall x: Calgary\<br />An Introduction to Formal Logic\</h1>
% \<p class="author">\<span class="ltx\_creator ltx\_role\_author">\<span class="ltx\_personname">P. D. Magnus\</span>\</span>
% \<span class="ltx\_author\_before"> \</span>\<span class="ltx\_creator ltx\_role\_author">\<span class="ltx\_personname">Tim Button\</span>\</span>
% \<span class="ltx\_author\_before"> \</span>\<span class="ltx\_creator ltx\_role\_author">\<span class="ltx\_personname">Robert Trueman
% \</span>\</span>
% \<span class="ltx\_author\_before"> \</span>\<span class="ltx\_creator ltx\_role\_author">\<span class="ltx\_personname">Richard Zach\</span>\</span>\</p>
% \<p class="date">\forallxversion{} (\gitCommitterDate~\gitAbbrevHash)\</p>
% \</div>
% \<div id="p1" class="ltx\_para">
% \<p class="ltx\_p">With contributions by J. Robert Loftis and Aaron Thomas-Bolduc\</p>
% \</div>
% \else
\maketitle
With contributions by J. Robert Loftis and Aaron Thomas-Bolduc
% \fi
\input{forallx-yyc-content}
\end{document}