GitLab CI using MiKTeX docker image
up vote
1
down vote
favorite
I'm trying to set up a GitLab CI to compile my LaTeX file, but I would like to avoid having to download full TeXlive over and over again.
Afaik MiKTeX more or less will only download what is needed for the TeX file.
I already have a proper setup with the docker image blang/latex, but I can't seem to get miktex/miktex to compile.
It always fails with:
2018-06-21 09:40:38,858Z INFO pdflatex - mpm: extracting files from geometry-de.tar.lzma...
2018-06-21 09:40:39,257Z FATAL pdflatex - The installed file does not exist.
2018-06-21 09:40:39,257Z FATAL pdflatex - Info: fileName="/miktex/.miktex/texmfs/install/tex/latex/geometry-de/geometry.sty"
2018-06-21 09:40:39,257Z FATAL pdflatex - Source: Libraries/MiKTeX/Core/Session/findfile.cpp
2018-06-21 09:40:39,257Z FATAL pdflatex - Line: 55
2018-06-21 09:40:39,258Z INFO pdflatex - finishing with exit code 1
gitlab-ci.yml:
image: miktex/miktex
before_script:
- apt-get update -qq && apt-get install -y -qq inkscape python-pygments
build:
script:
- ./convert_svg.sh
- pdflatex -shell-escape abgabe.tex
artifacts:
paths:
- "*.pdf"
This is my project: https://gitlab.com/ZerataX/DS_TEMPLATE/
if there is some other tex distribution that is smaller, but also installs my dependencies automatically that would also be a great solution to my problem.
miktex automation continuous-integration
|
show 4 more comments
up vote
1
down vote
favorite
I'm trying to set up a GitLab CI to compile my LaTeX file, but I would like to avoid having to download full TeXlive over and over again.
Afaik MiKTeX more or less will only download what is needed for the TeX file.
I already have a proper setup with the docker image blang/latex, but I can't seem to get miktex/miktex to compile.
It always fails with:
2018-06-21 09:40:38,858Z INFO pdflatex - mpm: extracting files from geometry-de.tar.lzma...
2018-06-21 09:40:39,257Z FATAL pdflatex - The installed file does not exist.
2018-06-21 09:40:39,257Z FATAL pdflatex - Info: fileName="/miktex/.miktex/texmfs/install/tex/latex/geometry-de/geometry.sty"
2018-06-21 09:40:39,257Z FATAL pdflatex - Source: Libraries/MiKTeX/Core/Session/findfile.cpp
2018-06-21 09:40:39,257Z FATAL pdflatex - Line: 55
2018-06-21 09:40:39,258Z INFO pdflatex - finishing with exit code 1
gitlab-ci.yml:
image: miktex/miktex
before_script:
- apt-get update -qq && apt-get install -y -qq inkscape python-pygments
build:
script:
- ./convert_svg.sh
- pdflatex -shell-escape abgabe.tex
artifacts:
paths:
- "*.pdf"
This is my project: https://gitlab.com/ZerataX/DS_TEMPLATE/
if there is some other tex distribution that is smaller, but also installs my dependencies automatically that would also be a great solution to my problem.
miktex automation continuous-integration
there's also a dockerized MiKTeX image: miktex.org/howto/miktex-docker
– naphaneal
Jun 22 at 14:07
yes as I said in my question I am using the miktex/miktex image and I edited my question to include it in the yaml code block.
– ZerataX
Jun 22 at 14:16
sorry, misunderstanding.
– naphaneal
Jun 22 at 14:18
You could check the setup the latex teams uses github.com/latex3/latex2e.
– Ulrike Fischer
Jun 22 at 15:38
3
Imho it is saner setup than on-the-fly in the middle of a pdflatex run and probably also faster (even more as texlive is cached).
– Ulrike Fischer
Jun 22 at 16:17
|
show 4 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to set up a GitLab CI to compile my LaTeX file, but I would like to avoid having to download full TeXlive over and over again.
Afaik MiKTeX more or less will only download what is needed for the TeX file.
I already have a proper setup with the docker image blang/latex, but I can't seem to get miktex/miktex to compile.
It always fails with:
2018-06-21 09:40:38,858Z INFO pdflatex - mpm: extracting files from geometry-de.tar.lzma...
2018-06-21 09:40:39,257Z FATAL pdflatex - The installed file does not exist.
2018-06-21 09:40:39,257Z FATAL pdflatex - Info: fileName="/miktex/.miktex/texmfs/install/tex/latex/geometry-de/geometry.sty"
2018-06-21 09:40:39,257Z FATAL pdflatex - Source: Libraries/MiKTeX/Core/Session/findfile.cpp
2018-06-21 09:40:39,257Z FATAL pdflatex - Line: 55
2018-06-21 09:40:39,258Z INFO pdflatex - finishing with exit code 1
gitlab-ci.yml:
image: miktex/miktex
before_script:
- apt-get update -qq && apt-get install -y -qq inkscape python-pygments
build:
script:
- ./convert_svg.sh
- pdflatex -shell-escape abgabe.tex
artifacts:
paths:
- "*.pdf"
This is my project: https://gitlab.com/ZerataX/DS_TEMPLATE/
if there is some other tex distribution that is smaller, but also installs my dependencies automatically that would also be a great solution to my problem.
miktex automation continuous-integration
I'm trying to set up a GitLab CI to compile my LaTeX file, but I would like to avoid having to download full TeXlive over and over again.
Afaik MiKTeX more or less will only download what is needed for the TeX file.
I already have a proper setup with the docker image blang/latex, but I can't seem to get miktex/miktex to compile.
It always fails with:
2018-06-21 09:40:38,858Z INFO pdflatex - mpm: extracting files from geometry-de.tar.lzma...
2018-06-21 09:40:39,257Z FATAL pdflatex - The installed file does not exist.
2018-06-21 09:40:39,257Z FATAL pdflatex - Info: fileName="/miktex/.miktex/texmfs/install/tex/latex/geometry-de/geometry.sty"
2018-06-21 09:40:39,257Z FATAL pdflatex - Source: Libraries/MiKTeX/Core/Session/findfile.cpp
2018-06-21 09:40:39,257Z FATAL pdflatex - Line: 55
2018-06-21 09:40:39,258Z INFO pdflatex - finishing with exit code 1
gitlab-ci.yml:
image: miktex/miktex
before_script:
- apt-get update -qq && apt-get install -y -qq inkscape python-pygments
build:
script:
- ./convert_svg.sh
- pdflatex -shell-escape abgabe.tex
artifacts:
paths:
- "*.pdf"
This is my project: https://gitlab.com/ZerataX/DS_TEMPLATE/
if there is some other tex distribution that is smaller, but also installs my dependencies automatically that would also be a great solution to my problem.
miktex automation continuous-integration
miktex automation continuous-integration
edited Nov 12 at 19:34
PHPirate
687421
687421
asked Jun 22 at 14:00
ZerataX
62
62
there's also a dockerized MiKTeX image: miktex.org/howto/miktex-docker
– naphaneal
Jun 22 at 14:07
yes as I said in my question I am using the miktex/miktex image and I edited my question to include it in the yaml code block.
– ZerataX
Jun 22 at 14:16
sorry, misunderstanding.
– naphaneal
Jun 22 at 14:18
You could check the setup the latex teams uses github.com/latex3/latex2e.
– Ulrike Fischer
Jun 22 at 15:38
3
Imho it is saner setup than on-the-fly in the middle of a pdflatex run and probably also faster (even more as texlive is cached).
– Ulrike Fischer
Jun 22 at 16:17
|
show 4 more comments
there's also a dockerized MiKTeX image: miktex.org/howto/miktex-docker
– naphaneal
Jun 22 at 14:07
yes as I said in my question I am using the miktex/miktex image and I edited my question to include it in the yaml code block.
– ZerataX
Jun 22 at 14:16
sorry, misunderstanding.
– naphaneal
Jun 22 at 14:18
You could check the setup the latex teams uses github.com/latex3/latex2e.
– Ulrike Fischer
Jun 22 at 15:38
3
Imho it is saner setup than on-the-fly in the middle of a pdflatex run and probably also faster (even more as texlive is cached).
– Ulrike Fischer
Jun 22 at 16:17
there's also a dockerized MiKTeX image: miktex.org/howto/miktex-docker
– naphaneal
Jun 22 at 14:07
there's also a dockerized MiKTeX image: miktex.org/howto/miktex-docker
– naphaneal
Jun 22 at 14:07
yes as I said in my question I am using the miktex/miktex image and I edited my question to include it in the yaml code block.
– ZerataX
Jun 22 at 14:16
yes as I said in my question I am using the miktex/miktex image and I edited my question to include it in the yaml code block.
– ZerataX
Jun 22 at 14:16
sorry, misunderstanding.
– naphaneal
Jun 22 at 14:18
sorry, misunderstanding.
– naphaneal
Jun 22 at 14:18
You could check the setup the latex teams uses github.com/latex3/latex2e.
– Ulrike Fischer
Jun 22 at 15:38
You could check the setup the latex teams uses github.com/latex3/latex2e.
– Ulrike Fischer
Jun 22 at 15:38
3
3
Imho it is saner setup than on-the-fly in the middle of a pdflatex run and probably also faster (even more as texlive is cached).
– Ulrike Fischer
Jun 22 at 16:17
Imho it is saner setup than on-the-fly in the middle of a pdflatex run and probably also faster (even more as texlive is cached).
– Ulrike Fischer
Jun 22 at 16:17
|
show 4 more comments
1 Answer
1
active
oldest
votes
up vote
1
down vote
geometry-de
doesn't contain geometry.sty
(see https://github.com/MiKTeX/miktex-packaging/issues/29).
I would recommend that you update the package database: mpm --update-db
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
geometry-de
doesn't contain geometry.sty
(see https://github.com/MiKTeX/miktex-packaging/issues/29).
I would recommend that you update the package database: mpm --update-db
add a comment |
up vote
1
down vote
geometry-de
doesn't contain geometry.sty
(see https://github.com/MiKTeX/miktex-packaging/issues/29).
I would recommend that you update the package database: mpm --update-db
add a comment |
up vote
1
down vote
up vote
1
down vote
geometry-de
doesn't contain geometry.sty
(see https://github.com/MiKTeX/miktex-packaging/issues/29).
I would recommend that you update the package database: mpm --update-db
geometry-de
doesn't contain geometry.sty
(see https://github.com/MiKTeX/miktex-packaging/issues/29).
I would recommend that you update the package database: mpm --update-db
answered Jun 23 at 13:26
Christian Schenk
914
914
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f437553%2fgitlab-ci-using-miktex-docker-image%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
there's also a dockerized MiKTeX image: miktex.org/howto/miktex-docker
– naphaneal
Jun 22 at 14:07
yes as I said in my question I am using the miktex/miktex image and I edited my question to include it in the yaml code block.
– ZerataX
Jun 22 at 14:16
sorry, misunderstanding.
– naphaneal
Jun 22 at 14:18
You could check the setup the latex teams uses github.com/latex3/latex2e.
– Ulrike Fischer
Jun 22 at 15:38
3
Imho it is saner setup than on-the-fly in the middle of a pdflatex run and probably also faster (even more as texlive is cached).
– Ulrike Fischer
Jun 22 at 16:17