From f78adc5a389423c1c1543b8972e6382d6acf335e Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Tue, 29 Aug 2023 13:45:30 -0400 Subject: [PATCH] fixed neovim notes with pandoc --- home-config/home-configuration.scm | 1 + home-config/nvim/config/init.vim | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home-config/home-configuration.scm b/home-config/home-configuration.scm index f5e58d3..dfa9f01 100644 --- a/home-config/home-configuration.scm +++ b/home-config/home-configuration.scm @@ -53,6 +53,7 @@ "htop" "curl" "pandoc" + "texlive-bin" "texlive-scheme-basic" "texlive-txfonts" "texlive-amsfonts" diff --git a/home-config/nvim/config/init.vim b/home-config/nvim/config/init.vim index 447da4a..1d3903f 100644 --- a/home-config/nvim/config/init.vim +++ b/home-config/nvim/config/init.vim @@ -70,8 +70,8 @@ let g:table_mode_header_fillchar='=' "pandoc render and open preview command Pv AsyncRun zathura '%:r.pdf' -command Rd silent exec "!pandoc -t pdf -o %:r.pdf --pdf-engine=xelatex --from=markdown+escaped_line_breaks -V geometry:margin=1in %" -command Rr exec "!pandoc -t pdf -o %:r.pdf --pdf-engine=xelatex --from=markdown+escaped_line_breaks -V geometry:margin=1in %" +command Rd silent exec "!pandoc -t pdf -o %:r.pdf --from=markdown+escaped_line_breaks -V geometry:margin=1in %" +command Rr exec "!pandoc -t pdf -o %:r.pdf --from=markdown+escaped_line_breaks -V geometry:margin=1in %" "Auto-rerender markdown files to pdf autocmd BufWritePost *.mkd :Rd