Scroll to navigation

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


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


    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;


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 ;)


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

ArabTeX system <>

Klaus Lagally <>

ArabTeX extensions <>

ArabXeTeX <>

Encode Arabic: Exercise in Functional Parsing


Otakar Smrz "<otakar-smrz>", <>


Copyright (C) 2003-2010 Otakar Smrz

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

2020-11-10 perl v5.30.3