Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S system-design-primer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 173
    • Issues 173
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 190
    • Merge requests 190
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Donne Martin
  • system-design-primer
  • Merge requests
  • !632

Add pandoc for PDF creation and GitHub Actions for auto-generation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/rcalixte/pandoc into master Dec 26, 2021
  • Overview 6
  • Commits 1
  • Pipelines 0
  • Changes 29

Created by: rcalixte

Changes for added functionality:

  • Adding a pandoc script to generate PDFs on the CLI
  • Adding files to support auto-generation of tagged releases from master branch with PDFs as assets (tags are based on the 7 character commit hash) using GitHub Actions (currently free for public repos)
  • Localizing the remaining imgur references

Changes to support PDF output:

  • Updating the .gitignore to add PDFs
  • Removing an errant character (^H) to allow the Chinese PDF to generate successfully
  • Updating image tags in English files as they serve as image footers in the generated PDF

Minor change:

  • Fixing small typo in comment of epub shell script

Issues addressed:

  • Closes #4

Local environment with successful pandoc.sh script execution:

$ pandoc --version 
pandoc 2.14.1
Compiled with pandoc-types 1.22, texmath 0.12.3, skylighting 0.11,
citeproc 0.4.1, ipynb 0.1.0.1
User data directory: /home/rcalixte/.local/share/pandoc
Copyright (C) 2006-2021 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.

$ tex --version
TeX 3.14159265 (TeX Live 2019/Debian)
kpathsea version 6.3.1
Copyright 2019 D.E. Knuth.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.

$ lsb_release -d
Description:    Ubuntu 20.04.3 LTS
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/rcalixte/pandoc