summaryrefslogtreecommitdiff
path: root/tex/context/base/java-imp-fld.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-02-09 15:29:00 +0100
committerHans Hagen <pragma@wxs.nl>2011-02-09 15:29:00 +0100
commitf6bc304822e6ae57bd183ea23a8f885467165d9d (patch)
tree47b65fc3c5faa9cb0320806ffa8c686f2086c0c6 /tex/context/base/java-imp-fld.mkiv
parent7dc350d0d097b61338500f8605518e215e3ef103 (diff)
downloadcontext-f6bc304822e6ae57bd183ea23a8f885467165d9d.tar.gz
beta 2011.02.09 15:29
Diffstat (limited to 'tex/context/base/java-imp-fld.mkiv')
-rw-r--r--tex/context/base/java-imp-fld.mkiv20
1 files changed, 10 insertions, 10 deletions
diff --git a/tex/context/base/java-imp-fld.mkiv b/tex/context/base/java-imp-fld.mkiv
index 30847b201..c0c229aba 100644
--- a/tex/context/base/java-imp-fld.mkiv
+++ b/tex/context/base/java-imp-fld.mkiv
@@ -35,19 +35,19 @@
character = " "
end
if accent == '"' then
- verbatim(" '%s%s' : '\\u%04X',\n",accent,character,utf.byte(mapping))
+ verbatim(" '\\\\%s%s' : '\\u%04X',\n",accent,character,utf.byte(mapping))
else
- verbatim(' "%s%s" : "\\u%04X",\n',accent,character,utf.byte(mapping))
+ verbatim(' "\\\\%s%s" : "\\u%04X",\n',accent,character,utf.byte(mapping))
end
end
end
- verbatim(" 'OE' : '\\u0152',\n")
- verbatim(" 'oe' : '\\u0153',\n")
- verbatim(" 'AE' : '\\u00C6',\n")
- verbatim(" 'ae' : '\\u00C7',\n")
- verbatim(" '<<' : '\\u00AB',\n")
- verbatim(" '>>' : '\\u00BB',\n")
- verbatim(" 'ss' : '\\u00DF' \n")
+ verbatim(" '\\\\OE' : '\\u0152',\n")
+ verbatim(" '\\\\oe' : '\\u0153',\n")
+ verbatim(" '\\\\AE' : '\\u00C6',\n")
+ verbatim(" '\\\\ae' : '\\u00E6',\n")
+ verbatim(" '\\\\<<' : '\\u00AB',\n")
+ verbatim(" '\\\\>>' : '\\u00BB',\n")
+ verbatim(" '\\\\ss' : '\\u00DF' \n")
verbatim("}\n")
\stopluasetups
@@ -64,7 +64,7 @@ function TeX_Replacer(original,str) {
}
function Sanitized_TeX_String(value) {
- return (value.replace(/\\(..)/g, TeX_Replacer)) ;
+ return (value.replace(/(\\..)/g, TeX_Replacer)) ;
}
var TeX_Key_Mode = 0 ;