Update doc generator to produce PDFs.

finite-set-exercises
Joshua Potter 2023-05-07 15:57:40 -06:00
parent 98f4f777de
commit b8ea0ae7ad
7 changed files with 12 additions and 8 deletions

View File

@ -1,6 +1,6 @@
\documentclass{article} \documentclass{article}
\input{preamble} \input{../../../preamble}
\newcommand{\link}[1]{\lean{../../..} \newcommand{\link}[1]{\lean{../../..}
{Bookshelf/Real/Sequence/Arithmetic} {Bookshelf/Real/Sequence/Arithmetic}

View File

@ -1,6 +1,6 @@
\documentclass{article} \documentclass{article}
\input{preamble} \input{../../../preamble}
\newcommand{\link}[1]{\lean{../../..} \newcommand{\link}[1]{\lean{../../..}
{Bookshelf/Real/Sequence/Geometric} {Bookshelf/Real/Sequence/Geometric}

View File

@ -1,7 +1,7 @@
\documentclass{article} \documentclass{article}
\usepackage[shortlabels]{enumitem} \usepackage[shortlabels]{enumitem}
\input{preamble} \input{../../preamble}
\newcommand{\link}[1]{\lean{../..} \newcommand{\link}[1]{\lean{../..}
{Exercises/Apostol/Chapter\_I\_3} {Exercises/Apostol/Chapter\_I\_3}
@ -72,6 +72,8 @@ Let $h$ be a given positive number and let $S$ be a set of real numbers.
\begin{proof} \begin{proof}
\ % Force space prior to *Proof.*
\begin{enumerate}[(a)] \begin{enumerate}[(a)]
\item \link{sup\_imp\_exists\_gt\_sup\_sub\_delta} \item \link{sup\_imp\_exists\_gt\_sup\_sub\_delta}
\item \link{inf\_imp\_exists\_lt\_inf\_add\_delta} \item \link{inf\_imp\_exists\_lt\_inf\_add\_delta}
@ -94,6 +96,8 @@ $$C = \{a + b : a \in A, b \in B\}.$$
\begin{proof} \begin{proof}
\ % Force space prior to *Proof.*
\begin{enumerate}[(a)] \begin{enumerate}[(a)]
\item \link{sup\_minkowski\_sum\_eq\_sup\_add\_sup} \item \link{sup\_minkowski\_sum\_eq\_sup\_add\_sup}
\item \link{inf\_minkowski\_sum\_eq\_inf\_add\_inf} \item \link{inf\_minkowski\_sum\_eq\_inf\_add\_inf}

View File

@ -1,7 +1,7 @@
\documentclass{article} \documentclass{article}
\usepackage{amsmath} \usepackage{amsmath}
\input{preamble} \input{../../preamble}
\newcommand{\larea}[2]{\lean{../..}{Bookshelf/Real/Geometry/Area}{#1}{#2}} \newcommand{\larea}[2]{\lean{../..}{Bookshelf/Real/Geometry/Area}{#1}{#2}}
\newcommand{\lrect}[2]{\lean{../..}{Bookshelf/Real/Geometry/Rectangle}{#1}{#2}} \newcommand{\lrect}[2]{\lean{../..}{Bookshelf/Real/Geometry/Rectangle}{#1}{#2}}

View File

@ -1,6 +1,6 @@
\documentclass{article} \documentclass{article}
\input{preamble} \input{../../preamble}
\newcommand{\link}[1]{\lean{../..} \newcommand{\link}[1]{\lean{../..}
{Exercises/Enderton/Chapter0} {Exercises/Enderton/Chapter0}

View File

@ -16,9 +16,9 @@
{"git": {"git":
{"url": "https://github.com/jrpotter/bookshelf-docgen.git", {"url": "https://github.com/jrpotter/bookshelf-docgen.git",
"subDir?": null, "subDir?": null,
"rev": "b083d636c2581e72da9d18023240319dd5eca43a", "rev": "dee1ea599fd459db8f40201a32338c606b1944e8",
"name": "doc-gen4", "name": "doc-gen4",
"inputRev?": "b083d636c2581e72da9d18023240319dd5eca43a"}}, "inputRev?": "dee1ea599fd459db8f40201a32338c606b1944e8"}},
{"git": {"git":
{"url": "https://github.com/mhuisi/lean4-cli", {"url": "https://github.com/mhuisi/lean4-cli",
"subDir?": null, "subDir?": null,

View File

@ -12,7 +12,7 @@ require std4 from git
"6006307d2ceb8743fea7e00ba0036af8654d0347" "6006307d2ceb8743fea7e00ba0036af8654d0347"
require «doc-gen4» from git require «doc-gen4» from git
"https://github.com/jrpotter/bookshelf-docgen.git" @ "https://github.com/jrpotter/bookshelf-docgen.git" @
"b083d636c2581e72da9d18023240319dd5eca43a" "dee1ea599fd459db8f40201a32338c606b1944e8"
@[default_target] @[default_target]
lean_lib «Bookshelf» { lean_lib «Bookshelf» {