From: demerphq Date: Fri, 28 Aug 2009 16:12:41 GMT Subject: Re: Using git to track my PhD thesis, couple of questions Message-ID: <9b18b3110908280912o271dc095o67bc82b31e91680e@mail.gmail.com> In-Reply-To: <20090828133708.GA11146@kisimul> 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. 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 -- perl -Mre=debug -e "/just|another|perl|hacker/"