
Criei um build.sh
arquivo que roda xelatex
e bibtex
para construir o arquivo pdf.
No meu .travis.yml
coloquei esse script para testar meu repositório. Localmente, a compilação funciona bem, mas no Travis recebo um erro bibtex:
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)
Meu 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
E finalmente, o .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
Responder1
Ok, então resolvi o problema com a ajuda deComentário de Davi: removi o \usepackage[T1]{fontenc}
e \usepackage[utf8]{inputenc}
ao construir com latexmk -xelatex
, o que deixou a construção passar com sucesso.