NAME

Encode::Arabic::ArabTeX::ZDMG - ZDMG phonetic transcription of Arabic using the ArabTeX notation

REVISION

$Revision: 1.6 $        $Date: 2004/02/13 23:26:56 $

SYNOPSIS

use Encode::Arabic::ArabTeX::ZDMG;  # imports just like 'use Encode' would, plus extended options

while ($line = <>) {                # maps the ArabTeX notation for Arabic into the Latin symbols

    print encode 'utf8', decode 'arabtex-zdmg', $line;      # 'arabtex-zdmg' alias 'ArabTeX-ZDMG'
}

# ArabTeX lower ASCII transliteration <--> Latin phonetic transcription, ZDMG style

$string = decode 'ArabTeX-ZDMG', $octets;
$octets = encode 'ArabTeX-ZDMG', $string;

Encode::Arabic::ArabTeX->encoder('dump' => '!./encoder.code');  # dump the encoder engine to file
Encode::Arabic::ArabTeX->decoder('load');   # load the decoder engine from module's extra sources

DESCRIPTION

ArabTeX is an excellent extension to TeX/LaTeX designed for typesetting the right-to-left scripts of the Orient. It comes up with very intuitive and comprehensible lower ASCII transliterations, the expressive power of which is even better than that of the scripts.

Encode::Arabic::ArabTeX::ZDMG implements the rules needed for proper interpretation of the ArabTeX notation of Arabic into the phonetic transcription in the ZDMG style. The conversion ifself is done by Encode::Mapper, and the user interface is built on the Encode::Encoding module.

Relevant guidance is given in Encode::Arabic::ArabTeX, from which this module inherits. The transformation rules are, however, quite different ;)

SEE ALSO

Encode::Arabic::ArabTeX, Encode::Arabic, Encode::Mapper, Encode::Encoding, Encode

ArabTeX system ftp://ftp.informatik.uni-stuttgart.de/pub/arabtex/arabtex.htm

Klaus Lagally http://www.informatik.uni-stuttgart.de/ifi/bs/people/lagall_e.htm

Arabeyes Arabic Unix Project http://www.arabeyes.org/

AUTHOR

Otakar Smrz, http://ckl.mff.cuni.cz/smrz/

eval { 'E<lt>' . 'smrz' . "\x40" . ( join '.', qw 'ckl mff cuni cz' ) . 'E<gt>' }

Perl is also designed to make the easy jobs not that easy ;)

COPYRIGHT AND LICENSE

Copyright 2003, 2004 by Otakar Smrz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.