Created
January 23, 2011 09:16
-
-
Save nozma/791933 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun latex-to-google-chart-api (start end) | |
(interactive "r") | |
(let ((latex-expression (kill-region start end))) | |
(insert-string | |
(concat "<img src=\"http://chart.apis.google.com/shart?cnt=tx&chl=" | |
(w3m-url-encode-string (car kill-ring)) | |
"\" alt=\"\" />") ))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment