[LyX/master] Remove AGU DTD style, probably doesn't work, impossible to check.

Pavel Sanda sanda at lyx.org
Wed Jul 8 11:12:19 UTC 2020


commit 8ac6fbf112ed5add8b6f0bd5821ee0c5c65d9134
Author: Thibaut Cuvelier <cuvelier.thibaut at gmail.com>
Date:   Tue Jul 7 00:11:09 2020 +0200

    Remove AGU DTD style, probably doesn't work, impossible to check.
---
 lib/Makefile.am                 |    6 -
 lib/layouts/agu-dtd.layout      |   16 --
 lib/layouts/agu_stdclass.inc    |  234 ------------------
 lib/layouts/agu_stdcounters.inc |   35 ---
 lib/layouts/agu_stdlists.inc    |   38 ---
 lib/layouts/agu_stdsections.inc |   87 -------
 lib/layouts/agu_stdtitle.inc    |  494 ---------------------------------------
 7 files changed, 0 insertions(+), 910 deletions(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index 4a657d8..010ef6f 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -2259,12 +2259,6 @@ dist_layouts_DATA =\
 	layouts/acmsiggraph-0-92.layout \
 	layouts/AEA.layout \
 	layouts/agutex.layout \
-	layouts/agu-dtd.layout \
-	layouts/agu_stdclass.inc \
-	layouts/agu_stdcounters.inc \
-	layouts/agu_stdlists.inc \
-	layouts/agu_stdsections.inc \
-	layouts/agu_stdtitle.inc \
 	layouts/agums.layout \
 	layouts/aguplus.inc \
 	layouts/algorithm2e.module \
diff --git a/lib/layouts/agu-dtd.layout b/lib/layouts/agu-dtd.layout
deleted file mode 100644
index 07214ee..0000000
--- a/lib/layouts/agu-dtd.layout
+++ /dev/null
@@ -1,16 +0,0 @@
-#% Do not delete the line below; configure depends on this
-#  \DeclareDocBookClass[AGU-article]{American Geophysical Union (AGU, SGML Article)}
-#  \DeclareCategory{Articles (DocBook)}
-# AGU XML textclass definition file.
-# Authors : Jose' Matos <jamatos at lyx.org>
-#           Martin Vermeer <martin.vermeer at hut.fi>
-
-
-Format 81
-Input agu_stdclass.inc
-
-# Exclude higher, or equal, sections:
-NoStyle Part
-NoCounter part
-NoStyle Chapter
-NoCounter chapter
diff --git a/lib/layouts/agu_stdclass.inc b/lib/layouts/agu_stdclass.inc
deleted file mode 100644
index a699bed..0000000
--- a/lib/layouts/agu_stdclass.inc
+++ /dev/null
@@ -1,234 +0,0 @@
-# Textclass definition file for AGU-Article.
-# Author : José Abílio Oliveira Matos <jamatos at lyx.org>
-#          Martin Vermeer <martin.vermeer at hut.fi>
-
-# This file is the counterpart of stdclass.inc
-# It is desirable, as far as possible, to have the same look and feel for
-# related layouts in latex and docbook.
-
-Format 82
-OutputType              docbook
-
-Columns                 1
-Sides                   1
-SecNumDepth             3
-TocDepth                3
-DefaultStyle            Standard
-
-ClassOptions
-	Header              "PUBLIC "-//AGU//DTD article American Geophysical Union DTD version 3.42//EN" "AGU-Article-3.42.dtd" "
-End
-
-Style Standard
-	Category              MainText
-	Margin                Static
-	LatexType             Paragraph
-	LatexName             p
-	ParIndent             MM
-	ParSkip               0.4
-	Align                 Block
-	LabelType             No_Label
-	LatexParam            "id=<para#>"
-End
-
-
-InsetLayout Flex:Firstname
-	LabelString Firstname
-	LatexType             Command
-	DocBookTag            firstname
-	Font
-	  Shape               SmallCaps
-	EndFont
-	LabelFont
-	  Shape               Up
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-InsetLayout Flex:Fname
-	LabelString Fname
-	LatexType             Command
-	DocBookTag            fname
-	Font
-	  Shape               SmallCaps
-	EndFont
-	LabelFont
-	  Shape               Up
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Surname
-	LabelString Surname
-	LatexType             Command
-	DocBookTag            surname
-	Font
-	  Shape               SmallCaps
-	EndFont
-	LabelFont
-	  Shape               Up
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Filename
-	LabelString Filename
-	LatexType             Command
-	DocBookTag            filename
-	Font
-	  Family              Typewriter
-	EndFont
-	LabelFont
-	  Family              Roman
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Literal
-	LabelString Literal
-	LatexType             Command
-	DocBookTag            literal
-	Font
-	  Family              Typewriter
-	EndFont
-	LabelFont
-	  Family              Roman
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Emph
-	LabelString Emph
-	LatexType             Command
-	DocBookTag            emph
-	DocBookAttr           "type='italic'"
-	Font
-	  Shape               Italic
-	EndFont
-	LabelFont
-	  Shape               Up
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Abbrev
-	LabelString Abbrev
-	LatexType             Command
-	DocBookTag            abbrev
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Citation-number
-	LabelString Citation-number
-	LatexType             Command
-	DocBookTag            citation-number
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Volume
-	LabelString Volume
-	LatexType             Command
-	DocBookTag            volume
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Day
-	LabelString Day
-	LatexType             Command
-	DocBookTag            day
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Month
-	LabelString Month
-	LatexType             Command
-	DocBookTag            month
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Year
-	LabelString Year
-	LatexType             Command
-	DocBookTag            year
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Issue-number
-	LabelString Issue-number
-	LatexType             Command
-	DocBookTag            issue-number
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Issue-day
-	LabelString Issue-day
-	LatexType             Command
-	DocBookTag            issue-day
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Issue-months
-	LabelString Issue-months
-	LatexType             Command
-	DocBookTag            issue-months
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-Input stdinsets.inc
-Input agu_stdlists.inc
-Input agu_stdsections.inc
-Input db_stdstarsections.inc
-Input agu_stdtitle.inc
-Input db_stdstruct.inc
-Input db_lyxmacros.inc
-Input db_stdlayouts.inc
-Input stdcounters.inc
-Input agu_stdcounters.inc
-Input stdfloats.inc
diff --git a/lib/layouts/agu_stdcounters.inc b/lib/layouts/agu_stdcounters.inc
deleted file mode 100644
index 51dbd78..0000000
--- a/lib/layouts/agu_stdcounters.inc
+++ /dev/null
@@ -1,35 +0,0 @@
-# Author : José Matos <jamatos at lyx.org>
-#          Martin Vermeer <martin.vermeer at hut.fi>
-
-# This include file contains all the counters that are defined as standard
-# in AGU-Article LyX layouts.
-
-Format 81
-Counter sect1
-	GuiName "Section Level 1"
-	Within               section
-End
-
-Counter sect2
-	GuiName "Section Level 2"
-	Within               sect1
-End
-
-Counter sect3
-	GuiName "Section Level 3"
-	Within               sect2
-End
-
-Counter sect4
-	GuiName "Section Level 4"
-	Within               sect3
-End
-
-Counter sect5
-	GuiName "Section Level 5"
-	Within               sect4
-End
-
-Counter para
-	GuiName Paragraph
-End
diff --git a/lib/layouts/agu_stdlists.inc b/lib/layouts/agu_stdlists.inc
deleted file mode 100644
index 84921e9..0000000
--- a/lib/layouts/agu_stdlists.inc
+++ /dev/null
@@ -1,38 +0,0 @@
-# Textclass definition file for AGU-Article.
-# Author : José Abílio Oliveira Matos <jamatos at lyx.org>
-#          Martin Vermeer <martin.vermeer at hut.fi>
-
-# This is the counterpart of stdlists.inc
-# It is desirable, as far as possible, to have the same look and feel for
-# related layouts in latex and docbook.
-
-Format 81
-Input stdlists.inc
-
-
-Style Itemize
-	LatexType             Item_Environment
-	LatexName             lst
-	Latexparam            "type=<bulleted>"
-	ItemTag               item
-End
-
-
-Style Enumerate
-	LatexType             Item_Environment
-	LatexName             lst
-	Latexparam            "type=<ordered>"
-	ItemTag               item
-End
-
-
-Style Description
-	LatexType             Item_environment
-	LatexName             lst
-	Latexparam            "type=<unordered>"
-	ItemTag               item
-End
-
-# maybe List is the same as simplelist (I need to check it).
-NoStyle List
-
diff --git a/lib/layouts/agu_stdsections.inc b/lib/layouts/agu_stdsections.inc
deleted file mode 100644
index a3e912e..0000000
--- a/lib/layouts/agu_stdsections.inc
+++ /dev/null
@@ -1,87 +0,0 @@
-# Textclass definition file for docbook.
-# Author : José Abílio Oliveira Matos <jamatos at lyx.org>
-#          Martin Vermeer <martin.vermeer at hut.fi>
-
-# This file is the counterpart of stdsections.inc
-# It is desirable, as far as possible, to have the same look and feel for
-# related layouts in latex and docbook.
-
-Format 81
-Input stdsections.inc
-
-Style Part
-	LatexType             Command
-	LatexName             part
-	InnerTag              head
-	LabelTag              label
-	CommandDepth          0
-End
-
-
-Style Chapter
-	LatexType             Command
-	LatexName             chapter
-	InnerTag              head
-	LabelTag              label
-	CommandDepth          1
-End
-
-
-Style Section
-	LatexType             Command
-	LatexName             section
-	InnerTag              head
-	LabelTag              label
-	CommandDepth          2
-	LatexParam            "id=<s#>"
-End
-
-
-Style Subsection
-	LatexType             Command
-	LatexName             subsect1
-	InnerTag              head
-	LabelTag              label
-	CommandDepth          3
-	LatexParam            "id=<s#>"
-End
-
-
-Style Subsubsection
-	LatexType             Command
-	LatexName             subsect2
-	InnerTag              head
-	LabelTag              label
-	CommandDepth          4
-	LatexParam            "id=<s#>"
-End
-
-
-Style Paragraph
-	LatexType             Command
-	LatexName             subsect3
-	InnerTag              head
-	LabelTag              label
-	CommandDepth          5
-	LatexParam            "id=<s#>"
-End
-
-
-Style Subparagraph
-	LatexType             Command
-	LatexName             subsect4
-	InnerTag              head
-	LabelTag              label
-	CommandDepth          6
-	LatexParam            "id=<s#>"
-End
-
-Style Subsubparagraph
-	LatexType             Command
-	LatexName             subsect5
-	InnerTag              head
-	LabelTag              label
-	CommandDepth          7
-	LatexParam            "id=<s#>"
-End
-
diff --git a/lib/layouts/agu_stdtitle.inc b/lib/layouts/agu_stdtitle.inc
deleted file mode 100644
index 949f63f..0000000
--- a/lib/layouts/agu_stdtitle.inc
+++ /dev/null
@@ -1,494 +0,0 @@
-# Textclass definition file for agu-dtd.
-# Author : José Abílio Oliveira Matos <jamatos at lyx.org>
-# Modified Martin Vermeer <martin.vermeer at hut.fi>
-#
-# This file is the counterpart of stdstyle.inc
-# It is desirable, as far as possible, to have the same look and feel for
-# related layouts in latex and docbook.
-
-Format 82
-Input stdtitle.inc
-
-
-Style Header
-	Margin                Static
-	LatexType             Command
-	LatexName             header
-	LabelSep              xx
-	LabelType             Centered
-	LabelString           "-- Header --"
-	CommandDepth          2
-	KeepEmpty             1
-	NextNoIndent          1
-	LabelFont
-	  Size                Largest
-	  Series              Bold
-	  Color               blue
-	EndFont
-End
-
-
-Style Special-section
-	CopyStyle             Header
-	Margin                Dynamic
-	LatexName             special-section
-	LabelType             Static
-	LabelSep              M
-	LabelString           "Special-section:"
-	CommandDepth          3
-	LabelFont
-	  Size                Normal
-	  Series              Medium
-	EndFont
-End
-
-
-
-Style AGU-journal
-	CopyStyle             Special-section
-	LatexParam            "journal-code=<$1> electronic-only=<yes>"
-	LatexName             AGU-journal
-	LabelString           "AGU-journal:"
-	CommandDepth          3
-End
-
-
-Style Citation-number
-	CopyStyle             Special-section
-	LatexName             citation-number
-	LabelString           "Citation-number:"
-	CommandDepth          3
-End
-
-
-
-Style AGU-volume
-	CopyStyle             Special-section
-	LatexName             AGU-volume
-	LabelString           "AGU-volume:"
-	CommandDepth          3
-End
-
-
-Style AGU-issue
-	CopyStyle             Special-section
-	LatexName             AGU-issue
-	LabelString           "AGU-issue:"
-	CommandDepth          3
-End
-
-
-Style Copyright
-	CopyStyle             Special-section
-	LatexName             copyright
-	LabelString           "Copyright:"
-	CommandDepth          3
-End
-
-
-Style Index-terms
-	CopyStyle             Special-section
-	LatexName             index-terms
-	TopSep                1.0
-	LabelString           "Index-terms..."
-	CommandDepth          3
-	LabelFont
-	  Shape               Italic
-      Size                Large
-	EndFont
-End
-
-
-Style Index-term
-	CopyStyle             Special-section
-	LatexName             index-term
-	LabelIndent           MM
-	LabelString           "Index-term:"
-	CommandDepth          4
-End
-
-
-Style Cross-term
-	CopyStyle             Special-section
-	LatexName             cross-term
-	LabelIndent           MM
-	LabelString           "Cross-term:"
-	CommandDepth          4
-End
-
-
-Style Keywords
-	CopyStyle             Special-section
-	LatexName             keywords
-	LabelString           "Keywords:"
-	CommandDepth          3
-End
-
-
-Style Affiliation
-	Category              FrontMatter
-	CopyStyle             Special-section
-	LatexName             affiliation
-	LabelString           "Affiliation:"
-	CommandDepth          3
-End
-
-
-Style Supplementary
-	CopyStyle             Special-section
-	LatexName             sup-mat-ref
-	TopSep                1.0
-	LabelString           "Supplementary..."
-	CommandDepth          3
-	LabelFont
-	  Shape               Italic
-	  Size                Large
-	EndFont
-End
-
-
-Style Supp-note
-	CopyStyle             Special-section
-	LatexName             sup-mat-note
-	LabelIndent           MM
-	LabelString           "Sup-mat-note:"
-	CommandDepth          4
-End
-
-
-Style Cite-other
-	CopyStyle             Special-section
-	LatexName             cite-other
-	LabelIndent           MM
-	LabelString           "Cite-other:"
-	CommandDepth          4
-End
-
-
-Style Author
-	CopyStyle             Special-section
-	Margin                Static
-	LeftMargin            MMM
-	LatexName             author
-	TopSep                0.8
-	BottomSep             0.8
-	Align                 Center
-	AlignPossible         Center
-	LabelType             No_Label
-	CommandDepth          3
-	Font
-	  Size                Large
-	EndFont
-End
-
-
-Style Name
-	CopyStyle             Special-section
-	LatexName             name
-	LabelIndent           MM
-	LabelString           "Name:"
-	CommandDepth          4
-End
-
-
-Style Abstract
-	CommandDepth          3
-End
-
-
-Style Received
-	CopyStyle             Special-section
-	LatexName             received
-	LabelString           "Received:"
-	CommandDepth          3
-End
-
-
-Style Revised
-	CopyStyle             Special-section
-	LatexName             revised
-	LabelString           "Revised:"
-	CommandDepth          3
-End
-
-
-Style Accepted
-	CopyStyle             Special-section
-	LatexName             accepted
-	LabelString           "Accepted:"
-	CommandDepth          3
-End
-
-
-Style Ident-line
-	CopyStyle             Special-section
-	LatexName             ident-line
-	LabelString           "Ident-line:"
-	CommandDepth          3
-End
-
-
-Style Runhead
-	CopyStyle             Special-section
-	LatexName             runhead
-	LabelString           "Runhead:"
-	CommandDepth          3
-End
-
-
-Style Date
-	CopyStyle             Special-section
-	LatexName             published-online
-	LabelString           "Published-online:"
-	CommandDepth          3
-End
-
-
-Style Title
-	CopyStyle             Special-section
-	Margin                Static
-	LeftMargin            MMM
-	LatexName             title
-	CommandDepth          3
-	TopSep                1.0
-	BottomSep             1.0
-	Align                 Center
-	AlignPossible         Center
-	LabelType             No_Label
-    Font
-      Size                Largest
-	EndFont
-End
-
-
-Style Citation
-	CopyStyle             Special-section
-	LatexName             citation
-	LabelString           "Citation:"
-	CommandDepth          3
-End
-
-
-Style Posting-order
-	CopyStyle             Special-section
-	LatexName             posting-order
-	LabelString           "Posting-order:"
-	CommandDepth          3
-End
-
-
-Style AGU-pages
-	CopyStyle             Special-section
-	LatexName             AGU-pages
-	LabelString           "AGU-pages:"
-	CommandDepth          3
-End
-
-
-Style Words
-	CopyStyle             Special-section
-	LatexName             words
-	LabelString           "Words:"
-	CommandDepth          3
-End
-
-
-Style Figures
-	CopyStyle             Special-section
-	LatexName             figures
-	LabelString           "Figures:"
-	CommandDepth          3
-End
-
-
-Style Tables
-	CopyStyle             Special-section
-	LatexName             tables
-	LabelString           "Tables:"
-	CommandDepth          3
-End
-
-
-Style Datasets
-	CopyStyle             Special-section
-	LatexName             datasets
-	LabelString           "Datasets:"
-	CommandDepth          3
-End
-
-
-# Inside AGU-journal:
-
-InsetLayout Flex:ISSN
-	LabelString ISSN
-	LatexType             Command
-	DocBookTag            biblioid
-	DocBookAttr           "class='issn'"
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:CODEN
-	LabelString CODEN
-	LatexType             Command
-	DocBookTag            biblioid
-	DocBookAttr           "class='coden'"
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-# Inside Special-section:
-
-InsetLayout Flex:SS-Code
-	LabelString SS-Code
-	LatexType             Command
-	DocBookTag            ss-code
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:SS-Title
-	LabelString SS-Title
-	LatexType             Command
-	DocBookTag            ss-title
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-# Inside Copyright:
-
-InsetLayout Flex:CCC-Code
-	LabelString CCC-Code
-	LatexType             Command
-	DocBookTag            CCCcode
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-# Inside Index-term:
-
-InsetLayout Flex:Code
-	LabelString Code
-	LatexType             Command
-	DocBookTag            code
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Dscr
-	LabelString Dscr
-	LatexType             Command
-	DocBookTag            dscr
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-# Inside Keywords:
-
-InsetLayout Flex:Keyword
-	LabelString Keyword
-	LatexType             Command
-	DocBookTag            keyword
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-#inside Affiliation:
-
-InsetLayout Flex:Orgdiv
-	LabelString Orgdiv
-	LatexType             Command
-	DocBookTag            orgdiv
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Orgname
-	LabelString Orgname
-	LatexType             Command
-	DocBookTag            orgname
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Street
-	LabelString Street
-	LatexType             Command
-	DocBookTag            street
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:City
-	LabelString City
-	LatexType             Command
-	DocBookTag            city
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:State
-	LabelString State
-	LatexType             Command
-	DocBookTag            state
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Postcode
-	LabelString Postcode
-	LatexType             Command
-	DocBookTag             postcode
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-
-InsetLayout Flex:Country
-	LabelString Country
-	LatexType             Command
-	DocBookTag             country
-	LabelFont
-	  Color               blue
-	EndFont
-	ResetsFont true
-End
-
-


More information about the lyx-cvs mailing list