Re: Using git to track my PhD thesis, couple of questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 28 Aug 2009, demerphq wrote:

2009/8/28 seanh <seanh.nospam@xxxxxxxxx>:
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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]