/Macronconversions

A library for convering LaTeX, ASCII-style representations of macron-bearing characters to other representations

Primary LanguageRubyMIT LicenseMIT

Macronconversions

Who’s This For?

If you work with a language that makes use of vowels that have quantity…

AND

you need to generate those macron-bearing characters based on ASCII standards (because character panel lookup is not awesome)

AND

you work with this language from the CLI

THEN

Wow, there’s someone else besides me?

ahem

THEN Macronconversions may be the library for you!

Macronconversions lets you convert easily between ASCII and funny mulitbyte representations

$ mconv -M  "laud\={a}re" 
laudāre

Coup-de-grâce

$mdconv `mconv -M  "laud\={a}re" `
laud\={a}re

HTML codes instead

$ mconv -H  "laud\={a}re" 
laudāre

Library

Obviously the bin/ files are just thin wrappers around the core library. Consult the RDoc for programmatic use.

Install

gem install macronconversions

Current Status

Stable

Ridiculee-in-chief

Steven G. Harms