From f33454b3c7c58aa86c9e30ae92f3c9e909909f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Thu, 30 May 2013 18:15:44 +0200 Subject: [PATCH] LaTeXFeatures.cpp: add rsphrase - also modify the rsphrase.module - correct naming scheme for the bicaption.module --- lib/layouts/bicaption.module | 2 +- lib/layouts/rsphrase.module | 6 ++---- src/LaTeXFeatures.cpp | 3 ++- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/layouts/bicaption.module b/lib/layouts/bicaption.module index 5f87a8fba6..4d3c8729cd 100644 --- a/lib/layouts/bicaption.module +++ b/lib/layouts/bicaption.module @@ -1,4 +1,4 @@ -#\DeclareLyXModule[bicaption.sty]{Multilingual captions} +#\DeclareLyXModule[bicaption.sty]{Multilingual Captions} #DescriptionBegin #Provides two styles to typeset multilingual captions. #For a description see the file MultilingualCaptions.lyx in LyX's examples folder. diff --git a/lib/layouts/rsphrase.module b/lib/layouts/rsphrase.module index 06fde1bd7c..935da9fbf0 100644 --- a/lib/layouts/rsphrase.module +++ b/lib/layouts/rsphrase.module @@ -8,14 +8,11 @@ Format 45 -AddToPreamble - \usepackage{rsphrase} -EndPreamble - InsetLayout "Flex:R-S number" LyxType custom LatexType command LatexName rsnumber + Requires rsphrase LabelString "R-S number" Font Color foreground @@ -42,6 +39,7 @@ End Style "Safety phrase" LatexType command LatexName rsphrase + Requires rsphrase Category MainText NextNoIndent 1 Argument 1 diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 924308c50c..d23f8b0b47 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -734,7 +734,8 @@ char const * simplefeatures[] = { "multicol", "multirow", "tfrupee", - "shapepar" + "shapepar", + "rsphrase" }; char const * bibliofeatures[] = {