[sword-devel] usfm2osis.pl

Greg Hellings greg.hellings at gmail.com
Mon Jul 9 05:35:02 MST 2012


I'm doing this currently with a simple sed script (-e
's/<</«/g;s/>>/»/g;s/</‹/g;s/>/›/g') which encodes single or double
angle brackets as the appropriate single or double chevrons. I was
just pointing out that some text we come across might wish to use
angle brackets as such within the text and usfm2osis.pl ought to
encode these as proper XML entities. It sounds like Chris disagrees
because using angle brackets is often a stand-in for a different


On Mon, Jul 9, 2012 at 4:45 AM, David Haslam <dfhmch at googlemail.com> wrote:
> Hi Greg,
> One could just run a search and replace script or macro to convert the
> double angles in a copy of the SFM files to proper Unicode characters: « and
> ».
> I've done that myself on several translations in the past.
> I'd normally use a TextPipe filter to batch process the whole set of .SFM
> files.
> David
> --
> View this message in context: http://sword-dev.350566.n4.nabble.com/usfm2osis-pl-tp4650500p4650502.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list