commit d13c582e5d312f9955b3c595523e70a2ceb296ff
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Jun 23 08:25:50 2019 +0200

    linguistics.module: use covington's semantic markups rather than self-baked 
ones
---
 lib/layouts/linguistics.module |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module
index 7d4f77b..a48fbc8 100644
--- a/lib/layouts/linguistics.module
+++ b/lib/layouts/linguistics.module
@@ -230,13 +230,11 @@ InsetLayout Flex:Expression
        LyxType               charstyle
        LabelString           expr.
        LatexType             command
-       LatexName             lingexpr
+       LatexName             lexp
+       Requires              covington
        Font
          Shape               Italic
        EndFont
-       Preamble
-               \newcommand{\lingexpr}[1]{\emph{#1}}
-       EndPreamble
        InToc                 true
        ResetsFont            true
 End
@@ -246,13 +244,11 @@ InsetLayout Flex:Concepts
        LyxType               charstyle
        LabelString           concept
        LatexType             command
-       LatexName             lingconcept
+       LatexName             lcon
+       Requires              covington
        Font
          Shape               Smallcaps
        EndFont
-       Preamble
-               \newcommand{\lingconcept}[1]{\textsc{#1}}
-       EndPreamble
        InToc                 true
        ResetsFont            true
 End
@@ -262,11 +258,8 @@ InsetLayout Flex:Meaning
        LyxType               charstyle
        LabelString           meaning
        LatexType             command
-       LatexName             lingmeaning
-       Requires              csquotes
-       Preamble
-               \newcommand{\lingmeaning}[1]{\enquote*{#1}}
-       EndPreamble
+       LatexName             lmean
+       Requires              covington,csquotes
        InToc                 true
        ResetsFont            true
 End

Reply via email to