LSSTDESC / start_paper

Make a folder containing everything you need to start writing an LSST DESC paper or Note
BSD 3-Clause "New" or "Revised" License
11 stars 4 forks source link

PDF output for latex research notes #27

Open c-d-leonard opened 7 years ago

c-d-leonard commented 7 years ago

The core cosmology library group is writing a research note about the library and would like to use latex (to be able to incorporate the equations that go into the library). Since the main means of publishing desc research notes is via github, it would be great if there was a facility to easily publish pdfs of notes written in latex.

Here's a link to the branch of CCL including the skeleton of the note: https://github.com/DarkEnergyScienceCollaboration/CCL/tree/research_note

heather999 commented 7 years ago

@drphilmarshall I know we have discussed this need to convert between latex and pdf before. Were we still interested in using pandoc for that or did you have another tool in mind? (My latex experience is rusty!!!)

kadrlica commented 7 years ago

I have a .travis.yaml for mkauthlist that does latex compilation as part of it's tests. It's a bit hairy because you need to apt-get some (but not all) of the latex packages.

drphilmarshall commented 7 years ago

Yeah, I have one of these as well. My plan is to get CCL's note working, and then show the travis solution to @tony-johnson next week. Great if you can take a look at what I do and suggest improvements!

drphilmarshall commented 7 years ago

OK, I have a working version of the PDF deployment at 0453ef9 in PR #32. I'll try and get the CCL repo up and running next.

drphilmarshall commented 7 years ago

Ah - we don't have a travis.com account, and so cannot have travis run on private repos like CCL. I can put all the things you need in the research_note branch, but they won't run until CCL goes public. Sorry, @c-d-leonard ! I'll talk to Tony about setting up Jenkins instead.