]> git.lyx.org Git - features.git/commitdiff
linguistics.module: use covington's semantic markups rather than self-baked ones
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 23 Jun 2019 06:25:50 +0000 (08:25 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 23 Jun 2019 06:25:50 +0000 (08:25 +0200)
lib/layouts/linguistics.module

index 7d4f77b972abdf058f67e0dcfa3c8fe8123724a0..a48fbc8409113b73501156a931b0aebd909a4fbb 100644 (file)
@@ -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