From: david@lang.hm Date: Fri, 28 Aug 2009 21:44:29 GMT Subject: Re: Using git to track my PhD thesis, couple of questions Message-ID: In-Reply-To: <9b18b3110908280912o271dc095o67bc82b31e91680e@mail.gmail.com> On Fri, 28 Aug 2009, demerphq wrote: > 2009/8/28 seanh : >> On Fri, Aug 28, 2009 at 12:21:42AM +0200, demerphq wrote: >>> As you can generate the PDF's from the latex then just hack gitweb to >>> let them download it from there. >> >> Unfortunately gitweb is written in Perl. But I know what you mean, it >> should in theory be possible for them to click on a 'Get PDF' link for a >> particular revision that causes the PDF to be built and returned to >> their browser. > > What is unfortunate about that? Perl is a duct tape/swiss-army-knife > of the internet. Hacking gitweb to generate PDF's on the fly from > latex documents should be a fairly trivial hack, even if you aren't a > Perl hacker. I have a situation where I need to generae pdf's from files that are under git. I have a git repository on by webserver that I push to and have a trigger that regenerates the pdfs any time there is a push. David Lang > See: > > http://search.cpan.org/~andrewf/LaTeX-Driver-0.08/lib/LaTeX/Driver.pm > > for just one of many Perl modules to interface with with LaTeX. > > Good luck. > > Yves > >