8000 Pandoc with `--natbib` swallows locators in its output · Issue #10057 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Pandoc with --natbib swallows locators in its output #10057
Closed
@wenkokke

Description

@wenkokke

Related to #9640 and #9962.

Pandoc with --natbib swallows locators in its output.

Create a file named sample.md with the following contents:

We all love the famous proof by @BenjaminHornigold [p. 42].
But is it real?
No. Probably not.

Run the following command:

pandoc sample.md --natbib -t latex

The expected output is:

We all love the famous proof by \citet[p. 42]{BenjaminHornigold}. But is it
real? No.~Probably not.

The actual output is:

We all love the famous proof by \citet[42]{BenjaminHornigold}. But is it
real? No.~Probably not.

It's possible that Pandoc applies default the Chicago style to when formatting locators.
However, passing --csl with an alternative style, such as Harvard, does not affect the output.

Pandoc version?
I'm running Pandoc 3.2.1 on macOS 13.

pandoc 3.2.1
Features: +server +lua
Scripting engine: Lua 5.4
User data directory: /Users/keri/.local/share/pandoc
Copyright (C) 2006-2024 John MacFarlane. Web: https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0