From 114c3c250248d3660b8e4841abc1f2fba120b3d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 15 Jul 2011 20:59:13 +0000 Subject: [PATCH] - svcommon.inc: fix two bugs spotted by Marcus Kriele and some whitespace - Springer template files: describe the optional argument for Preface and Foreword git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39318 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/svcommon.inc | 10 ++++------ lib/templates/springer/svmono_foreword.lyx | 12 ++++++++++++ lib/templates/springer/svmono_preface.lyx | 12 ++++++++++++ lib/templates/springer/svmult_foreword.lyx | 12 ++++++++++++ lib/templates/springer/svmult_preface.lyx | 12 ++++++++++++ 5 files changed, 52 insertions(+), 6 deletions(-) diff --git a/lib/layouts/svcommon.inc b/lib/layouts/svcommon.inc index 1529141733..fcf2e84b09 100644 --- a/lib/layouts/svcommon.inc +++ b/lib/layouts/svcommon.inc @@ -497,10 +497,10 @@ End Style Foreword Margin First_Dynamic Category FrontMatter - LabelType Static - LabelString "Foreword" + LabelType Static + LabelString "Foreword" KeepEmpty 1 - LatexName foreword + LatexName foreword TocLevel 0 LatexType Command NeedProtect 1 @@ -520,10 +520,8 @@ End Style Preface CopyStyle Foreword - Category "For Authors" + Category FrontMatter LatexName preface - KeepEmpty 1 - OptionalArgs 0 InTitle 0 Margin First_Dynamic TopSep 4 diff --git a/lib/templates/springer/svmono_foreword.lyx b/lib/templates/springer/svmono_foreword.lyx index c4f4e54ee7..e070bd6f3f 100644 --- a/lib/templates/springer/svmono_foreword.lyx +++ b/lib/templates/springer/svmono_foreword.lyx @@ -62,6 +62,18 @@ \begin_body \begin_layout Foreword +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The style Foreword has an optional argument that overrides the default text + "Foreword". + This is useful when there are different forewords by different authors + and editors. +\end_layout + +\end_inset + \end_layout diff --git a/lib/templates/springer/svmono_preface.lyx b/lib/templates/springer/svmono_preface.lyx index 9904038b46..2318b2b4d4 100644 --- a/lib/templates/springer/svmono_preface.lyx +++ b/lib/templates/springer/svmono_preface.lyx @@ -62,6 +62,18 @@ \begin_body \begin_layout Preface +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The style Preface has an optional argument that overrides the default text + "Preface". + This is useful when there are different prefaces by different authors and + editors. +\end_layout + +\end_inset + \end_layout diff --git a/lib/templates/springer/svmult_foreword.lyx b/lib/templates/springer/svmult_foreword.lyx index 2c1d7f03c5..c1668508cf 100644 --- a/lib/templates/springer/svmult_foreword.lyx +++ b/lib/templates/springer/svmult_foreword.lyx @@ -62,6 +62,18 @@ \begin_body \begin_layout Foreword +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The style Foreword has an optional argument that overrides the default text + "Foreword". + This is useful when there are different forewords by different authors + and editors. +\end_layout + +\end_inset + \end_layout diff --git a/lib/templates/springer/svmult_preface.lyx b/lib/templates/springer/svmult_preface.lyx index 3de0a34582..4c6dc933e0 100644 --- a/lib/templates/springer/svmult_preface.lyx +++ b/lib/templates/springer/svmult_preface.lyx @@ -62,6 +62,18 @@ \begin_body \begin_layout Preface +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The style Preface has an optional argument that overrides the default text + "Preface". + This is useful when there are different prefaces by different authors and + editors. +\end_layout + +\end_inset + \end_layout -- 2.39.2