
나는 PDF 파일을 build.sh
실행 xelatex
하고 빌드하는 파일을 만들었습니다.bibtex
내 .travis.yml
저장소를 테스트하기 위해 이 스크립트를 넣었습니다. 로컬에서는 빌드가 잘 실행되지만 Travis에서는 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)
나의 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
그리고 마지막으로 .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
답변1
알겠습니다. 다음의 도움으로 문제를 해결했습니다.데이빗의 코멘트: 로 빌드할 때 \usepackage[T1]{fontenc}
및 를 제거하여 빌드가 성공적으로 통과되도록 했습니다.\usepackage[utf8]{inputenc}
latexmk -xelatex