Academic CV and Website generated from same source #56

Open
opened 4 years ago by SethPoulsen · 4 comments
SethPoulsen commented 4 years ago (Migrated from github.com)

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!

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!
odanoburu commented 4 years ago (Migrated from github.com)

From what I can tell, it seems like Pollen would be a good choice for this.

I'd say so too!

Can I have target-specific formatting (e.g. format the way a publication entry is displayed differently for web vs. pdf)?

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)

> From what I can tell, it seems like Pollen would be a good choice for this. I'd say so too! > Can I have target-specific formatting (e.g. format the way a publication entry is displayed differently for web vs. pdf)? 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)
ergl commented 4 years ago (Migrated from github.com)

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

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](http://docs.racket-lang.org/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](https://deregil.es/cv/) and [pdf](https://deregil.es/cv/index.pdf)
otherjoel commented 4 years ago (Migrated from github.com)

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 at template.pdf.p. (I also made a template.ltx.p that produces mostly the same LaTeX source but stops short of actually rendering it into a 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`][1] project which produces a book and a web site from the same Pollen source. In particular look at `template.pdf.p`. (I also made a `template.ltx.p` that produces mostly the same LaTeX source but stops short of actually rendering it into a PDF.) [1]: https://github.com/otherjoel/try-pollen
SethPoulsen commented 4 years ago (Migrated from github.com)

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!

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!
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen-users#56
Loading…
There is no content yet.