Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120683148
Pyblio.Parsers.Syntax.BibTeX.Coding-module.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 6, 06:52
Size
11 KB
Mime Type
text/xml
Expires
Tue, Jul 8, 06:52 (2 d)
Engine
blob
Format
Raw Data
Handle
27202863
Attached To
R3596 pybliographer
Pyblio.Parsers.Syntax.BibTeX.Coding-module.html
View Options
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Pyblio.Parsers.Syntax.BibTeX.Coding</title>
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
<tr valign="center">
<th class="navbar"> <a class="navbar" href="Pyblio-module.html">Home</a> </th>
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center">
<p class="nomargin">
pybliographer 1.3.3
</p></th></tr></table>
</th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<font size="-1"><b class="breadcrumbs">
<a href="Pyblio-module.html">Package Pyblio</a> ::
<a href="Pyblio.Parsers-module.html">Package Parsers</a> ::
<a href="Pyblio.Parsers.Syntax-module.html">Package Syntax</a> ::
<a href="Pyblio.Parsers.Syntax.BibTeX-module.html">Package BibTeX</a> ::
Module Coding
</b></font></br>
</td>
<td><table cellpadding="0" cellspacing="0">
<tr><td align="right"><font size="-2">[show private | <a href="../public/Pyblio.Parsers.Syntax.BibTeX.Coding-module.html">hide private</a>]</font></td></tr>
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="Pyblio.Parsers.Syntax.BibTeX.Coding-module.html" target="_top">no frames</a>]</font></td></tr>
</table></td>
</tr></table>
<!-- =========== START OF MODULE DESCRIPTION =========== -->
<h2 class="module">Module Pyblio.Parsers.Syntax.BibTeX.Coding</h2>
<p>Handles coding and decoding of LaTeX-escaped characters.</p>
Coding and decoding tries to be as reversible as possible (though
certain encodings are ambiguous).
<hr/>
<!-- =========== START OF FUNCTION SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Function Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><span class="summary-sig"><a href="Pyblio.Parsers.Syntax.BibTeX.Coding-module.html#encode" class="summary-sig-name"><code>encode</code></a>(<span class=summary-sig-arg>text</span>)</span></code>
<br />
encode a unicode string into a valid BibTeX string</td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><a name="_encodeone"></a><span class="summary-sig"><span class="summary-sig-name">_encodeone</span>(<span class=summary-sig-arg>char</span>)</span></code>
</td></tr>
</table><br />
<!-- =========== START OF VARIABLE SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Variable Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>dict</code></font></td>
<td><b><a href="Pyblio.Parsers.Syntax.BibTeX.Coding-module.html#basemap"><code>basemap</code></a></b> = <span title="{'`': {'A': u'\xc0', 'a': u'\xe0', 'E': u'\xc8', 'I': u'\xcc', 'O': u'\xd2', 'i': u'\xec', 'U': u'\xd9', 'o': u'\xf2', 'e': u'\xe8', 'u': u'\xf9'}, 'c': {'C': u'\xc7', 'c': u'\xe7'}, '"': {'A': u'\xc4', 'a': u'\xe4', 'E': u'\xcb', 'I': u'\xcf', 'O': u'\xd6', 'i': u'\xef', 'U': u'\xdc', 'o': u'\xf6', 'y': u'\xff', 'e': u'\xeb', 'u': u'\xfc'}, "'": {'A': u'\xc1', 'a': u'\xe1', 'C': u'\u0106', 'z': u'\u017a', 'E': u'\xc9', 'y': u'\xfd', 'I': u'\xcd', 'c': u'\u0107', 'O': u'\xd3', 'N': u'\u0143', 'i': u'\xed', 'n': u'\u0144', 'U': u'\xda', 'o': u'\xf3', 'Y': u'\xdd', 'e': u'\xe9', 'Z': u'\u0179..."><code>{'`': {'A': u'\xc0', 'a': u'\xe0', 'E': u'\xc8<span class="variable-ellipsis">...</span></code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>dict</code></font></td>
<td><b><a href="Pyblio.Parsers.Syntax.BibTeX.Coding-module.html#staticmap"><code>staticmap</code></a></b> = <span title="{'aa': (u'\xe5', 0), 'AA': (u'\xc5', 0), 'AE': (u'\xc6', 0), 'copyright': (u'\xa9', 0), 'ss': (u'\xdf', 0), 'oe': (u'\u0153', 0), 'o': (u'\xf8', 0), 'O': (u'\xd8', 0), 'ae': (u'\xe6', 0), 'OE': (u'\u0152', 0)}"><code>{'aa': (u'\xe5', 0), 'AA': (u'\xc5', 0), 'AE<span class="variable-ellipsis">...</span></code>
</span></td></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>dict</code></font></td>
<td><b><a href="../private/Pyblio.Parsers.Syntax.BibTeX.Coding-module.html#_reversemap"><code>_reversemap</code></a></b> = <span title="{u'\u0107': "\\'c", u'\u0106': "\\'C", u'\u010b': '\\.c', u'\u010a': '\\.C', u'\xc3': '\\~A', u'\u0153': '\\oe{}', u'\u0152': '\\OE{}', u'\xfb': '\\^u', u'\u0116': '\\.e', u'\xee': '\\^{\\i}', u'\u0144': "\\'n", u'\u0121': '\\.g', u'\u0120': '\\.G', u'\xa9': '\\copyright{}', u'\u0130': '\\.I', u'\xe2': '\\^a', u'\xc1': "\\'A", u'\xc0': '\\`A', u'\u0143': "\\'N", u'\xc2': '\\^A', u'\xc5': '\\AA{}', u'\xc4': '\\"A', u'\xc7': '\\cC', u'\xc6': '\\AE{}', u'\xc9': "\\'E", u'\xc8': '\\`E', u'\xcb': '\\"E', u'\xca': '\\^E', u'\xcd': "\\'I", u'\xcc': '\\`I', u'\xcf': '\\"I', u'\xce': '\\^I', u'\xd1'..."><code>{u'\u0107': "\\'c", u'\u0106': "\\'C", u'\<span class="variable-ellipsis">...</span></code>
</span></td></tr>
</table><br />
<!-- =========== START OF FUNCTION DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
<th colspan="2">Function Details</th></tr>
</table>
<a name="encode"></a>
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
<h3><span class="sig"><span class="sig-name">encode</span>(<span class=sig-arg>text</span>)</span>
</h3>
encode a unicode string into a valid BibTeX string
<dl><dt></dt><dd>
</dd></dl>
</td></tr></table>
<br />
<!-- =========== START OF VARIABLE DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
<th colspan="2">Variable Details</th></tr>
</table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="basemap"></a>
<h3>basemap</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>dict</code>
</dd>
<span title="{'`': {'A': u'\xc0', 'a': u'\xe0', 'E': u'\xc8', 'I': u'\xcc', 'O': u'\xd2', 'i': u'\xec', 'U': u'\xd9', 'o': u'\xf2', 'e': u'\xe8', 'u': u'\xf9'}, 'c': {'C': u'\xc7', 'c': u'\xe7'}, '"': {'A': u'\xc4', 'a': u'\xe4', 'E': u'\xcb', 'I': u'\xcf', 'O': u'\xd6', 'i': u'\xef', 'U': u'\xdc', 'o': u'\xf6', 'y': u'\xff', 'e': u'\xeb', 'u': u'\xfc'}, "'": {'A': u'\xc1', 'a': u'\xe1', 'C': u'\u0106', 'z': u'\u017a', 'E': u'\xc9', 'y': u'\xfd', 'I': u'\xcd', 'c': u'\u0107', 'O': u'\xd3', 'N': u'\u0143', 'i': u'\xed', 'n': u'\u0144', 'U': u'\xda', 'o': u'\xf3', 'Y': u'\xdd', 'e': u'\xe9', 'Z': u'\u0179..."> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
{'"': {'A': u'\xc4',
'E': u'\xcb',
'I': u'\xcf',
'O': u'\xd6',
'U': u'\xdc',
'a': u'\xe4',
'e': u'\xeb',
'i': u'\xef',
<span class="variable-ellipsis">...</span> </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="staticmap"></a>
<h3>staticmap</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>dict</code>
</dd>
<span title="{'aa': (u'\xe5', 0), 'AA': (u'\xc5', 0), 'AE': (u'\xc6', 0), 'copyright': (u'\xa9', 0), 'ss': (u'\xdf', 0), 'oe': (u'\u0153', 0), 'o': (u'\xf8', 0), 'O': (u'\xd8', 0), 'ae': (u'\xe6', 0), 'OE': (u'\u0152', 0)}"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
{'AA': (u'\xc5', 0),
'AE': (u'\xc6', 0),
'O': (u'\xd8', 0),
'OE': (u'\u0152', 0),
'aa': (u'\xe5', 0),
'ae': (u'\xe6', 0),
'copyright': (u'\xa9', 0),
'o': (u'\xf8', 0),
<span class="variable-ellipsis">...</span> </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="_reversemap"></a>
<h3>_reversemap</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>dict</code>
</dd>
<span title="{u'\u0107': "\\'c", u'\u0106': "\\'C", u'\u010b': '\\.c', u'\u010a': '\\.C', u'\xc3': '\\~A', u'\u0153': '\\oe{}', u'\u0152': '\\OE{}', u'\xfb': '\\^u', u'\u0116': '\\.e', u'\xee': '\\^{\\i}', u'\u0144': "\\'n", u'\u0121': '\\.g', u'\u0120': '\\.G', u'\xa9': '\\copyright{}', u'\u0130': '\\.I', u'\xe2': '\\^a', u'\xc1': "\\'A", u'\xc0': '\\`A', u'\u0143': "\\'N", u'\xc2': '\\^A', u'\xc5': '\\AA{}', u'\xc4': '\\"A', u'\xc7': '\\cC', u'\xc6': '\\AE{}', u'\xc9': "\\'E", u'\xc8': '\\`E', u'\xcb': '\\"E', u'\xca': '\\^E', u'\xcd': "\\'I", u'\xcc': '\\`I', u'\xcf': '\\"I', u'\xce': '\\^I', u'\xd1'..."> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
{u'\xc3': '\\~A',
u'\xfb': '\\^u',
u'\u0106': "\\'C",
u'\u0107': "\\'c",
u'\u010a': '\\.C',
u'\u010b': '\\.c',
u'\u0116': '\\.e',
u'\u0152': '\\OE{}',
<span class="variable-ellipsis">...</span> </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<br />
<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
<tr valign="center">
<th class="navbar"> <a class="navbar" href="Pyblio-module.html">Home</a> </th>
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center">
<p class="nomargin">
pybliographer 1.3.3
</p></th></tr></table>
</th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left"><font size="-2">Generated by Epydoc 2.1 on Sun Sep 24 23:52:43 2006</font></td>
<td align="right"><a href="http://epydoc.sourceforge.net"
><font size="-2">http://epydoc.sf.net</font></a></td>
</tr>
</table>
</body>
</html>
Event Timeline
Log In to Comment