# Latex in vscode throwing error

**URL:** <https://forum.endeavouros.com/t/latex-in-vscode-throwing-error/69136>\
**Category:** Applications\
**Created:** [March 16, 2025, 11:48pm UTC](https://forum.endeavouros.com/t/latex-in-vscode-throwing-error/69136 "2025-03-16T23:48:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![scoopy](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/dfb087/32.png) [@scoopy](https://forum.endeavouros.com/u/scoopy)\
**Post date:** [March 16, 2025, 11:48pm UTC](https://forum.endeavouros.com/t/latex-in-vscode-throwing-error/69136/1 "2025-03-16T23:48:11Z")

</div>

Hi. I just installed endeavour and am trying to get my typical work environments set up. One such work environment is LaTeX in VScode. I installed code, texlive-bin, and texlive-binextra, as well as the LaTeX Workshop extension in vscode (thus far has been pretty much identical to how I’ve done it on windows and macos), and yet still files will not compile. The output it gives me which appears the most relevant is:

```auto
This message may duplicate earlier message.
Latexmk: Failure in processing file '/home/patrick/Documents/template_file':
     *LaTeX didn't generate the expected log file 'template_file.log'

```

(the file I’m trying to compile is called template\_file)  
I’m new not only to arch but to linux overall and really do not know what to do. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![sradjoker](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/sradjoker/32/64224_2.png) [@sradjoker](https://forum.endeavouros.com/u/sradjoker)\
**Post date:** [March 16, 2025, 11:53pm UTC](https://forum.endeavouros.com/t/latex-in-vscode-throwing-error/69136/2 "2025-03-16T23:53:16Z")

</div>

can you run latexmk from the terminal? Have you set up the latex workshop extension properly?  
I don’t think it’s a linux issue. I had problems setting up latex in vscode in windows. Look at latex workshop help/documentation, I think the issue is on that side.

---

<div class="post-metadata">

**Author:** ![scoopy](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/dfb087/32.png) [@scoopy](https://forum.endeavouros.com/u/scoopy)\
**Post date:** [March 17, 2025, 2:25am UTC](https://forum.endeavouros.com/t/latex-in-vscode-throwing-error/69136/3 "2025-03-17T02:25:08Z")

</div>

it appears i didnt have all the necessary texlive packages installed (or something). `texlive-bin` and `texlive-binextra` were not enough. installing `texlive` through aur chaotic manager allowed me to compile.

---

<div class="post-metadata">

**Author:** ![sradjoker](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/sradjoker/32/64224_2.png) [@sradjoker](https://forum.endeavouros.com/u/sradjoker)\
**Post date:** [March 17, 2025, 1:16pm UTC](https://forum.endeavouros.com/t/latex-in-vscode-throwing-error/69136/4 "2025-03-17T13:16:32Z")

</div>

good to hear that your issue is solved!!

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [March 21, 2025, 6:01pm UTC](https://forum.endeavouros.com/t/latex-in-vscode-throwing-error/69136/5 "2025-03-21T18:01:01Z")

</div>

Closed on March 21, 2025, 6:01pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
