GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BIBER::LATEX::RECODE (3)

.ds Aq ’

NAME

Biber::LaTeX::Recode - Encode/Decode chars to/from UTF-8/lacros in LaTeX

CONTENTS

SYNOPSIS



    use Biber::LaTeX:Recode

    my $string       = MuXammad ibn MXsX al-KhwXrizmX;
    my $latex_string = latex_encode($string);
        # => Mu\d{h}ammad ibn M\=us\=a al-Khw\=arizm\={\i}

    my $string = Mu\d{h}ammad ibn M\=us\=a al-Khw\=arizm\={\i};
    my $utf8_string   = latex_decode($string);
        # => MuXammad ibn MXsX al-KhwXrizmX



DESCRIPTION

Allows conversion between Unicode chars and LaTeX macros.

GLOBAL OPTIONS

Possible values for the encoding/decoding set to use are ’null’, ’base’ and ’full’; default value is ’base’.

null => No conversion

base => Most common macros and diacritics (sufficient for Western languages
and common symbols)

full => Also converts punctuation, larger range of diacritics and macros
(e.g. for IPA, Latin Extended Additional, etc.), symbols, Greek letters,
dingbats, negated symbols, and superscript characters and symbols ...

    init_sets(<decode set>, <encode_set>)



  Initialise recoding sets. We cant do this on loading the module as we dont have the config
  information to do this yet



latex_decode($text, CW@options)

Converts LaTeX macros in the $text to Unicode characters.

The function accepts a number of options:



    * normalize => $bool (default 1)
        whether the output string should be normalized with Unicode::Normalize

    * normalization => <normalization form> (default NFD)
        and if yes, the normalization form to use (see the Unicode::Normalize documentation)



latex_encode($text, CW@options)

Converts UTF-8 to LaTeX

AUTHOR

Franc\k:,ois Charette, <firmicus at ankabut.net> Philip Kime <philip at kime.org.uk>

BUGS

Please report any bugs or feature requests on our Github tracker at <https://github.com/plk/biber/issues>.

COPYRIGHT & LICENSE

Copyright 2009-2015 Franc\k:,ois Charette and Philip Kime, all rights reserved.

This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 BIBER::LATEX::RECODE (3) 2016-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.