This is a starter TeX template with a development container that can be run directly inside Docker.
That way, you don't have to deal with the dependency hell of configuring and compiling TeX, nor use third party tools that make you leave your editor.
Assuming you're using VSCode or codespaces
-
You need to get the Dev Containers extension
-
Show the command pallete (default shortcut is Ctrl + SHIFT + P) and run
Dev Containers: Open Folder in Container...
Depending on your internet speed, the build will take some minutes...
- After the dev container is opened, you can know do a build and open the compiled out/main.pdf to the side. You can do that in a number of ways, the easiest is by doing a
Save
. Here's a picture example.
- Go from
PDF
to code: CTRL+click - Go from code to
PDF
with:LaTeX Workshop: SyncTex from cursor