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

paper.md to pdf before submission #553

Closed
holgerteichgraeber opened this issue Jun 28, 2019 · 6 comments · Fixed by openjournals/whedon-api#66
Closed

paper.md to pdf before submission #553

holgerteichgraeber opened this issue Jun 28, 2019 · 6 comments · Fixed by openjournals/whedon-api#66

Comments

@holgerteichgraeber
Copy link

Is there a way to convert my paper.md to a pdf file before submission?
I could not find anything in that regard in the documentation.
I would like to give it to my co-authors in a format that they can see how the final version would look like.
Thanks already in advance!

@jedbrown
Copy link
Member

Unfortunately, installing Whedon is not trivial. You can get much of the way (minus the template/page decoration) with pandoc and pandoc-citeproc (probably available in your package manager).

pandoc --filter pandoc-citeproc --csl ~/src/whedon/resources/apa.csl --pdf-engine=xelatex paper.md -o paper.pdf

@arfon
Copy link
Member

arfon commented Jun 30, 2019

Also, this script should help you get you a pretty good preview too: https://gist.github.com/arfon/09a11047de1c972e37f77e95d2c10efa

@holgerteichgraeber
Copy link
Author

Thank you @jedbrown and @arfon , appreciated!

@letmaik
Copy link

letmaik commented Aug 14, 2019

@arfon This needs to be improved. Why not offer a Docker image which can generate the pdf?

@arfon
Copy link
Member

arfon commented Aug 14, 2019

@arfon This needs to be improved. Why not offer a Docker image which can generate the pdf?

I love this idea. I'm just short on time and haven't been able to get to this yet unfortunately.

If anyone on this thread was motivated to work on this that would be ✨

@letmaik
Copy link

letmaik commented Aug 14, 2019

What about https://github.com/openbases/openbases-pdf? Is this dead? Working? Not supported by JOSS?

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 a pull request may close this issue.

4 participants