Skip to content

Allow using Pandoc filter in LaTeX commands#43

Open
madman-bob wants to merge 1 commit intoidris-community:mainfrom
madman-bob:pandoc
Open

Allow using Pandoc filter in LaTeX commands#43
madman-bob wants to merge 1 commit intoidris-community:mainfrom
madman-bob:pandoc

Conversation

@madman-bob
Copy link
Copy Markdown
Contributor

Following conversation with @ohad, where he explained that you cannot use Verbatim environments inside LaTeX command calls.

I moved the Katla snippet declarations to the headers, so the only thing left in the document body is the command call, and added a test that the Pandoc plugin interacts well with commands. This does mean intermediate LaTeX looks a little strange without an explicit template, but it still works fine.

As a nice side-effect, this also gets rid of the extra spaces I complained about when I first made this plugin.

@madman-bob madman-bob force-pushed the pandoc branch 7 times, most recently from e5542e0 to 2e21011 Compare May 19, 2025 15:40
@ohad
Copy link
Copy Markdown
Collaborator

ohad commented May 20, 2025

Nice, thanks!
I would prefer not to add pandoc to existing ubuntu-ci dependencies, but instead create another copy of CI, say pandoc-ubuntu-ci which will have this dependency.

(Pandoc tests should be skipped if pandoc is not installed.)

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

Successfully merging this pull request may close these issues.

2 participants