Bibtex schlägt in Travis fehl, läuft aber lokal

Bibtex schlägt in Travis fehl, läuft aber lokal

Ich habe eine build.shDatei erstellt, die ausgeführt wird xelatexund bibtexdie PDF-Datei erstellt.

In meinem .travis.ymlhabe ich dieses Skript eingefügt, um mein Repository zu testen. Lokal läuft der Build einwandfrei, aber auf Travis erhalte ich einen Bibtex-Fehler:

This is BibTeX, Version 0.99d (TeX Live 2015/Debian)

The top-level auxiliary file: thesis.aux

A level-1 auxiliary file: title/cover.aux

A level-1 auxiliary file: title/title.aux

I found no \citation commands---while reading file thesis.aux

I found no \bibdata command---while reading file thesis.aux

I found no \bibstyle command---while reading file thesis.aux

(There were 3 error messages)

Mein build.sh:

#!/bin/bash

xelatex -synctex=1 -interaction=nonstopmode -halt-on-error thesis.tex
bibtex thesis.aux
xelatex -synctex=1 -interaction=nonstopmode -halt-on-error thesis.tex
xelatex -synctex=1 -interaction=nonstopmode -halt-on-error thesis.tex

Und schließlich das .travis.yml:

language: shell
os: linux

install:
- sudo apt-get -qq update && sudo apt-get -qq -y install texlive texlive-latex-extra texlive-full texlive-xetex texlive-pstricks

script:
- ./build.sh

Antwort1

Okay, ich habe das Problem behoben mit Hilfe vonKommentar von David: Ich habe \usepackage[T1]{fontenc}und \usepackage[utf8]{inputenc}beim Erstellen mit entfernt latexmk -xelatex, wodurch der Build erfolgreich abgeschlossen wurde.

verwandte Informationen