]> git.lyx.org Git - features.git/commitdiff
* scrclass.inc: \addpart, \addchap and \addsec have an optional argument.
authorJürgen Spitzmüller <spitz@lyx.org>
Thu, 16 Dec 2010 08:59:22 +0000 (08:59 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Thu, 16 Dec 2010 08:59:22 +0000 (08:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36903 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/scrclass.inc

index 46a0e263e76ab65da898d79e71c55dfc0acf6774..46354924b73eb86a01d899eb54e09abe94232c15 100644 (file)
@@ -110,18 +110,21 @@ Input stdstarsections.inc
 Style Addpart
        CopyStyle             Part*
        LatexName             addpart
+       OptionalArgs          1
 End
 
 
 Style Addchap
        CopyStyle             Chapter*
        LatexName             addchap
+       OptionalArgs          1
 End
 
 
 Style Addsec
        CopyStyle             Section*
        LatexName             addsec
+       OptionalArgs          1
 End