From 1db9b50407d109d0516b047ba174b74c49486df1 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 17 Feb 2017 08:35:41 +0100 Subject: [PATCH] Use \providecommand for logical markup macros \strong is already defined by recent fontspec. Also use non-long definition (starred version), since the insets only contain one paragraph. --- lib/layouts/logicalmkup.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/layouts/logicalmkup.module b/lib/layouts/logicalmkup.module index 33b954d474..5f75acdf6e 100644 --- a/lib/layouts/logicalmkup.module +++ b/lib/layouts/logicalmkup.module @@ -52,7 +52,7 @@ InsetLayout Flex:Strong Series Bold EndFont Preamble - \newcommand{\strong}[1]{\textbf{#1}} + \providecommand*{\strong}[1]{\textbf{#1}} EndPreamble InToc true HTMLTag strong @@ -69,7 +69,7 @@ InsetLayout Flex:Code Family Typewriter EndFont Preamble - \newcommand{\code}[1]{\texttt{#1}} + \providecommand*{\code}[1]{\texttt{#1}} EndPreamble InToc true HTMLTag code -- 2.39.2