Scroll to navigation

Encode::Arabic::ArabTeX::ZDMG(3pm) User Contributed Perl Documentation Encode::Arabic::ArabTeX::ZDMG(3pm)

NAME

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

REVISION

    $Revision: 808 $        $Date: 2009-02-10 00:19:07 +0100 (Tue, 10 Feb 2009) $

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 'zdmg', $line;        # 'ZDMG' alias 'ArabTeX-ZDMG'
    }
    # ArabTeX lower ASCII transliteration <--> Latin phonetic transcription, ZDMG style
    $string = decode 'ArabTeX-ZDMG', $octets;
    $octets = encode 'ArabTeX-ZDMG', $string;

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>
ArabTeX extensions <http://sourceforge.net/projects/encode-arabic/>
ArabXeTeX <http://tug.ctan.org/info/?id=arabxetex>
Encode Arabic: Exercise in Functional Parsing
<http://ufal.mff.cuni.cz/padt/online/2006/06/encode-arabic.html>

AUTHOR

Otakar Smrz, <http://ufal.mff.cuni.cz/~smrz/>
    eval { 'E<lt>' . ( join '.', qw 'otakar smrz' ) . "\x40" . ( join '.', qw 'mff cuni cz' ) . 'E<gt>' }
Perl is also designed to make the easy jobs not that easy ;)

COPYRIGHT AND LICENSE

Copyright 2003-2009 by Otakar Smrz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2010-01-18 perl v5.10.1