Skip to content
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 ability to generate a pdf of the community policies #18

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

balos1
Copy link
Member

@balos1 balos1 commented Jul 12, 2019

This PR makes it possible to generate a pdf of the package policies and installation policies. This is done with pandoc and panflute (python package for pandoc filters).

In order to get decent pdf output, some reformatting of the markdown had to be done:

  • For one, superscripts had to be changed to comply with the pandoc flavored markdown rather than GitHub flavored. As such, superscripts do not render on GitHub - instead they look like this: ^1^.

  • Also, the markdown text had to be wrapped at approx. 80 characters so that it fits in the rendered pdf.

  • Thirdly, to make it possible to link to individual installation policies in the PDF, they have been prefixed with an 'I', that is, installation policy 1, is now installation policy I1. This also will make it easier for people to refer to installation policies (removes ambiguity).

The rendered PDFs are attached below (updated with fix for multilevel bullets):

xsdk-community-policies.pdf
xsdk-installation-policies.pdf

@balos1 balos1 requested review from luszczek, balay and ulrikeyang July 12, 2019 22:02
@ulrikeyang
Copy link
Contributor

ulrikeyang commented Jul 12, 2019 via email

@luszczek
Copy link
Contributor

Thank you for fixing PDF generation.

I have a few comments:

  • we could fix the usage: "Environmental Research" but "environment variable"

  • the long links spill on the margin in the PDF. Shouldn't they use hyperref's url macro instead of href?

  • Do we need the PDF output in the repo? I'd rather just keep the source.

  • The link to Trilinos Trac is broken. I think the word "Overview" was cut off: http://trac.trilinos.org/wiki/TribitsLifecycleModelOverview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants