From 7daff1a13b9c6ea2b5422653ecb09033a3cc1617 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 22 Feb 2017 11:35:34 +0000 Subject: [PATCH] Force UTF-8 mode for rst2html --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index c554189..8627608 100644 --- a/vimrc +++ b/vimrc @@ -3,7 +3,7 @@ silent! execute pathogen#infect() autocmd BufRead,BufNewFile *.md set filetype=markdown autocmd BufWritePost *.mom !pdfmom -t -k > .pdf -autocmd BufWritePost *.rst !rst2html .html +autocmd BufWritePost *.rst !rst2html -i utf-8 .html autocmd BufWritePost *.tex !lualatex --output-directory=/tmp command Q q command W w