-
Notifications
You must be signed in to change notification settings - Fork 45.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pandoc for PDF creation and GitHub Actions for auto-generation #632
base: master
Are you sure you want to change the base?
Conversation
@donnemartin I'm aware this is a rather large PR and might take some time to review. Please feel free to let me know if there's any changes that can be made. There's a workflow in the forked repository if you want to see it The PDF I attached in #4: |
290edc9
to
884c8b4
Compare
5c535d9
to
ae2eccf
Compare
31ee709
to
c90bf54
Compare
78d16bf
to
abf3870
Compare
1b99e84
to
2085e83
Compare
tlmgr install ctex enumitem float koma-script | ||
|
||
# Generate PDFs using pandoc | ||
for filename in pandoc-*yaml; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enhancement for a future PR - could consolidate the code in this file and pandoc.sh
, to remove duplication. Then just pass an argument/flag to toggle docker/local calls.
Although this looks good as is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jackson15j Thank you for the review! I'd actually started with functions for each. The challenge and the reason it was split is because the script for the Docker container uses a different shell invocation due to what is available within the container (/bin/bash
vs /bin/sh
). We could investigate other container options that ship with /bin/bash
and the pandoc/tex tools and simplify things but it should work as is if someone were to want to clone the repo and run the pandoc script locally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto. There are other changes I want to make that are purely content changes or corrections but I wanted to keep this already large PR strictly to what was needed for the automation components. There are additional PRs I plan to open once this is merged. |
@donnemartin Is there any chance you'll be able to review this soon? I'm open to feedback or next steps. 🙏🏽 |
f5fd221
to
0bbaa89
Compare
Changes for added functionality:
Changes to support PDF output:
Minor change:
Issues addressed:
Local environment with successful
pandoc.sh
script execution: