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

Commands don't work in the content of the page option #78

Closed
nickw2066 opened this issue Sep 20, 2024 · 2 comments
Closed

Commands don't work in the content of the page option #78

nickw2066 opened this issue Sep 20, 2024 · 2 comments

Comments

@nickw2066
Copy link

nickw2066 commented Sep 20, 2024

Describe the bug
Commands don't work in the content of the page option.

Additional information

  • TeX distribution: MacTeX 2024
  • Package citation-style-language version: latest release
  • LaTeX engine: lualatex

To Reproduce

\documentclass{article}

\begin{filecontents}[overwrite, noheader]{\jobname.json}
[
    {
        "id": "King2008-Gramma",
        "type": "thesis",
        "author": [
            {
                "family": "King",
                "given": "John T."
            }
        ],
        "title": "A Grammar of Dhimal",
        "publisher-place": "Netherlands",
        "publisher": "Universiteit Leiden",
        "URL": "https://scholarlypublications.universiteitleiden.nl/handle/1887/13072",
        "genre": "doctoral dissertation",
        "issued": {
            "date-parts": [
                [
                    "2008",
                    "9",
                    "3"
                ]
            ]
        },
        "accessed": {
            "date-parts": [
                [
                    "2024",
                    "08",
                    "13"
                ]
            ]
        }
    }
]
\end{filecontents}

\usepackage{citation-style-language}
\cslsetup{style = turabian-fullnote-bibliography}
\addbibresource{\jobname.json}

\newcommand{\hlm}{hlm.}

\begin{document}

Commands don't work in the content of the page option.\cite[page = {PDF \hlm\ 20}]{King2008-Gramma}

\end{document}

Screenshots
Screenshot 2024-09-20 at 12 41 29 PM

Turabian CSL

@zepinglee
Copy link
Owner

This bug is fixed in 381f661.

BTW what does “hlm.” mean?

@nickw2066
Copy link
Author

Thank you. The abbreviation "hlm." means "halaman" ('page' in Indonesian).

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