Encode...erbatim(3pm)
π Encode::Arabic::ArabTeX::Verbatim
okay bestie, buckle up, because this page is literally the interpreter of the Verbatim variant of the ArabTeX notation β that's the whole vibe, that's the name, we move π
β¨ SYNOPSIS β¨
real talk, the usage is giving main character energy:
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;
so basically: use it like you'd use Encode (but with extra extended options, slay), loop over your lines, and decode / encode your little heart out π
πΈ DESCRIPTION πΈ
okay so first things first: ArabTeX is an excellent extension to TeX/LaTeX, built specifically for typesetting the right-to-left scripts of the Orient π§ it comes with these super intuitive and comprehensible lower ASCII transliterations, and the way that its expressive power is even better than that of the scripts themselves?? iconic. no cap.
Encode::Arabic::ArabTeX::Verbatim implements the rules you need for a proper interpretation of the ArabTeX verbatim notation, which gets discussed in the ArabTeX User Manual π the actual conversion is done by Encode::Mapper, and the user interface is built on top of the Encode::Encoding module. teamwork, fr fr π
relevant guidance lives in Encode::Arabic::ArabTeX, and yes, this module inherits from it π«Ά but heads up: the transformation rules are, however, quite different ;) β not me warning you in advance, but consider yourself warned π
also this work is presented in its development version! so like, she's still growing, be gentle π±
π SEE ALSO π
Encode::Arabic::ArabTeXEncode::ArabicEncode::MapperEncode::EncodingEncode
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 "<otakar-smrz users.sf.net>", <http://otakar-smrz.users.sf.net/>
π COPYRIGHT AND LICENSE π
Copyright (C) 2005-2008 Otakar Smrz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
and that's the whole page, bestie π« perl v5.36.0, dated 2022-10-16 β yeah she's got a timestamp, she's that girl, periodt πβ
π¦ where this page comes from
- ubuntu noble: libencode-arabic-perl 14.2-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libencode-arabic-perl 14.2-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libencode-arabic-perl 14.2-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms