leanprover / leanprover/fp-lean

Best way to get a PDF version of Functional Programming in Lean?

Open
#192 13 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
192
Forks
73
PR merge metrics
No merged PRs in 30d

Description

What is the best way to get a PDF version of Functional Programming in Lean?

Currently I'm doing the following:

% git clone https://github.com/leanprover/fp-lean
% cd fp-lean
% lake exe fp-lean --with-html-single
% pandoc _out/html-single/index.html -o fpil.pdf --pdf-engine=lualatex

It generates a PDF with 382 pages which appears to be complete.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the commands in the issue: clone fp-lean, run lake exe fp-lean --with-html-single, and convert _out/html-single/index.html with Pandoc and LuaLaTeX. Read the repository's existing build or documentation instructions to determine whether a supported PDF workflow should be documented; done means the recommended process is clear and reproducible.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, latex
Domain
build-system, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.