Otakar Smrž > Encode-Arabic-1.8 > Encode::Arabic::ArabTeX::Verbatim

Download:
Encode-Arabic-1.8.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 7.17   Source  

NAME ^

Encode::Arabic::ArabTeX::Verbatim - Interpreter of the Verbatim variant of the ArabTeX notation

REVISION ^

    $Revision: 717 $        $Date: 2008-10-03 00:28:12 +0200 (Fri, 03 Oct 2008) $

SYNOPSIS ^

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

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

        print encode 'utf8', decode 'arabtex-verb', $line;      # 'ArabTeX-Verbatim' alias 'ArabTeX-Verb'
    }

    # ArabTeX language-dependent transliteration <--> ArabTeX verbatim transliteration

    $string = decode 'ArabTeX-Verbatim', $octets;
    $octets = encode 'ArabTeX-Verbatim', $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::Verbatim implements the rules needed for proper interpretation of the ArabTeX verbatim notation, which is discussed in the ArabTeX User Manual. 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 ;)

This work is presented in its development version!

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

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 2005-2008 by Otakar Smrz

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

syntax highlighting: