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

Labels ref is rendered as ?? #24

Open
jmeinlschmidt opened this issue Apr 14, 2023 · 1 comment
Open

Labels ref is rendered as ?? #24

jmeinlschmidt opened this issue Apr 14, 2023 · 1 comment

Comments

@jmeinlschmidt
Copy link

jmeinlschmidt commented Apr 14, 2023

While the \ref macro renders normally in Overleaf, I get ?? for all references in the resulting file when processing this action.

Examples:

\ref{analysis}

% ...

\section{Analysis and design}
\label{analysis}

Used configuration

      - name: Compile LaTeX document
        uses: dante-ev/latex-action@latest
        with:
          root_file: $TEXT_SRC.tex
          compiler: lualatex
          args: -lualatex -latexoption=-file-line-error -latexoption=-interaction=nonstopmode -shell-escape

Any ideas? Thank you!

@koppor
Copy link
Member

koppor commented May 12, 2023

You need to run lualatex twice to get labels rendered correctly. Reason: lualatex is a single-pass compiler and the reference was put before the label.

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

No branches or pull requests

2 participants