<?php
|
|
// Project: Web Reference Database (refbase) <http://www.refbase.net>
|
|
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
|
|
// original author(s).
|
|
//
|
|
// This code is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
|
|
// License for more details.
|
|
//
|
|
// File: ./includes/transtab_latin1_latex.inc.php
|
|
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/includes/transtab_latin1_latex.inc.php $
|
|
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
|
|
//
|
|
// Created: 28-May-06, 12:39
|
|
// Modified: $Date: 2008-11-02 18:37:05 +0000 (Sun, 02 Nov 2008) $
|
|
// $Author: msteffens $
|
|
// $Revision: 1290 $
|
|
|
|
// This is a translation table for conversion from ISO-8859-1 to LaTeX entities. It contains a list of substitution strings for 'ISO-8859-1 West European' characters,
|
|
// which can be used with the 'T1' font encoding. Uses commands from the 'textcomp' package.
|
|
// Adopted from 'transtab' by Markus Kuhn
|
|
// (transtab.utf v1.8 2000-10-12 11:01:28+01 mgk25 Exp); see <http://www.cl.cam.ac.uk/~mgk25/unicode.html> for more info about Unicode and transtab.
|
|
|
|
$transtab_latin1_latex = array(
|
|
|
|
// NUMBER SIGN
|
|
"#" => '$\\#$',
|
|
// <U0023> <U0023>
|
|
|
|
// PERCENT SIGN
|
|
"%" => "\\%",
|
|
// <U0025> <U0025>
|
|
|
|
// AMPERSAND
|
|
"&" => "\\&",
|
|
// <U0026> <U0026>
|
|
|
|
// APOSTROPHE
|
|
"'" => "{\\textquoteright}",
|
|
// <U0027> <U2019>
|
|
|
|
// GRAVE ACCENT
|
|
"`" => "{\\textquoteleft}",
|
|
// <U0060> <U201B>;<U2018>
|
|
|
|
// NO-BREAK SPACE
|
|
" " => "~",
|
|
// <U00A0> <U0020>
|
|
|
|
// INVERTED EXCLAMATION MARK
|
|
"¡" => "{\\textexclamdown}",
|
|
// <U00A1> <U0021>
|
|
|
|
// CENT SIGN
|
|
"¢" => "{\\textcent}",
|
|
// <U00A2> <U0063>
|
|
|
|
// POUND SIGN
|
|
"£" => "{\\textsterling}",
|
|
// <U00A3> "<U0047><U0042><U0050>"
|
|
|
|
// YEN SIGN
|
|
"¥" => "{\\textyen}",
|
|
// <U00A5> <U0059>
|
|
|
|
// BROKEN BAR
|
|
"¦" => "{\\textbrokenbar}",
|
|
// <U00A6> <U007C>
|
|
|
|
// SECTION SIGN
|
|
"§" => "{\\textsection}",
|
|
// <U00A7> <U0053>
|
|
|
|
// DIAERESIS
|
|
"¨" => "{\\textasciidieresis}",
|
|
// <U00A8> <U0022>
|
|
|
|
// COPYRIGHT SIGN
|
|
"©" => "{\\textcopyright}",
|
|
// <U00A9> "<U0028><U0063><U0029>";<U0063>
|
|
|
|
// FEMININE ORDINAL INDICATOR
|
|
"ª" => "{\\textordfeminine}",
|
|
// <U00AA> <U0061>
|
|
|
|
// LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
|
|
"«" => "{\\guillemotleft}",
|
|
// <U00AB> "<U003C><U003C>"
|
|
|
|
// NOT SIGN
|
|
"¬" => "{\\textlnot}",
|
|
// <U00AC> <U002D>
|
|
|
|
// SOFT HYPHEN
|
|
"" => "-", // correct?
|
|
// <U00AD> <U002D>
|
|
|
|
// REGISTERED SIGN
|
|
"®" => "{\\textregistered}",
|
|
// <U00AE> "<U0028><U0052><U0029>"
|
|
|
|
// MACRON
|
|
"¯" => "{\\textasciimacron}",
|
|
// <U00AF> <U002D>
|
|
|
|
// DEGREE SIGN
|
|
"°" => "{\\textdegree}",
|
|
// <U00B0> <U0020>
|
|
|
|
// PLUS-MINUS SIGN
|
|
"±" => "{\\textpm}",
|
|
// <U00B1> "<U002B><U002F><U002D>"
|
|
|
|
// SUPERSCRIPT TWO
|
|
"²" => "{\\texttwosuperior}",
|
|
// <U00B2> "<U005E><U0032>";<U0032>
|
|
|
|
// SUPERSCRIPT THREE
|
|
"³" => "{\\textthreesuperior}",
|
|
// <U00B3> "<U005E><U0033>";<U0033>
|
|
|
|
// ACUTE ACCENT
|
|
"´" => "{\\textasciiacute}",
|
|
// <U00B4> <U0027>
|
|
|
|
// MICRO SIGN
|
|
"µ" => "{\\textmu}",
|
|
// <U00B5> <U03BC>;<U0075>
|
|
|
|
// PILCROW SIGN
|
|
"¶" => "{\\textparagraph}",
|
|
// <U00B6> <U0050>
|
|
|
|
// MIDDLE DOT
|
|
"·" => "{\\textperiodcentered}",
|
|
// <U00B7> <U002E>
|
|
|
|
// CEDILLA
|
|
"¸" => "{\\c\\ }",
|
|
// <U00B8> <U002C>
|
|
|
|
// SUPERSCRIPT ONE
|
|
"¹" => "{\\textonesuperior}",
|
|
// <U00B9> "<U005E><U0031>";<U0031>
|
|
|
|
// MASCULINE ORDINAL INDICATOR
|
|
"º" => "{\\textordmasculine}",
|
|
// <U00BA> <U006F>
|
|
|
|
// RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
|
|
"»" => "{\\guillemotright}",
|
|
// <U00BB> "<U003E><U003E>"
|
|
|
|
// VULGAR FRACTION ONE QUARTER
|
|
"¼" => "{\\textonequarter}",
|
|
// <U00BC> "<U0020><U0031><U002F><U0034>"
|
|
|
|
// VULGAR FRACTION ONE HALF
|
|
"½" => "{\\textonehalf}",
|
|
// <U00BD> "<U0020><U0031><U002F><U0032>"
|
|
|
|
// VULGAR FRACTION THREE QUARTERS
|
|
"¾" => "{\\textthreequarters}",
|
|
// <U00BE> "<U0020><U0033><U002F><U0034>"
|
|
|
|
// INVERTED QUESTION MARK
|
|
"¿" => "{\\textquestiondown}",
|
|
// <U00BF> <U003F>
|
|
|
|
// LATIN CAPITAL LETTER A WITH GRAVE
|
|
"À" => "{\\`A}", // \symbol{"C0}
|
|
// <U00C0> <U0041>
|
|
|
|
// LATIN CAPITAL LETTER A WITH ACUTE
|
|
"Á" => "{\\'A}", // \symbol{"C1}
|
|
// <U00C1> <U0041>
|
|
|
|
// LATIN CAPITAL LETTER A WITH CIRCUMFLEX
|
|
"Â" => "{\\^A}", // \symbol{"C2}
|
|
// <U00C2> <U0041>
|
|
|
|
// LATIN CAPITAL LETTER A WITH TILDE
|
|
"Ã" => "{\\~A}", // \symbol{"C3}
|
|
// <U00C3> <U0041>
|
|
|
|
// LATIN CAPITAL LETTER A WITH DIAERESIS
|
|
"Ä" => "{\\\"A}", // \symbol{"C4}
|
|
// <U00C4> "<U0041><U0065>";<U0041>
|
|
|
|
// LATIN CAPITAL LETTER A WITH RING ABOVE
|
|
"Å" => "{\\r A}", // "\\AA" // \symbol{"C5}
|
|
// <U00C5> "<U0041><U0061>";<U0041>
|
|
|
|
// LATIN CAPITAL LETTER AE
|
|
"Æ" => "{\\AE}", // \symbol{"C6}
|
|
// <U00C6> "<U0041><U0045>";<U0041>
|
|
|
|
// LATIN CAPITAL LETTER C WITH CEDILLA
|
|
"Ç" => "{\\c C}", // \symbol{"C7}
|
|
// <U00C7> <U0043>
|
|
|
|
// LATIN CAPITAL LETTER E WITH GRAVE
|
|
"È" => "{\\`E}", // \symbol{"C8}
|
|
// <U00C8> <U0045>
|
|
|
|
// LATIN CAPITAL LETTER E WITH ACUTE
|
|
"É" => "{\\'E}", // \symbol{"C9}
|
|
// <U00C9> <U0045>
|
|
|
|
// LATIN CAPITAL LETTER E WITH CIRCUMFLEX
|
|
"Ê" => "{\\^E}", // \symbol{"CA}
|
|
// <U00CA> <U0045>
|
|
|
|
// LATIN CAPITAL LETTER E WITH DIAERESIS
|
|
"Ë" => "{\\\"E}", // \symbol{"CB}
|
|
// <U00CB> <U0045>
|
|
|
|
// LATIN CAPITAL LETTER I WITH GRAVE
|
|
"Ì" => "{\\`I}", // \symbol{"CC}
|
|
// <U00CC> <U0049>
|
|
|
|
// LATIN CAPITAL LETTER I WITH ACUTE
|
|
"Í" => "{\\'I}", // \symbol{"CD}
|
|
// <U00CD> <U0049>
|
|
|
|
// LATIN CAPITAL LETTER I WITH CIRCUMFLEX
|
|
"Î" => "{\\^I}", // \symbol{"CE}
|
|
// <U00CE> <U0049>
|
|
|
|
// LATIN CAPITAL LETTER I WITH DIAERESIS
|
|
"Ï" => "{\\\"I}", // \symbol{"CF}
|
|
// <U00CF> <U0049>
|
|
|
|
// LATIN CAPITAL LETTER ETH
|
|
"Ð" => "{\\DH}", // \symbol{"D0}
|
|
// <U00D0> <U0044>
|
|
|
|
// LATIN CAPITAL LETTER N WITH TILDE
|
|
"Ñ" => "{\\~N}", // \symbol{"D1}
|
|
// <U00D1> <U004E>
|
|
|
|
// LATIN CAPITAL LETTER O WITH GRAVE
|
|
"Ò" => "{\\`O}", // \symbol{"D2}
|
|
// <U00D2> <U004F>
|
|
|
|
// LATIN CAPITAL LETTER O WITH ACUTE
|
|
"Ó" => "{\\'O}", // \symbol{"D3}
|
|
// <U00D3> <U004F>
|
|
|
|
// LATIN CAPITAL LETTER O WITH CIRCUMFLEX
|
|
"Ô" => "{\\^O}", // \symbol{"D4}
|
|
// <U00D4> <U004F>
|
|
|
|
// LATIN CAPITAL LETTER O WITH TILDE
|
|
"Õ" => "{\\~O}", // \symbol{"D5}
|
|
// <U00D5> <U004F>
|
|
|
|
// LATIN CAPITAL LETTER O WITH DIAERESIS
|
|
"Ö" => "{\\\"O}", // \symbol{"D6}
|
|
// <U00D6> "<U004F><U0065>";<U004F>
|
|
|
|
// MULTIPLICATION SIGN
|
|
"×" => "{\\texttimes}", // \symbol{"D7}
|
|
// <U00D7> <U0078>
|
|
|
|
// LATIN CAPITAL LETTER O WITH STROKE
|
|
"Ø" => "{\\O}", // \symbol{"D8}
|
|
// <U00D8> <U004F>
|
|
|
|
// LATIN CAPITAL LETTER U WITH GRAVE
|
|
"Ù" => "{\\`U}", // \symbol{"D9}
|
|
// <U00D9> <U0055>
|
|
|
|
// LATIN CAPITAL LETTER U WITH ACUTE
|
|
"Ú" => "{\\'U}", // \symbol{"DA}
|
|
// <U00DA> <U0055>
|
|
|
|
// LATIN CAPITAL LETTER U WITH CIRCUMFLEX
|
|
"Û" => "{\\^U}", // \symbol{"DB}
|
|
// <U00DB> <U0055>
|
|
|
|
// LATIN CAPITAL LETTER U WITH DIAERESIS
|
|
"Ü" => "{\\\"U}", // \symbol{"DC}
|
|
// <U00DC> "<U0055><U0065>";<U0055>
|
|
|
|
// LATIN CAPITAL LETTER Y WITH ACUTE
|
|
"Ý" => "{\\'Y}", // \symbol{"DD}
|
|
// <U00DD> <U0059>
|
|
|
|
// LATIN CAPITAL LETTER THORN
|
|
"Þ" => "{\\TH}", // \symbol{"DE}
|
|
// <U00DE> "<U0054><U0068>"
|
|
|
|
// LATIN SMALL LETTER SHARP S
|
|
"ß" => "{\\ss}", // \symbol{"DF}
|
|
// <U00DF> "<U0073><U0073>";<U03B2>
|
|
|
|
// LATIN SMALL LETTER A WITH GRAVE
|
|
"à" => "{\\`a}", // \symbol{"E0}
|
|
// <U00E0> <U0061>
|
|
|
|
// LATIN SMALL LETTER A WITH ACUTE
|
|
"á" => "{\\'a}", // \symbol{"E1}
|
|
// <U00E1> <U0061>
|
|
|
|
// LATIN SMALL LETTER A WITH CIRCUMFLEX
|
|
"â" => "{\\^a}", // \symbol{"E2}
|
|
// <U00E2> <U0061>
|
|
|
|
// LATIN SMALL LETTER A WITH TILDE
|
|
"ã" => "{\\~a}", // \symbol{"E3}
|
|
// <U00E3> <U0061>
|
|
|
|
// LATIN SMALL LETTER A WITH DIAERESIS
|
|
"ä" => "{\\\"a}", // \symbol{"E4}
|
|
// <U00E4> "<U0061><U0065>";<U0061>
|
|
|
|
// LATIN SMALL LETTER A WITH RING ABOVE
|
|
"å" => "{\\r a}", // "\\aa" // \symbol{"E5}
|
|
// <U00E5> "<U0061><U0061>";<U0061>
|
|
|
|
// LATIN SMALL LETTER AE
|
|
"æ" => "{\\ae}", // \symbol{"E6}
|
|
// <U00E6> "<U0061><U0065>";<U0061>
|
|
|
|
// LATIN SMALL LETTER C WITH CEDILLA
|
|
"ç" => "{\\c c}", // \symbol{"E7}
|
|
// <U00E7> <U0063>
|
|
|
|
// LATIN SMALL LETTER E WITH GRAVE
|
|
"è" => "{\\`e}", // \symbol{"E8}
|
|
// <U00E8> <U0065>
|
|
|
|
// LATIN SMALL LETTER E WITH ACUTE
|
|
"é" => "{\\'e}", // \symbol{"E9}
|
|
// <U00E9> <U0065>
|
|
|
|
// LATIN SMALL LETTER E WITH CIRCUMFLEX
|
|
"ê" => "{\\^e}", // \symbol{"EA}
|
|
// <U00EA> <U0065>
|
|
|
|
// LATIN SMALL LETTER E WITH DIAERESIS
|
|
"ë" => "{\\\"e}", // \symbol{"EB}
|
|
// <U00EB> <U0065>
|
|
|
|
// LATIN SMALL LETTER I WITH GRAVE
|
|
"ì" => "{\\`\\i}", // \symbol{"EC}
|
|
// <U00EC> <U0069>
|
|
|
|
// LATIN SMALL LETTER I WITH ACUTE
|
|
"í" => "{\\'\\i}", // \symbol{"ED}
|
|
// <U00ED> <U0069>
|
|
|
|
// LATIN SMALL LETTER I WITH CIRCUMFLEX
|
|
"î" => "{\\^\\i}", // \symbol{"EE}
|
|
// <U00EE> <U0069>
|
|
|
|
// LATIN SMALL LETTER I WITH DIAERESIS
|
|
"ï" => "{\\\"\\i}", // \symbol{"EF}
|
|
// <U00EF> <U0069>
|
|
|
|
// LATIN SMALL LETTER ETH
|
|
"ð" => "{\\dh}", // \symbol{"F0}
|
|
// <U00F0> <U0064>
|
|
|
|
// LATIN SMALL LETTER N WITH TILDE
|
|
"ñ" => "{\\~n}", // \symbol{"F1}
|
|
// <U00F1> <U006E>
|
|
|
|
// LATIN SMALL LETTER O WITH GRAVE
|
|
"ò" => "{\\`o}", // \symbol{"F2}
|
|
// <U00F2> <U006F>
|
|
|
|
// LATIN SMALL LETTER O WITH ACUTE
|
|
"ó" => "{\\'o}", // \symbol{"F3}
|
|
// <U00F3> <U006F>
|
|
|
|
// LATIN SMALL LETTER O WITH CIRCUMFLEX
|
|
"ô" => "{\\^o}", // \symbol{"F4}
|
|
// <U00F4> <U006F>
|
|
|
|
// LATIN SMALL LETTER O WITH TILDE
|
|
"õ" => "{\\~o}", // \symbol{"F5}
|
|
// <U00F5> <U006F>
|
|
|
|
// LATIN SMALL LETTER O WITH DIAERESIS
|
|
"ö" => "{\\\"o}", // \symbol{"F6}
|
|
// <U00F6> "<U006F><U0065>";<U006F>
|
|
|
|
// DIVISION SIGN
|
|
"÷" => "{\\textdiv}", // \symbol{"F7}
|
|
// <U00F7> <U003A>
|
|
|
|
// LATIN SMALL LETTER O WITH STROKE
|
|
"ø" => "{\\o}", // \symbol{"F8}
|
|
// <U00F8> <U006F>
|
|
|
|
// LATIN SMALL LETTER U WITH GRAVE
|
|
"ù" => "{\\`u}", // \symbol{"F9}
|
|
// <U00F9> <U0075>
|
|
|
|
// LATIN SMALL LETTER U WITH ACUTE
|
|
"ú" => "{\\'u}", // \symbol{"FA}
|
|
// <U00FA> <U0075>
|
|
|
|
// LATIN SMALL LETTER U WITH CIRCUMFLEX
|
|
"û" => "{\\^u}", // \symbol{"FB}
|
|
// <U00FB> <U0075>
|
|
|
|
// LATIN SMALL LETTER U WITH DIAERESIS
|
|
"ü" => "{\\\"u}", // \symbol{"FC}
|
|
// <U00FC> "<U0075><U0065>";<U0075>
|
|
|
|
// LATIN SMALL LETTER Y WITH ACUTE
|
|
"ý" => "{\\'y}", // \symbol{"FD}
|
|
// <U00FD> <U0079>
|
|
|
|
// LATIN SMALL LETTER THORN
|
|
"þ" => "{\\th}", // \symbol{"FE}
|
|
// <U00FE> "<U0074><U0068>"
|
|
|
|
// LATIN SMALL LETTER Y WITH DIAERESIS
|
|
"ÿ" => "{\\\"y}" // \symbol{"FF}
|
|
// <U00FF> <U0079>
|
|
|
|
);
|
|
|
|
?>
|