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

Glossary not working #97

Closed
AC37-rulescommittee opened this issue Jul 16, 2022 · 1 comment
Closed

Glossary not working #97

AC37-rulescommittee opened this issue Jul 16, 2022 · 1 comment

Comments

@AC37-rulescommittee
Copy link

Hello,

I try to generate a document with XeLaTex containing a glossary. Here a plain simple example:

`\documentclass[a4paper,12pt,]{scrartcl}

\usepackage[toc]{glossaries}
\newglossaryentry{computer}
{
name=computer,
plural=computers,
description={is a programmable machine that receives input,
stores and manipulates data, and provides
output in a useful format}
}
\makeglossaries

\begin{document}
\tableofcontents
\section{TEST}\label{ch:Test}
In our company we are using \glspl{computer}.
\begin{appendix}
\printglossaries
\end{appendix}
\end{document}`

Running it with the following yml file:

`name: Github Action for LaTeX
on: [workflow_dispatch]

jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LateX document (Run 1)
uses: xu-cheng/latex-action@v2
with:
root_file: glossary_test.tex
latexmk_use_xelatex: true
- name: Compile LateX document (Run 2)
uses: xu-cheng/latex-action@v2
with:
root_file: glossary_test.tex
latexmk_use_xelatex: true
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Upload
uses: actions/upload-artifact@v2
with:
name: PDF
path: glossary_test.pdf`

I don't get the glossary built and have the following message when running XeLaTex:

... (scrartcl) \appendix' on input line 18.
No file glossary_test.gls.
[1] (./glossary_test.aux) )
Output written on glossary_test.xdv (1 page, 1488 bytes).
...`

@xu-cheng
Copy link
Owner

See #96

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