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).










share|improve this question
























  • 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




    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

















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).










share|improve this question
























  • 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




    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















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).










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 run pdflatex, 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






  • 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












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]





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    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

























    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]





    share|improve this answer



























      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]





      share|improve this answer

























        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]





        share|improve this answer














        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]






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Oct 9 at 7:49

























        answered Oct 8 at 9:36









        Joker

        1315




        1315






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?