Closed
Description
Explain the problem.
Consider the following markdown file, which includes a lang: it
metadata entry:
---
title: "My Title"
author: "This Author"
theme: Madrid
date: \today
toc: true
lang: it
---
# Section 1
## Slide 1
Lorem ipsum
## Slide 2
Doler sit amen
Compile it with:
pandoc --from markdown --to beamer --standalone main.md --output main.pdf
Section heading stays in English:
To obtain section heading in the correct language, we need to pass the language as beamer option.
pandoc --from markdown --to beamer --standalone main.md --output main.tex
Replace the document class with:
\documentclass[
ignorenonframetext,
italian
]{beamer}
Now we have the section heading in the correct language
Pandoc version?
What version of pandoc are you using, on what OS? (If it's not the latest release, please try with the latest release before reporting the issue.)
➜ pandoc --version
pandoc 3.1.13
Features: +server +lua
Scripting engine: Lua 5.4
User data directory: /home/raffaele/.local/share/pandoc
Copyright (C) 2006-2023 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.
OS is Arch Linux