-
Notifications
You must be signed in to change notification settings - Fork 32
Dockerfile? #27
Comments
Hi @ianhbell - this would be very welcome. @greatfireball did some related work in https://github.com/greatfireball/docker_whedon_translate4joss |
@ianhbell could you use my dockerfile/container at least as starting point? |
Actually, I abandoned the docker idea (for now), and just wrote a little Python script that gets the job done (after cloning cmd = """pandoc \
-V paper_title="TITLE GOES HERE" \
-V citation_author="Ian H. Bell" \
-V archive_doi="http://dx.doi.org/00.00000/zenodo.0000000" \
-V formatted_doi="00.00000/joss.00000" \
-V paper_url="http://joss.theoj.org/papers/" \
-V review_issue_url="http://joss.theoj.org/papers/" \
-V issue="0" \
-V volume="00" \
-V year="2018" \
-V submitted="00 January 0000" \
-V published="00 January 0000" \
-V page="00" \
-V graphics="true" \
-V logo_path="whedon/resources/joss-logo.png" \
-V geometry:margin=1in \
-o paper.pdf \
--pdf-engine=xelatex \
--filter pandoc-citeproc paper.md \
--from markdown+autolink_bare_uris \
--template "whedon/resources/latex.template"
""".replace('\\','')
import subprocess, sys
subprocess.check_call(cmd, shell=True, stdout=sys.stdout,stderr=sys.stderr) |
Hey @ianhbell @greatfireball ! I'm following the issue here, as well as a few other boards - apologies for cross posting, I'm not sure if there's a better way! The reason I'm poking is because I hit this (and similar issues with Docker / building pdfs) myself! So the last few days I am working on a "whedon paper builder" (actual branding TBD after discussion with @arfon) that is going to serve as a tool for a new organization openbases that is going to provide templates intended for open journals submissions. For this particular issue, the whedon docker container that generates papers (still under development, just fyi!) I think could be a strong start! Specifically, it can:
My next plans are to:
So for example we can have a repo like There is still a few weeks development before a complete open base template (basically a circle config that will take you from raw stuffs to submission without a huge hassle) but in the meantime I/we would love feedback! The primary question I want to know:
Thanks everyone! @ianhbell I noticed your solution is also in Python, so you might be interested to check out the whedon-python library linked above. |
Quick update - @arfon and I chat and the container helper previously (not well chosen) named "whedon" is now builder-whedon! He builds. Here are new links: |
Anybody have a Dockerfile that wraps all of the install into a nice image? If not, I can put one together. I'm starting on my second JOSS submission now, and it seems like the same warts around local builds are still present. I still want to be able to build a reasonable PDF of my submission so I can see what it will look like, and straight pandoc basically works (openjournals/joss#370), but I would prefer something a bit nicer (my internal reviewers are not a fan of the missing author/affiliations for instance).
The text was updated successfully, but these errors were encountered: