Academic CV and Website generated from same source
#56
Open
opened 4 years ago by SethPoulsen
·
4 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
As I'm sick of having to update the same things in multiple places all the time, I'd like to have my CV as a pdf generated from the same source as (at least part of) my personal website, as well as be able to use BibTeX to automatically generate my publications list. From what I can tell, it seems like Pollen would be a good choice for this.
Does anyone have an example of such a thing (or similar) that I could have a look at?
Can I have target-specific formatting (e.g. format the way a publication entry is displayed differently for web vs. pdf)?
Thanks!
I'd say so too!
yes, see https://docs.racket-lang.org/pollen/fourth-tutorial.html (but you should probably read the whole thing if you are interested in Pollen and haven't done it yet)
I don't know about the bibtex part, but I've done that for my CV, it generates an html page and a pdf from the same source, using quad (I tried using a latex output, but it got too cumbersome).
If you want to take a look, here's the source: https://github.com/ergl/pollen-site/tree/master/cv, specifically, here's the source pollen file https://github.com/ergl/pollen-site/blob/master/cv/index.poly.pm
And here's how it looks like: html and pdf
Regarding BibTex, if you already have a working LaTeX resume, you can create a Pollen template out of that. Then have your tag functions produce strings of LaTeX code that get inserted into that template, This is the approach I took in my
try-pollen
project which produces a book and a web site from the same Pollen source. In particular look attemplate.pdf.p
. (I also made atemplate.ltx.p
that produces mostly the same LaTeX source but stops short of actually rendering it into a PDF.)Thanks for all the tips everyone! This should definitely be enough to get me started (once I find the time).
I'll be back if I come up with more questions!