Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XeLaTeX does not work well with bib file #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eisoku9618
Copy link

XeLaTeX's behavior seems different from pdfLaTeX when we use a bib file.

So, when we build a tex file which contains a bib file with XeLaTeX, the output pdf file contains [?], while it does not with pdfLaTeX.

The following commands can reproduce this issue.

./latexrun --clean-all && rm latex.out/ -rf
./latexrun --debug --latex-cmd=pdflatex test.tex
./latexrun --clean-all && rm latex.out/ -rf
./latexrun --debug --latex-cmd=xelatex test.tex
  • test.tex
\documentclass{article}

\begin{document}

test\cite{bib-test}

\bibliographystyle{unsrt}
\bibliography{bib}

\end{document}
  • bib.bib
@Book{bib-test,
  author =    {hoge},
  title =        {fuga},
  publisher =    {piyo},
  year =         {2016},
}

I'm using ubuntu 14.04

  • tex live : 2013
  • pdfTeX : 3.1415926-2.5-1.40.14
  • XeTeX : 3.1415926-2.5-0.9999.3-2014012222

This PR is one solution, but I don't think it's a good one...

How can I fix this issue?

Thanks,

@eisoku9618
Copy link
Author

  • XeLaTeX version
    xelatex
  • pdfLaTeX version
    pdflatex

@eisoku9618
Copy link
Author

Please let me add more information about this PR.

With XeLaTex, test.pdf contains [?] but latex.out/test.pdf does not.
The problem seems that latexrun finishes the process even though test.pdf is not the same with latex.out/test.pdf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant