#vimtex

Tentang LaTeX, Vimtex dan Zathura
Penerangan lebih terperinci mengenainya

PENGENALAN Saya pernah menulis sebelum ini perihal [1] Mencipta resume dengan LaTeX (ditulis dalam bahasa Melayu) dan [2] Vimtex and Zathura (ditulis dalam bahasa Inggeris). Di dalam kedua-dua pos, tidak ada penerangan menyeluruh berkenaan LaTeX itu sendiri. Yalah. Awalannya, saya fikirkan, sudah begitu banyak penulisan berkenaan apa itu LaTeX boleh didapati melalui kajian dan carian di Internet, malahan buku yang menerangkan dengan begitu terperinci akan kegunaan-nya juga sudah sekian banyak dikeluarkan.

VimTeX and Zathura
Compiling and Viewing TeX Docs

I use [1] vimtex, a vim plugin that provides support for writing and compiling LaTeX documents and [2] zathura as the document viewer. In the beginning, I was determined to stick to [3] MuPDF as the PDF viewer due to its fast and complete features despite being small and lightweight but I kept encountering unpleasant experiences while compiling documents where it always froze the screen of my laptop when I closed the viewer.

.latexmkrc
~/.latexmkrc

$print_type = 'pdf'; $pdf_mode = 1; $bibtex_use = 2; push @generated_exts, "cb"; push @generated_exts, "cb2"; push @generated_exts, "spl"; push @generated_exts, "nav"; push @generated_exts, "snm"; push @generated_exts, "tdo"; push @generated_exts, "nmo"; push @generated_exts, "brf"; push @generated_exts, "nlg"; push @generated_exts, "nlo"; push @generated_exts, "nls"; push @generated_exts, "synctex.gz"; push @generated_exts, "tex.latexmain"; push @generated_exts, "run.xml"; $latex = 'latex --src-specials %O %S'; #$pdflatex = 'pdflatex -file-line-error -synctex=1 -interaction=nonstopmode -shell-escape %O %S'; $pdflatex = 'xelatex -file-line-error -synctex=1 -interaction=nonstopmode -shell-escape %S %O -verbose'; # If zero, check for a previously running previewer on the same file and update it.

Top