Skip to content

Commit

Permalink
ENH: workaround for pandoc-xnos in example and template
Browse files Browse the repository at this point in the history
See #2
  • Loading branch information
elcorto committed Jan 28, 2024
1 parent 0ad542b commit 90cd654
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/md.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ tablenos-plus-name: Tab.
header-includes:
- |
```{=latex}
% https://github.com/elcorto/docwatch/issues/2
\usepackage{hyperref}
% "capitalise" is what "xnos-capitalise: true" does. If you don't use this
% setting, then just \usepackage{cleveref}.
\usepackage[capitalise]{cleveref}
\usepackage{xspace}
% only with lualatex or xelatex
Expand Down
6 changes: 6 additions & 0 deletions examples/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ tablenos-plus-name: Tab.
header-includes:
- |
```{=latex}
% https://github.com/elcorto/docwatch/issues/2
\usepackage{hyperref}
% "capitalise" is what "xnos-capitalise: true" does. If you don't use this
% setting, then just \usepackage{cleveref}.
\usepackage[capitalise]{cleveref}
\usepackage{xspace}
% only with lualatex or xelatex
Expand Down

0 comments on commit 90cd654

Please sign in to comment.