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  -  LATEX::TOUNICODE (3)

.ds Aq ’

NAME

LaTeX::ToUnicode - Convert LaTeX commands to Unicode

CONTENTS

VERSION

version 0.03

SYNOPSIS



  use LaTeX::ToUnicode qw( convert );

  convert( {\"a}           ) eq ae;  # true
  convert( "a, german => 1 ) eq ae;  # true, `german package syntax
  convert( "a,             ) eq "a; # not enabled by default



DESCRIPTION

This module provides a method to convert LaTeX-style markups for accents etc. into their Unicode equivalents. It translates commands for special characters or accents into their Unicode equivalents and removes formatting commands.

I use this module to convert values from BibTeX files into plain text, if your use case is different, YMMV.

In contrast to TeX::Encode, this module does not create HTML of any kind.

FUNCTIONS

convert( CW$string, CW%options )

Convert the text in $string that contains LaTeX into a plain(er) Unicode string. All escape sequences for special characters (e.g. \i, \"a, ...) are converted, formatting commands (e.g. {\it ...}) are removed.

%options allows you to enable additional translations. This values are recognized:
german If true, the commands introduced by the package ‘german’ (e.g. "a eq ae, note the missing backslash) are also handled.

AUTHOR

Gerhard Gossen <gerhard.gossen@googlemail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Gerhard Gossen.

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

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


perl v5.20.3 LATEX::TOUNICODE (3) 2010-10-18

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