From 770df9056fbc21b6ec1e7fdfb07baa92346adcf3 Mon Sep 17 00:00:00 2001 From: Sebastian Preisner Date: Wed, 13 Oct 2021 16:54:50 +0200 Subject: [PATCH] reorgenice commant for different language support only add the commant if the different language is activated --- wbh.tex | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/wbh.tex b/wbh.tex index 22101c2..2d7fe82 100644 --- a/wbh.tex +++ b/wbh.tex @@ -18,15 +18,17 @@ listof=totocnumbered ]{scrartcl} +$if(lang)$ % Support different languages % default: en % ----------------------------------------------------------------------- -$if(lang)$ - \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel} - $if(babel-newcommands)$ - $babel-newcommands$ - $endif$ - %\usepackage[utf8]{inputenc} +\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel} + +$if(babel-newcommands)$ +$babel-newcommands$ +$endif$ + +%\usepackage[utf8]{inputenc} $endif$ \usepackage{amsmath} % For pandoc extensive `amsmath` collection of symbols for typesetting ordinary math