Giter Site home page Giter Site logo

Comments (8)

hjnnjh avatar hjnnjh commented on May 25, 2024 2

@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:
image

Using xe->bib->xe->xe:
image

What happened?

from annotate-equations.

st-- avatar st-- commented on May 25, 2024

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?

from annotate-equations.

hjnnjh avatar hjnnjh commented on May 25, 2024

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.

from annotate-equations.

st-- avatar st-- commented on May 25, 2024

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.

from annotate-equations.

hjnnjh avatar hjnnjh commented on May 25, 2024

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.

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.

from annotate-equations.

hjnnjh avatar hjnnjh commented on May 25, 2024

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 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%"
      ]
    }

from annotate-equations.

hjnnjh avatar hjnnjh commented on May 25, 2024

Really feel confused :(

from annotate-equations.

st-- avatar st-- commented on May 25, 2024

@hjnnjh what happens if you also comment out the two packages I had to comment out ?

from annotate-equations.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.