Skip to content

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 balay, luszczek 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