Closed akolotov closed 6 years ago
Hi, thanks for the pull request. I'm sorry that I'm so late -- I don't check my GitHub account very often.
Enabling minted
sounds like a good idea in principle, but I'd like to keep the list of installed packages as simple as possible, so here are a few thoughts I had regarding your changes:
texlive-latex-extra
is a dependency of texlive-full
, so do we really need to install it manually?python-pip
required?python
is a dependency of python-pygments
, so do we really need to install it manually?Thanks, @aergus for response. In fact I did not experimented with the set of installed packages just took them as is from https://github.com/vvhof/minted-latex-docker. So, the answers for your questions is more my opinion rather than strict arguments.
python-pygments
installation. Unfortunately I have no logs produced when akolotov/latex
image prepared to find proofs there. I guess that this would work just as fine if one only adds python-pygments
to the list. I have tested it with a minimal example (the first example here), and it seems to work.
Thus I stand by my point of keeping the list of packages which are installed as simple as possible and leaving dependency issues to Debian maintainers (i.e. I'd rather assume that texlive-full
will actually install all TeXLive packages and that pygments
will work out of the box after installing python-pygments
than keep track of more packages).
I've merged your changes manually with the above mentioned simplification. Thanks again for bringing this up.
influenced by the idea from https://github.com/vvhof/minted-latex-docker to add
minted
package to the image.I have tested the changes:
docker pull akolotov/latex