[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Storing unversioned files in a repository.

From: <mbk_at_boredom.org>
Date: 2003-03-31 19:32:48 CEST

On Mon, Mar 31, 2003 at 02:25:25PM +1200, Tom Eastman wrote:
> On Mon, 31 Mar 2003 14:20, Branko ??ibej wrote:
> > >I have a repository with many .tex files which are used to generate
> > > .pdf's. What I would like is to be able to keep the latest, and only the
> > > latest, version of the pdf in the repository so that it can be accessed
> > > easily. If someone wants an older version of the file, they can checkout
> > > the appropriate .tex source files and compile them directly.
> > >
> > >Is this possible?
> >
> > No.
> >
> > Why would you want to stored generated files in the repository, anyway?
> > You can put them on a shared filesystem somewhere.
>
> That was my fallback option. I wanted the pdf's in the repository so that
> they can be accessed directly off the apache server (via a browser) by
> someone who neither wanted to deal with the .tex files or use subversion to
> access them.
>

You could add a commit hook that generated the PDFs into a public
directory. You could even force the TeX to be syntactically correct,
since you could look at the exit code of the typesetting processes.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 31 19:35:05 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.