
build.sh
実行しxelatex
てbibtex
PDF ファイルを構築するファイルを作成しました。
私のリポジトリをテストするためにこのスクリプトを配置しました。ローカル.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