You can get LaTeX in Subversion directories on this site
to be converted into PDFs on each commit. You will be able to
see the files as
unversioned when browsing, and they
will have the same access restrictions as regular files.
Define a property called lancs.ac.uk:forge-latex on the directory containing your LaTeX source. From your working directory:
svn propedit lancs.ac.uk:forge-latex .
It should contain settings such as these:
texsrc=src/latex figsrc=src/latex figpfx=figs/ texroot+=ccr-figlets bibtex+=ccr-figlets
List root LaTeX files with texroot. pdflatex will be invoked with each one, adding a suffix .tex, and the result will have the same stem plus .pdf.
To enable bibtex to be invoked on a root, list it in the setting bibtex. Similarly, list roots to invoke makeindex on in the setting makeindex. Files not listed in texroot are ignored.
texsrc specifies the root of a directory hierarchy containing all your LaTeX files (including the roots), and is relative to the directory with the property lancs.ac.uk:forge-latex. All files in this hierarchy ending in .tex and .bib will be available for use with \input and \bibliography. If you also need other files, e.g., listings, add their extensions to the setting srcsfx.
All files with suffixes .jpg, .png, .pdf, .eps, .odg and .svg in the hierarchy specified by figsrc are available as figures. SVGs, ODGs and EPSes are converted into PDFs automatically. In the example above, a file called (say) src/latex/results.odg will be converted to PDF, and be available from within the LaTeX source as figs/results.pdf.
The defaults are:
texsrc=. figsrc=. figpfx= srcsfx=(.tex .bib)
Finally, enable the hook
Build Latex documents on
the directory with the property
lancs.ac.uk:forge-latex, or any parent