How can I run biber on travis-ci?
up vote
2
down vote
favorite
I succesfully build a latex document using instructions from How to build my LaTeX automatically using Travis CI? and save the pdf in a github release.
I use the docker image with tectronig of @rekka.
However now that my latex document uses biber/biblatex the cites and printbibliography doesnt work when produced by travis (locally it works running lualatex, biber, lualatex, lualatex).
I assume biber is not run on travis. Does someone know how I can run biber on travis?
PS: Forgive me if I got something wrong, im rather a LaTeX-Beginner
EDIT: My .travis.yml looks like this:
sudo: required
services: docker
script:
- docker pull rekka/tectonic
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind rekka/tectonic
tectonic main.tex
deploy:
provider: releases
api_key:
secure: [long API key]
file: main.pdf
skip_cleanup: true
on:
repo: [my-repo]
EDIT2: @moewe found this github issue https://github.com/tectonic-typesetting/tectonic/issues/35 which is asking for biblatex support on tectronic. However question remains the same (allthough not necessary with tectronic anymore).
biblatex biber continuous-integration travis
|
show 4 more comments
up vote
2
down vote
favorite
I succesfully build a latex document using instructions from How to build my LaTeX automatically using Travis CI? and save the pdf in a github release.
I use the docker image with tectronig of @rekka.
However now that my latex document uses biber/biblatex the cites and printbibliography doesnt work when produced by travis (locally it works running lualatex, biber, lualatex, lualatex).
I assume biber is not run on travis. Does someone know how I can run biber on travis?
PS: Forgive me if I got something wrong, im rather a LaTeX-Beginner
EDIT: My .travis.yml looks like this:
sudo: required
services: docker
script:
- docker pull rekka/tectonic
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind rekka/tectonic
tectonic main.tex
deploy:
provider: releases
api_key:
secure: [long API key]
file: main.pdf
skip_cleanup: true
on:
repo: [my-repo]
EDIT2: @moewe found this github issue https://github.com/tectonic-typesetting/tectonic/issues/35 which is asking for biblatex support on tectronic. However question remains the same (allthough not necessary with tectronic anymore).
biblatex biber continuous-integration travis
The.travis.yml
in the linked answer ends with- travis_wait 3 pdflatex -output-directory _build ./src/nameofmytexfile.tex
did you try to add a Biber call there? You can make your life much easier if you don't use a build directory (-output-directory
). Remember that you need to runpdflatex
,biber
,pdflatex
,pdflatex
.
– moewe
Sep 19 at 9:13
2
Welcome to TeX.SX! Could you please show your build file here? Maybe you could simply run arara on Travis and specify the instructions in your file.
– TeXnician
Sep 19 at 9:14
1
You will have to tell tectonic to run Biber for you. I have never heard of it and I could not find documentation, so I guess you have a better chance of getting an answer at tectonic.newton.cx
– moewe
Sep 19 at 9:18
Of course it is also possible that something else is going wrong, but to diagnose that we would need to see the.log
and.blg
files.
– moewe
Sep 19 at 9:22
1
github.com/tectonic-typesetting/tectonic/issues/35 suggests Biber is not supported in tectonic yet. Apparently there are workarounds: github.com/tectonic-typesetting/tectonic/issues/53, malramsay.com/post/compiling_latex_on_travis
– moewe
Sep 19 at 10:29
|
show 4 more comments
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I succesfully build a latex document using instructions from How to build my LaTeX automatically using Travis CI? and save the pdf in a github release.
I use the docker image with tectronig of @rekka.
However now that my latex document uses biber/biblatex the cites and printbibliography doesnt work when produced by travis (locally it works running lualatex, biber, lualatex, lualatex).
I assume biber is not run on travis. Does someone know how I can run biber on travis?
PS: Forgive me if I got something wrong, im rather a LaTeX-Beginner
EDIT: My .travis.yml looks like this:
sudo: required
services: docker
script:
- docker pull rekka/tectonic
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind rekka/tectonic
tectonic main.tex
deploy:
provider: releases
api_key:
secure: [long API key]
file: main.pdf
skip_cleanup: true
on:
repo: [my-repo]
EDIT2: @moewe found this github issue https://github.com/tectonic-typesetting/tectonic/issues/35 which is asking for biblatex support on tectronic. However question remains the same (allthough not necessary with tectronic anymore).
biblatex biber continuous-integration travis
I succesfully build a latex document using instructions from How to build my LaTeX automatically using Travis CI? and save the pdf in a github release.
I use the docker image with tectronig of @rekka.
However now that my latex document uses biber/biblatex the cites and printbibliography doesnt work when produced by travis (locally it works running lualatex, biber, lualatex, lualatex).
I assume biber is not run on travis. Does someone know how I can run biber on travis?
PS: Forgive me if I got something wrong, im rather a LaTeX-Beginner
EDIT: My .travis.yml looks like this:
sudo: required
services: docker
script:
- docker pull rekka/tectonic
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind rekka/tectonic
tectonic main.tex
deploy:
provider: releases
api_key:
secure: [long API key]
file: main.pdf
skip_cleanup: true
on:
repo: [my-repo]
EDIT2: @moewe found this github issue https://github.com/tectonic-typesetting/tectonic/issues/35 which is asking for biblatex support on tectronic. However question remains the same (allthough not necessary with tectronic anymore).
biblatex biber continuous-integration travis
biblatex biber continuous-integration travis
edited Nov 12 at 19:24
PHPirate
687421
687421
asked Sep 19 at 9:10
Joker
1315
1315
The.travis.yml
in the linked answer ends with- travis_wait 3 pdflatex -output-directory _build ./src/nameofmytexfile.tex
did you try to add a Biber call there? You can make your life much easier if you don't use a build directory (-output-directory
). Remember that you need to runpdflatex
,biber
,pdflatex
,pdflatex
.
– moewe
Sep 19 at 9:13
2
Welcome to TeX.SX! Could you please show your build file here? Maybe you could simply run arara on Travis and specify the instructions in your file.
– TeXnician
Sep 19 at 9:14
1
You will have to tell tectonic to run Biber for you. I have never heard of it and I could not find documentation, so I guess you have a better chance of getting an answer at tectonic.newton.cx
– moewe
Sep 19 at 9:18
Of course it is also possible that something else is going wrong, but to diagnose that we would need to see the.log
and.blg
files.
– moewe
Sep 19 at 9:22
1
github.com/tectonic-typesetting/tectonic/issues/35 suggests Biber is not supported in tectonic yet. Apparently there are workarounds: github.com/tectonic-typesetting/tectonic/issues/53, malramsay.com/post/compiling_latex_on_travis
– moewe
Sep 19 at 10:29
|
show 4 more comments
The.travis.yml
in the linked answer ends with- travis_wait 3 pdflatex -output-directory _build ./src/nameofmytexfile.tex
did you try to add a Biber call there? You can make your life much easier if you don't use a build directory (-output-directory
). Remember that you need to runpdflatex
,biber
,pdflatex
,pdflatex
.
– moewe
Sep 19 at 9:13
2
Welcome to TeX.SX! Could you please show your build file here? Maybe you could simply run arara on Travis and specify the instructions in your file.
– TeXnician
Sep 19 at 9:14
1
You will have to tell tectonic to run Biber for you. I have never heard of it and I could not find documentation, so I guess you have a better chance of getting an answer at tectonic.newton.cx
– moewe
Sep 19 at 9:18
Of course it is also possible that something else is going wrong, but to diagnose that we would need to see the.log
and.blg
files.
– moewe
Sep 19 at 9:22
1
github.com/tectonic-typesetting/tectonic/issues/35 suggests Biber is not supported in tectonic yet. Apparently there are workarounds: github.com/tectonic-typesetting/tectonic/issues/53, malramsay.com/post/compiling_latex_on_travis
– moewe
Sep 19 at 10:29
The
.travis.yml
in the linked answer ends with - travis_wait 3 pdflatex -output-directory _build ./src/nameofmytexfile.tex
did you try to add a Biber call there? You can make your life much easier if you don't use a build directory (-output-directory
). Remember that you need to run pdflatex
, biber
, pdflatex
, pdflatex
.– moewe
Sep 19 at 9:13
The
.travis.yml
in the linked answer ends with - travis_wait 3 pdflatex -output-directory _build ./src/nameofmytexfile.tex
did you try to add a Biber call there? You can make your life much easier if you don't use a build directory (-output-directory
). Remember that you need to run pdflatex
, biber
, pdflatex
, pdflatex
.– moewe
Sep 19 at 9:13
2
2
Welcome to TeX.SX! Could you please show your build file here? Maybe you could simply run arara on Travis and specify the instructions in your file.
– TeXnician
Sep 19 at 9:14
Welcome to TeX.SX! Could you please show your build file here? Maybe you could simply run arara on Travis and specify the instructions in your file.
– TeXnician
Sep 19 at 9:14
1
1
You will have to tell tectonic to run Biber for you. I have never heard of it and I could not find documentation, so I guess you have a better chance of getting an answer at tectonic.newton.cx
– moewe
Sep 19 at 9:18
You will have to tell tectonic to run Biber for you. I have never heard of it and I could not find documentation, so I guess you have a better chance of getting an answer at tectonic.newton.cx
– moewe
Sep 19 at 9:18
Of course it is also possible that something else is going wrong, but to diagnose that we would need to see the
.log
and .blg
files.– moewe
Sep 19 at 9:22
Of course it is also possible that something else is going wrong, but to diagnose that we would need to see the
.log
and .blg
files.– moewe
Sep 19 at 9:22
1
1
github.com/tectonic-typesetting/tectonic/issues/35 suggests Biber is not supported in tectonic yet. Apparently there are workarounds: github.com/tectonic-typesetting/tectonic/issues/53, malramsay.com/post/compiling_latex_on_travis
– moewe
Sep 19 at 10:29
github.com/tectonic-typesetting/tectonic/issues/35 suggests Biber is not supported in tectonic yet. Apparently there are workarounds: github.com/tectonic-typesetting/tectonic/issues/53, malramsay.com/post/compiling_latex_on_travis
– moewe
Sep 19 at 10:29
|
show 4 more comments
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
I build a docker image which includes tectonic and biber. (Based of @rekka's image and this information).
Basically these commands are ran inside the container (which you can see in the .travis.yml) :
tectonic --keep-intermediates --reruns 0 main.tex
biber main
tectonic main.tex
The .travis.yml looks now like this:
sudo: required
services: docker
script:
- docker pull dxjoke/tectonic-docker
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind dxjoke/tectonic-docker
/bin/sh -c "tectonic --keep-intermediates --reruns 0 main.tex; biber main; tectonic main.tex"
deploy:
provider: releases
api_key:
secure: [long api key]
file: main.pdf
skip_cleanup: true
on:
repo: [myrepo]
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
I build a docker image which includes tectonic and biber. (Based of @rekka's image and this information).
Basically these commands are ran inside the container (which you can see in the .travis.yml) :
tectonic --keep-intermediates --reruns 0 main.tex
biber main
tectonic main.tex
The .travis.yml looks now like this:
sudo: required
services: docker
script:
- docker pull dxjoke/tectonic-docker
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind dxjoke/tectonic-docker
/bin/sh -c "tectonic --keep-intermediates --reruns 0 main.tex; biber main; tectonic main.tex"
deploy:
provider: releases
api_key:
secure: [long api key]
file: main.pdf
skip_cleanup: true
on:
repo: [myrepo]
add a comment |
up vote
2
down vote
accepted
I build a docker image which includes tectonic and biber. (Based of @rekka's image and this information).
Basically these commands are ran inside the container (which you can see in the .travis.yml) :
tectonic --keep-intermediates --reruns 0 main.tex
biber main
tectonic main.tex
The .travis.yml looks now like this:
sudo: required
services: docker
script:
- docker pull dxjoke/tectonic-docker
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind dxjoke/tectonic-docker
/bin/sh -c "tectonic --keep-intermediates --reruns 0 main.tex; biber main; tectonic main.tex"
deploy:
provider: releases
api_key:
secure: [long api key]
file: main.pdf
skip_cleanup: true
on:
repo: [myrepo]
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
I build a docker image which includes tectonic and biber. (Based of @rekka's image and this information).
Basically these commands are ran inside the container (which you can see in the .travis.yml) :
tectonic --keep-intermediates --reruns 0 main.tex
biber main
tectonic main.tex
The .travis.yml looks now like this:
sudo: required
services: docker
script:
- docker pull dxjoke/tectonic-docker
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind dxjoke/tectonic-docker
/bin/sh -c "tectonic --keep-intermediates --reruns 0 main.tex; biber main; tectonic main.tex"
deploy:
provider: releases
api_key:
secure: [long api key]
file: main.pdf
skip_cleanup: true
on:
repo: [myrepo]
I build a docker image which includes tectonic and biber. (Based of @rekka's image and this information).
Basically these commands are ran inside the container (which you can see in the .travis.yml) :
tectonic --keep-intermediates --reruns 0 main.tex
biber main
tectonic main.tex
The .travis.yml looks now like this:
sudo: required
services: docker
script:
- docker pull dxjoke/tectonic-docker
- docker run --mount src=$TRAVIS_BUILD_DIR,target=/usr/src/tex,type=bind dxjoke/tectonic-docker
/bin/sh -c "tectonic --keep-intermediates --reruns 0 main.tex; biber main; tectonic main.tex"
deploy:
provider: releases
api_key:
secure: [long api key]
file: main.pdf
skip_cleanup: true
on:
repo: [myrepo]
edited Oct 9 at 7:49
answered Oct 8 at 9:36
Joker
1315
1315
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%2f451501%2fhow-can-i-run-biber-on-travis-ci%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
The
.travis.yml
in the linked answer ends with- travis_wait 3 pdflatex -output-directory _build ./src/nameofmytexfile.tex
did you try to add a Biber call there? You can make your life much easier if you don't use a build directory (-output-directory
). Remember that you need to runpdflatex
,biber
,pdflatex
,pdflatex
.– moewe
Sep 19 at 9:13
2
Welcome to TeX.SX! Could you please show your build file here? Maybe you could simply run arara on Travis and specify the instructions in your file.
– TeXnician
Sep 19 at 9:14
1
You will have to tell tectonic to run Biber for you. I have never heard of it and I could not find documentation, so I guess you have a better chance of getting an answer at tectonic.newton.cx
– moewe
Sep 19 at 9:18
Of course it is also possible that something else is going wrong, but to diagnose that we would need to see the
.log
and.blg
files.– moewe
Sep 19 at 9:22
1
github.com/tectonic-typesetting/tectonic/issues/35 suggests Biber is not supported in tectonic yet. Apparently there are workarounds: github.com/tectonic-typesetting/tectonic/issues/53, malramsay.com/post/compiling_latex_on_travis
– moewe
Sep 19 at 10:29