TeX - LaTeX Asked on July 21, 2021
I’d like to really understand how to use the recipes and tools function for the LaTeX-Workshop extension for LaTeX in VS Code. I’ve read the documentation, but I can’t quite figure out how to get it running for the tufte-book class.
As an additional layer of an issue, when I run the recommended commands for the tufte-book documentation, I get a pile of errors and the pdf doesn’t compile.
For the following MWE I named Test.tex
documentclass{tufte-book}
title{Test}
author{kapple}
date{}
begin{document}
maketitle
This should work, right?
end{document}
building with the built-in recipe pdflatex ➞ bibtex ➞ pdflatex ×2
I get the errors (warnings):
Test.out
has changed.When compiling the provided sample-book.tex
with the same built-in recipe, I get error 1 above, while also:
Marginpar on page # moved
.h
float specifier changed to ht
.sample-book.out
has changed.blah
on page #
undefined.blah
on page #
undefined.hbox
es.Even running the document-specified recipe in the terminal, I get a bunch of errors. Should a sample file be that hard to get running?
I’ve added the following section to settings.json
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOC%"
],
"env": {}
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-shell-escape",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
],
"env": {}
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
],
"env": {}
}
],
and compiling my MWE Test.tex
with pdflatex ➞ bibtex ➞ pdflatex ×2
results in a pdf produced with errors #2 and #3.
Compiling sample-book.tex
with pdflatex ➞ bibtex ➞ pdflatex ×2
results in no pdf produced, error #1 is gone but errors #4 through #11 remain.
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP