Created
January 21, 2015 06:36
-
-
Save tamoot/123754f64ec86e8e4b10 to your computer and use it in GitHub Desktop.
.xyzzyでのrest2html.bat実行用定義
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 rst2html () | |
(interactive) | |
(let* ((rst-file (get-buffer-file-name)) | |
(html-file (concat (directory-namestring rst-file) | |
(pathname-name rst-file) | |
".html"))) | |
(call-process (concat "D:\\App\\python_2_7_5\\python D:\\App\\python_2_7_5\\Scripts\\rst2html.py " | |
rst-file | |
" " | |
html-file | |
" --stylesheet " | |
"D:\\App\\python_2_7_5\\Scripts\\custom.css")) | |
; (call-process (concat "D:\\App\\Firefox\\firefox.exe file://" html-file) ) | |
:show :hide) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment