[tei-council] "right" way to locally build customization?

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Sun Dec 8 15:39:46 EST 2013


On 8 Dec 2013, at 14:59, Syd Bauman <s.bauman at neu.edu> wrote:

> I used to use the command at
>     https://svn.code.sf.net/p/tei/code/trunk/Roma/roma2.sh

note that Roma is now at  https://github.com/TEIC/Roma, in line
with the vague policy of keeping all the contributed tools away from the
Guidelines source.

> to generate TEI customizations. Is there a new, better, or more
> correct way to do that in the modern `ant` world? (And mean to 
> build it locally w/o launching oXygen, not by using a web service.)

it doesn’t really make much difference whether you use Roma command line,
OxGarage, or the teitoXXX scripts. They’re all just wrappers around the same
XSLT

personally, I’d use  (for example)

    teitorelaxng foo.odd foo.rng

because it fits the same pattern as all the other teitoXXX commands
(see http://www.tei-c.org/release/doc/tei-xsl/#commandline)

people who are into Ant will enjoy Stylesheets/common/teianttasks.xml which has
macros for the common TEI stylesheet tasks.
--
Sebastian Rahtz
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431



More information about the tei-council mailing list