Skip to content
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f2fef07
Add partial draft of PLEP 2 on Coordinating Committee
namurphy Nov 16, 2017
4a53f9a
Revise PLEP 2 on Coordinating Committee
namurphy Nov 18, 2017
d38d2da
List responsibilities of coordinating committee in PLEP 2
namurphy Dec 2, 2017
5be936e
Update PLEP 2 on governance
namurphy Feb 5, 2018
82ecaf2
Update PLEP on PlasmaPy Governance
namurphy May 18, 2018
cab6498
Have the CC learn about unconscious bias before filling vacancies
namurphy May 18, 2018
ffde77d
Convert PLEP-0002.md to PLEP-0002.rst
namurphy May 22, 2018
131aabf
Delete PLEP-0002.md
namurphy May 22, 2018
743b0cb
Revise PLEP 2 on Coordinating Committee
namurphy Sep 17, 2018
2354152
Update procedure for voting on PLEPs in PLEP 2
namurphy Sep 18, 2018
142bc45
Begin PLEP on licensing
namurphy Sep 28, 2017
1e86f42
Extend background & implementation sections of PLEP 4
namurphy Oct 14, 2017
77cb3fc
Updates to PLEP 4
namurphy Oct 14, 2017
441292f
Significantly revise PLEP on licensing
namurphy Nov 9, 2017
cffe90c
Revise and add links to licensing PLEP
namurphy Nov 9, 2017
278aa87
Incorporate comments into PLEP 4 on licensing
namurphy Dec 2, 2017
141980f
Update and clarify parts of licensing PLEP
namurphy May 18, 2018
c8a8172
Make title capitalization consistent
namurphy May 18, 2018
b6129de
Convert PLEP-0004.md to PLEP-0004.rst
namurphy May 22, 2018
4933a67
Delete PLEP-0004.md
namurphy May 22, 2018
d8075c2
Minor updates to PLEP 4
namurphy Sep 17, 2018
637b97a
Add draft of decision rationale to PLEP 4
namurphy Sep 17, 2018
3f876ae
Add bash script to convert PLEPs from ReST to PDF
namurphy Sep 25, 2018
9844e91
Merge branch 'master' of github.com:PlasmaPy/PlasmaPy-PLEPs into pandoc
namurphy Sep 26, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions convert_to_pdf.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/bin/bash

# This bash script loops through PLEPs and converts the
# ReStructuredText (.rst) files into PDF files with a consistent
# style.
#
# The author metadata right now must be implemented manually in order
# for middle initials to be included.
#
# This script may be run using:
#
# bash convert_to_pdf.sh
#
# This script requires that pandoc and pdflatex be installed.

pdf_engine=pdflatex

options="-V papersize:letter -V geometry:margin=1in -V fontsize=12pt -V linestretch=1.07 -V colorlinks"

# Enter pdf metadata manually

authors=( \
[0000]="PlasmaPy Community" \
[0001]="Nicholas A. Murphy" \
[0002]="Nicholas A. Murphy" \
[0003]="PlasmaPy Community" \
[0004]="Nicholas A. Murphy" \
[0005]="Nicholas A. Murphy and Stuart J. Mumford" \
[0007]="Andrew J. Leonard" \
)

for rstfile in PLEP-????.rst; do

base=${rstfile%.rst}
number=${base//PLEP-/}
pdffile=${base}.pdf

author=${authors[${number}]:-""}

echo "Converting ${rstfile} to ${pdffile}"
echo "Author = ${author}"

pandoc \
${rstfile} \
-o ${pdffile} \
--pdf-engine=${pdf_engine} \
${options} \
-M author="${author}" \
-M subject="PlasmaPy Enhancement Proposal"

echo ""

done