]> git.lyx.org Git - features.git/commitdiff
jasatex.layout: fix 'Acknowledgments' style
authorScott Kostyshak <skostysh@lyx.org>
Mon, 15 Apr 2013 21:06:23 +0000 (17:06 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 16 Apr 2013 08:55:34 +0000 (04:55 -0400)
'Acknowledgments' does not belong in the title but did not override
'InTitle 1' inherited from 'Abstract'. Without this patch, the
following error is given:

  output_latex.cpp (1111): Error in latexParagraphs: You should not
  mix title layouts with normal ones.

Thanks to Hashini Senaratne for narrowing down the problem.

lib/layouts/jasatex.layout

index 1c6efa99900dc6dde081ae523fdac10cc11f4cea..81a0befa07c6cc8a212a6da3b680be51e43d56dc 100644 (file)
@@ -231,6 +231,7 @@ Style Acknowledgments
        CopyStyle       Abstract
        LatexName       acknowledgments
        Category        BackMatter
+       InTitle         0
        LabelType       Above
        LabelString     "Acknowledgments"
        Font