diff options
Diffstat (limited to 'thirdparty/URI.js/prettify/lang-tex.js')
-rw-r--r-- | thirdparty/URI.js/prettify/lang-tex.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thirdparty/URI.js/prettify/lang-tex.js b/thirdparty/URI.js/prettify/lang-tex.js new file mode 100644 index 000000000..ce96fbbd1 --- /dev/null +++ b/thirdparty/URI.js/prettify/lang-tex.js @@ -0,0 +1 @@ +PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r Â\xa0"],["com",/^%[^\n\r]*/,null,"%"]],[["kwd",/^\\[@-Za-z]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[()=[\]{}]+/]]),["latex","tex"]); |