<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Fabian on Medium]]></title>
        <description><![CDATA[Stories by Fabian on Medium]]></description>
        <link>https://medium.com/@kombustor?source=rss-9d94e4acadb7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*GYW_Oh8YS825VEGxz4qd1g.png</url>
            <title>Stories by Fabian on Medium</title>
            <link>https://medium.com/@kombustor?source=rss-9d94e4acadb7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 08:10:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kombustor/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[VS Code + Docker + LaTeX Setup]]></title>
            <link>https://medium.com/@kombustor/vs-code-docker-latex-setup-f84128c6f790?source=rss-9d94e4acadb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f84128c6f790</guid>
            <category><![CDATA[latex]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[vscode]]></category>
            <dc:creator><![CDATA[Fabian]]></dc:creator>
            <pubDate>Thu, 09 Jan 2020 18:25:40 GMT</pubDate>
            <atom:updated>2020-01-09T20:43:42.549Z</atom:updated>
            <content:encoded><![CDATA[<h3>The perfect VS Code + Docker + LaTeX setup</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rx0Ug6D-A_zy2jibDh9J3A.png" /></figure><p>Some time ago I had to write my first scientific paper at the university. Since only LaTeX was suitable for it anyway, I was looking for the optimal environment.</p><p>At first I had two possibilities in mind:</p><ul><li><a href="https://overleaf.com/">Overleaf</a></li><li>Locally installed LaTeX distribution + Editor like Kile/TeXShop</li></ul><p>I tried out Overleaf but for me it was no fit. Slow builds, clumsy UI. Just nothing I liked.</p><p>So to the second possibility. So I installed the TeXLive distribution (which was a real hassle on Windows) and the TeXShop editor and it all quite worked, but I was not fully happy.</p><p><em>But then another solution arised…</em></p><p>As I was already a huge fan of Microsofts VS Code and its possibilities, I looked around and stumbled over the <a href="https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop">LaTeX Workshop addon</a> for VS Code. And it’s great.</p><p>It immediately worked out of the box, with live PDF preview, recompilation on change, SyncTeX from cursor and so much more.</p><p>The next step in my mind was to offload the hassle of installing and keeping the LaTeX distribution up to date. Another technology I really started loving other the past years is <em>Docker</em>. The biggest reason for it? <strong>It. just. works.</strong></p><p>And luckily for me, VS Code release the “Remote” extension pack, also containing “<a href="https://code.visualstudio.com/docs/remote/containers">Remote — Containers</a>”, enabling the user to use a Docker container as a fully fledged development environment. LaTeX Workshop <a href="https://github.com/James-Yu/LaTeX-Workshop/pull/1357">added support for it</a> really quick so I gave it a go.</p><p>It wasn’t the easiest task, but after some hours of configuring and dealing with locales and some missing dependencies it worked. The following configuration files were the result:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c9c67db5d3c0948fe7d5e49446a5c1f3/href">https://medium.com/media/c9c67db5d3c0948fe7d5e49446a5c1f3/href</a></iframe><p>The things you need to have installed:</p><ul><li>Docker Desktop (Windows/Mac) or Docker-CE (Linux)</li><li>VS Code</li><li>that’s it!</li></ul><p>Copy the files above to the correct subfolders, reopen the current folder in the container and wait for the container to build. This will just take that long the first time.</p><p>Then open a .tex-file, run Ctrl-Alt-B once to initially compile the LaTeX project, click on the PDF icon with the lens on the top right corner and <em>start writing!</em></p><p><strong>Easy!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f84128c6f790" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>