Issues with LaTeX Workshop Extension (Mac, XeLaTeX, AltaCV) #4518
-
System Information Problem Description I am trying to compile the AltaCV template using XeLaTeX in VS Code, but I keep running into several issues: 1️⃣ LaTeX Workshop Not Detecting altacv.cls CV/
\documentclass[10pt,a4paper,ragged2e,withhyper]{AltaCV/altacv}
LaTeX Error: File
2️⃣ PDF Viewer Doesn’t Auto-Update (Cmd + Opt + B) 3️⃣ PDFX CreationDate Error Package pdfx Error: CreationDate is not properly supported; PDF validation may fail.
xelatex -shell-escape -output-driver="xdvipdfmx -z 0" content.tex sometimes works, but LaTeX Workshop does not handle it correctly. Debugging Attempts I have tried the following: ✅ Verified that latexmk and xelatex are correctly installed: which latexmk ✅ Cleaned auxiliary files and recompiled: latexmk -C && rm *.aux *.log *.synctex.gz && latexmk -xelatex content.tex ✅ Checked settings.json: "latex-workshop.latex.tools": [ ✅ Tried forcing manual date handling in pdfx: \PassOptionsToPackage{nodates}{pdfx} ✅ Verified altacv.cls is correctly located. Questions for the Community Final Thoughts Setting up a LaTeX environment in VS Code has been far more time-consuming than expected. I’ve followed best practices, but fundamental functionality like detecting class files and auto-refreshing the viewer isn’t working as expected. Given how widely used LaTeX Workshop and TeX Live are, the setup should be more seamless. If anyone has suggestions beyond the documentation, I’d greatly appreciate the help! Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I uninstalled LaTeX and the Extension. |
Beta Was this translation helpful? Give feedback.
I uninstalled LaTeX and the Extension.
Reinstalled both.
Tinkered with NOTHING.
And it worked.
This was my sunday :)