Plugin for converting LaTeX equation into image #177

merged 3 commits into from Jun 4, 2015


None yet

2 participants

ypcat commented May 20, 2015

Example usage:

!tex \sum_{i=1}^{n} x_{i}^{2}

2015-05-20 20 54 38

@yagop yagop commented on an outdated diff May 23, 2015
@@ -0,0 +1,36 @@
+function escape(s)
yagop May 23, 2015 Owner

Should be declared as local.
Use URL.escape(query) ?

ypcat commented May 27, 2015

At first I used URL:escape(query) but I got this error:

 *** lua: .luarocks/share/lua/5.2/socket/url.lua:31: bad argument #1 to 'gsub' (string expected, got table)

So I copied escape function to the plugin.

@yagop yagop merged commit d63c88c into yagop:master Jun 4, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment