From 6cd15b72bf1aa88fbff8ed5ad009d86e09150532 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 15 Jul 2018 21:33:07 -0700 Subject: Updated templates for pandoc 2.2.2 --- default.revealjs | 2 +- default.rst | 4 ++++ default.texinfo | 22 ---------------------- 3 files changed, 5 insertions(+), 23 deletions(-) diff --git a/default.revealjs b/default.revealjs index 6f847e2..68723ef 100644 --- a/default.revealjs +++ b/default.revealjs @@ -237,7 +237,7 @@ $if(maxScale)$ $endif$ $if(mathjax)$ math: { - mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js', + mathjax: '$mathjaxurl$', config: 'TeX-AMS_HTML-full', tex2jax: { inlineMath: [['\\(','\\)']], diff --git a/default.rst b/default.rst index e9c0dc2..937eb72 100644 --- a/default.rst +++ b/default.rst @@ -30,6 +30,10 @@ $if(toc)$ :depth: $toc-depth$ .. +$endif$ +$if(number-sections)$ +.. section-numbering:: + $endif$ $for(header-includes)$ $header-includes$ diff --git a/default.texinfo b/default.texinfo index 458d4fd..6938278 100644 --- a/default.texinfo +++ b/default.texinfo @@ -9,28 +9,6 @@ $if(strikeout)$ ~~\text\~~ @end macro -$endif$ -$if(subscript)$ -@macro textsubscript{text} -@iftex -@textsubscript{\text\} -@end iftex -@ifnottex -_@{\text\@} -@end ifnottex -@end macro - -$endif$ -$if(superscript)$ -@macro textsuperscript{text} -@iftex -@textsuperscript{\text\} -@end iftex -@ifnottex -^@{\text\@} -@end ifnottex -@end macro - $endif$ @ifnottex @paragraphindent 0 -- cgit v1.2.3