Seperti yang dijanjikan, di dalam tulisan kali ini saya bincangkan cara untuk menyusun dokumen ConTeXt
dengan menggunakan aplikasi penyunting fail kegemaran saya, Vim
dan juga pembaca pdf Zathura
.
Tetapi sebelum itu, kita mulakan dengan langkah pertamalah ya? Iaitu:
PEMASANGAN
Dengan memasang [texlive-most], perisian ConTeXt
sememangnya sudah termasuk di dalam kumpulan pakej berkenaan.
MENGKOMPILASI FAIL CONTEXT
Baik, sekarang kita terus kepada cara mengkompilasi dokumen yang dihasilkan melalui ConTeXt
.Perlu difahami dahulu, bahawa terdapat dua program untuk menjalankan ConTeXt
; Mark II (MkII) dan Mark IV (MkIV).
Synctex-searches work just fine by installing
zathura
and all the dependencies from the Arch official repository (
libmupdf
can be skipped) as long as we set the
vimtex-clientserver
(please refer to the
first related configuration file below) which is specifically for
vimtex-synctex-inverse-search
.
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.