From db92c5e0c26ba0bb545993bb48533d39f1934b95 Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Sun, 8 Apr 2012 17:50:49 -0700 Subject: Adding prettyprint. Clean up old files --- js/prettify/lang-tex.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 js/prettify/lang-tex.js (limited to 'js/prettify/lang-tex.js') diff --git a/js/prettify/lang-tex.js b/js/prettify/lang-tex.js new file mode 100644 index 0000000..ce96fbb --- /dev/null +++ b/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"]); -- cgit v1.2.3