[Tshwanelex-l] Adding new formatting markup characters

maxwell maxwell at umiacs.umd.edu
Wed Jan 2 10:48:09 EST 2013

On 2013-01-02 10:40, David Joffe wrote:
> Have you considered using inline markup, e.g.:
> abc <p>def</p> ghi
> Then the 'p' tag could be set to use the IPA font...
>  - David
> On 31 Dec 2012 at 13:55, James Crippen wrote:
>> Is there a way to add new formatting markup characters to TLex? I 
>> have
>> added a %p to my database which I use to indicate text that should 
>> be
>> in an IPA-capable font in the middle of otherwise ordinary text 
>> (e.g.
>> notes for local English pronunciations). I have this working in my
>> backend stuff that generates PDFs through LaTeX, but it’s a bit of 
>> a
>> visual distraction in TLex still. I’d like to have some code, 
>> perhaps
>> a LUA script or something, that could process the text between %p
>> pairs and display it in a different font.

I somehow missed the original posting on this, but: why not use 
Unicode, XeLaTeX, and a font that handles both standard ASCII/Latin 
script and IPA?  Like SIL Charis.  Then there'd be no need for this 
inline markup.

    Mike Maxwell
    CASL/ University of Maryland

More information about the Tshwanelex-l mailing list