Preprint under Mesolitica.
- Install Latex plugin,
apt install texlive-extra-utils latexmk -y
-
Install VSCode Latex extension, https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop
-
Everytime you save the tex file, it will automatically generate the pdf file.
- Install mactex plugin here https://www.tug.org/mactex/mactex-download.html or
brew install mactex
-
Install VSCode Latex extension, https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop
-
Configure vscode user settings.
- Press Command+Shift+P, and open “Preferences: Open User Settings(JSON)” and append these lines:
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOC%"
],
"env": {
"PATH": "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin"
}
},
],
"latex-workshop.latex.recipes": [
{
"name": "latexmk 🔃",
"tools": [
"latexmk"
],
},
],
"latex-workshop.latex.clean.fileTypes": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.lof",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.ist",
"*.fls",
"*.log",
"*.fdb_latexmk",
"*.snm",
"*.nav",
],
- Reload window