Closed hjnnjh closed 1 year ago
Hi, does it work without bibtex? I've not worked with xelatex myself, so it might be that it's not actually compatible, but hard to say without a concrete example. Can you prepare a minimal reproducible example that demonstrates the issue?
Hi, does it work without bibtex? I've not worked with xelatex myself, so it might be that it's not actually compatible, but hard to say without a concrete example. Can you prepare a minimal reproducible example that demonstrates the issue?
This is one of my beamer projects. If you don't add references, compile four times withxelatex
and everything works fine. If you add references, that is, use xe->bib->xe->xe
compile chain, there will be a problem.
I've downloaded your example project and it seems to compile fine for me. I use latexmk
to let it figure out which commands to run how often, using the following command-line:
latexmk -xelatex -shell-escape slide
(the -shell-escape
seems to be needed by the minted
package).
The only change I had to make to your file is comment out settings related to fonts I don't have,
-\setsansfont{PingFang SC} % make sure your system has this font
-\setCJKsansfont{STSongti-SC-Bold} % Chinese font, make sure your system has this font
I'm going to close this issue for now as I can't reproduce the issue.
I've downloaded your example project and it seems to compile fine for me. I use
latexmk
to let it figure out which commands to run how often, using the following command-line:latexmk -xelatex -shell-escape slide
(the
-shell-escape
seems to be needed by theminted
package).The only change I had to make to your file is comment out settings related to fonts I don't have,
-\setsansfont{PingFang SC} % make sure your system has this font -\setCJKsansfont{STSongti-SC-Bold} % Chinese font, make sure your system has this font
I'm going to close this issue for now as I can't reproduce the issue.
Why did I get the different result by running the same command :(. My texlive version is texlive 2023
and Latexmk
version is John Collins, 4 Apr. 2023. Version 4.80.
Latexmk: Maximum runs of xelatex reached without getting stable files
Latexmk: Summary of warnings from last run of *latex:
=====Latex reported missing or unavailable character(s).
=====See log file for details.
Latexmk: ====List of undefined refs and citations:
Missing character: There is no fi ("FB01) in font ec-lmss10!
Latexmk: Errors, so I did not complete making targets
----------------------
This message may duplicate earlier message.
Latexmk: Failure in processing file 'slide':
'xelatex' needed too many passes
----------------------
Latexmk: If appropriate, the -f option can be used to get latexmk
to try to force complete processing.
I've downloaded your example project and it seems to compile fine for me. I use
latexmk
to let it figure out which commands to run how often, using the following command-line:latexmk -xelatex -shell-escape slide
(the
-shell-escape
seems to be needed by theminted
package).The only change I had to make to your file is comment out settings related to fonts I don't have,
-\setsansfont{PingFang SC} % make sure your system has this font -\setCJKsansfont{STSongti-SC-Bold} % Chinese font, make sure your system has this font
I'm going to close this issue for now as I can't reproduce the issue.
I compiled this project in VSCode, and the corresponding setting is as follows:
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-xelatex",
"-synctex=1",
"-shell-escape",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
}
Really feel confused :(
@hjnnjh what happens if you also comment out the two packages I had to comment out ?
@hjnnjh what happens if you also comment out the two packages I had to comment out ?
if I compile it with .bib
file, which means:
-\setsansfont{PingFang SC} % make sure your system has this font
-\setCJKsansfont{STSongti-SC-Bold} % Chinese font, make sure your system has this font
+\begin{frame}[allowframebreaks]{References}
+ \bibliography{reference}
+ \bibliographystyle{informs2014}
+\end{frame}
...
+Model only one kind of customer digital footprints—news consumption\citep{trusov2016crumbs};
Using latexmk
:
Using xe->bib->xe->xe
:
What happened?
When I need to compile references and citations in a beamer project using
Bibtex
no matter how many times I compile withxelatex
, the comments don't get put in the right place. I've tried "xe->bib->xe->xe", "xe->bib->xe->xe->xe->xe" etc.