Skip to content

pveierland/project_euler_offline

Repository files navigation

Project Euler Offline

Project Euler Offline is an unofficial compilation of the Project Euler problem set for offline use.

  • It contains all Project Euler problems as of the date of compilation, including all problem data files as PDF attachments via the attachfile2 LaTeX plugin.
  • Animations are produced with the animate LaTeX plugin. Note that animations require a PDF reader with JavaScript support. Support has been confirmed in Okular on Linux (remember to select ViewShow Forms).
  • Bonus feature: Appendix about Roman numerals.

Download

Project Euler Offline is available in a compact and a spaced version. The spaced version renders problems on individual pages to leave room for note taking.

NB: Download size is ~14 MB.

Usage

Download problem data:

python -m project_euler_offline fetch

Render compact version to PDF:

python -m project_euler_offline render --pdf

Render spaced version to PDF:

python -m project_euler_offline render --pdf --spaced

NB: Note that files are also downloaded during rendering.

Ideas

  • Consider separate screen and print versions to better utilize screen real estate.

License

The original content of this repository is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license. Content within the source_mods folder are direct copies from Project Euler with necessary modifications for the compilation.