Skip to content

Commit 1ac9852

Browse files
committed
pandoc, latex - Add new shorthand template variable
1 parent 45c47a1 commit 1ac9852

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/resources/schema/document-language.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@
1919
- object
2020
description: YAML file containing custom language translations
2121

22+
- name: shorthands
23+
tags:
24+
formats: [pdf, beamer]
25+
schema: boolean
26+
default: false
27+
description:
28+
short: Enable babel language-specific shorthands in LaTeX output.
29+
long: |
30+
Enable babel language-specific shorthands in LaTeX output. When `true`,
31+
babel's language shortcuts are enabled (e.g., French `<<`/`>>` for guillemets,
32+
German `"` shortcuts, proper spacing around French punctuation).
33+
34+
Default is `false` because language shorthands can interfere with code blocks
35+
and other content. Only enable if you need specific typographic features
36+
for your language.
37+
2238
- name: dir
2339
schema:
2440
enum: [rtl, ltr]

0 commit comments

Comments
 (0)