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

Indexing #271

Open
jfritzp opened this issue Mar 25, 2024 · 0 comments
Open

Indexing #271

jfritzp opened this issue Mar 25, 2024 · 0 comments

Comments

@jfritzp
Copy link

jfritzp commented Mar 25, 2024

Consider der following MWE:

\documentclass{scrartcl}

\usepackage[ngerman]{babel}
\usepackage{acro}
\usepackage{imakeidx}
\makeindex

\acsetup{
  index/use = true,
}

\DeclareAcronym{sl}{
  short        = SL,
  long         = Saalleiter,
  index        = {Aufsicht}
}

\begin{document}

foo\index{foo} \ac{sl}

\printindex

\end{document}

Would have expected "Aufsicht" in the index. If index = {Aufsicht} is commented out, "SL" appears in the index. See also (in german):
https://www.texwelt.de/fragen/29413/alternativer-begriff-mit-paket-acro-im-index

This is pdfTeX, Version 3.141592653-2.6-1.40.26 (MiKTeX 24.3) (preloaded format=pdflatex 2024.3.20)  22 MAR 2024 15:51
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**./acro-index.tex
(acro-index.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>


 *File List*
scrartcl.cls    2023/07/07 v3.41 KOMA-Script document class (article)
scrkbase.sty    2023/07/07 v3.41 KOMA-Script package (KOMA-Script-dependent bas
ics and keyval usage)
 scrbase.sty    2023/07/07 v3.41 KOMA-Script package (KOMA-Script-independent b
asics and keyval usage)
scrlfile.sty    2023/07/07 v3.41 KOMA-Script package (file load hooks)
scrlfile-hook.sty    2023/07/07 v3.41 KOMA-Script package (using LaTeX hooks)
 scrlogo.sty    2023/07/07 v3.41 KOMA-Script package (logo)
  keyval.sty    2022/05/29 v1.15 key=value parser (DPC)
tocbasic.sty    2023/07/07 v3.41 KOMA-Script package (handling toc-files)
scrsize11pt.clo    2023/07/07 v3.41 KOMA-Script font size class option (11pt)
typearea.sty    2023/07/07 v3.41 KOMA-Script package (type area)
   babel.sty    2024/02/07 v24.2 The Babel package
 bblopts.cfg    2005/09/08 v0.1 add Arabic and Farsi to "declared" options of b
abel
 ngerman.ldf    2024/01/19 v2.14 German support for babel (post-1996 orthograph
y)
babel-ngerman.tex
    acro.sty    2022/04/01 v3.8 typeset acronyms and other abbreviations (CN)
l3keys2e.sty    2024-03-14 LaTeX2e option processing using LaTeX3 keys
   expl3.sty    2024-03-14 L3 programming layer (loader) 
l3backend-pdftex.def    2024-03-14 L3 backend support: PDF output (pdfTeX)
translations.sty    2022/02/05 v1.12 internationalization of LaTeX2e packages (
CN)
etoolbox.sty    2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
pdftexcmds.sty    2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty    2019/12/03 v1.5 Providing info/warning/error messages (HO)
   iftex.sty    2022/02/03 v1.0f TeX engine tests
 ltxcmds.sty    2023-12-04 v1.26 LaTeX kernel commands for general use (HO)
imakeidx.sty    2016/10/15 v1.3e Package for typesetting indices in a synchrono
us mode
 xkeyval.sty    2022/06/16 v2.9 package option processing (HA)
 xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
 ifxetex.sty    2019/10/25 v0.7 ifxetex legacy package. Use iftex instead.
ifluatex.sty    2019/10/25 v1.5 ifluatex legacy package. Use iftex instead.
multicol.sty    2023/03/30 v1.9f multicolumn formatting (FMi)
translations-basic-dictionary-german.trsl    (german translation file `translat
ions-basic-dictionary')
acro-index.ind
 ***********
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

1 participant