
Creé un build.sh
archivo que se ejecuta xelatex
y bibtex
para construir el archivo pdf.
En mi .travis.yml
puse este script para probar mi repositorio. Localmente, la compilación funciona bien, pero en Travis aparece un error 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)
Mi 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
Y finalmente, el .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
Respuesta1
Bien, solucioné el problema con la ayuda deel comentario de david: Eliminé \usepackage[T1]{fontenc}
y \usepackage[utf8]{inputenc}
al compilar con latexmk -xelatex
, lo que permitió que la compilación se realizara correctamente.