diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-09-30 19:10:04 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-09-30 19:10:04 +0000 |
| commit | 7e2e33a184d814ab6d6a41bebebc3887a67db489 (patch) | |
| tree | 104383f22a364a65e7b86a2913166224e71db8a4 | |
| parent | 2028276d0aadb70eb02815491683cb3926b11320 (diff) | |
| download | docutils-7e2e33a184d814ab6d6a41bebebc3887a67db489.tar.gz | |
Better Unicode support: encode SOFT HYPHEN as "\\\\-"
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6147 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
| -rw-r--r-- | docutils/writers/latex2e/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docutils/writers/latex2e/__init__.py b/docutils/writers/latex2e/__init__.py index 3930581b6..87a48af59 100644 --- a/docutils/writers/latex2e/__init__.py +++ b/docutils/writers/latex2e/__init__.py @@ -1141,6 +1141,7 @@ class LaTeXTranslator(nodes.NodeVisitor): # Unicode chars that are not recognized by LaTeX's utf8 encoding unsupported_unicode_chars = { 0x00A0: ur'~', # NO-BREAK SPACE + 0x00AD: ur'\-', # SOFT HYPHEN 0x21d4: ur'$\Leftrightarrow$', # Docutils footnote symbols: 0x2660: ur'$\spadesuit$', |
