On Wed, Dec 17, 2003 at 04:11:02PM +0000, Jose' Matos spake thusly:
 
> On Wednesday 17 December 2003 16:15, Martin Vermeer wrote:
> > >   In docbook the whole header-like stuff is at the same depth as the
> > > usual sections for that style ( section for articles and chapters for
> > > book) so that as soon as the chapter begins the header closes.
> > >
> > >   This has some problems, sometimes but IMHO it is more homegeneous than
> > > the intitle hack. :-)
> >
> > The attached is done in that way. I also fixed a bug that made it
> > impossible to have an empty command with KeepEmpty = 1 :-)
> >
> > Does this look OK?
> 
>       Sure. :-)
>       Perfect, I would say. ;-)
> 
> > - Martin
> 
> -- 
> José Abílio
 
Here is some further work on the AGU header. It starts looking really
good now. See 

        http://www.hut.fi/~mvermeer/agu_pic.jpeg

(some changes were made after that still)

As this is pretty unproblematic stuff and unconnected to anything
else, I'll just check it in later today unless I hear objections.

- Martin
 

-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Dept. of Surveying, Inst. of Geodesy
P.O. Box 1200, FIN-02015 HUT, Finland
:wq
Index: layouts/agu_stdclass.inc
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/agu_stdclass.inc,v
retrieving revision 1.4
diff -u -p -r1.4 agu_stdclass.inc
--- layouts/agu_stdclass.inc    18 Dec 2003 12:42:02 -0000      1.4
+++ layouts/agu_stdclass.inc    22 Dec 2003 07:55:35 -0000
@@ -43,10 +43,22 @@ CharStyle Firstname
        EndFont
 End
 
+CharStyle Fname
+       LatexType             Command
+       LatexName             fname
+       Font
+         Shape               SmallCaps
+       EndFont
+       LabelFont
+         Shape               Up
+         Color               blue
+       EndFont
+End
+
 
 CharStyle Surname
        LatexType             Command
-       LatexName             firstname
+       LatexName             surname
        Font
          Shape               SmallCaps
        EndFont
@@ -59,7 +71,7 @@ End
 
 CharStyle Filename
        LatexType             Command
-       LatexName             firstname
+       LatexName             filename
        Font
          Family              Typewriter
        EndFont
@@ -72,7 +84,7 @@ End
 
 CharStyle Literal
        LatexType             Command
-       LatexName             firstname
+       LatexName             literal
        Font
          Family              Typewriter
        EndFont
@@ -92,6 +104,87 @@ CharStyle Emph
        EndFont
        LabelFont
          Shape               Up
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Abbrev
+       LatexType             Command
+       LatexName             abbrev
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Citation-number
+       LatexType             Command
+       LatexName             citation-number
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Volume
+       LatexType             Command
+       LatexName             volume
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Day
+       LatexType             Command
+       LatexName             day
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Month
+       LatexType             Command
+       LatexName             month
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Year
+       LatexType             Command
+       LatexName             year
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Issue-number
+       LatexType             Command
+       LatexName             issue-number
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Issue-day
+       LatexType             Command
+       LatexName             issue-day
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Issue-months
+       LatexType             Command
+       LatexName             issue-months
+       LabelFont
          Color               blue
        EndFont
 End
Index: layouts/agu_stdtitle.inc
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/agu_stdtitle.inc,v
retrieving revision 1.1
diff -u -p -r1.1 agu_stdtitle.inc
--- layouts/agu_stdtitle.inc    18 Dec 2003 12:42:02 -0000      1.1
+++ layouts/agu_stdtitle.inc    22 Dec 2003 07:55:35 -0000
@@ -20,7 +20,8 @@ Style Header
        KeepEmpty             1
        NextNoIndent          1
        LabelFont
-         Color               green
+         Size                Largest
+         Color               blue
        EndFont
 End
 
@@ -32,19 +33,30 @@ Style Special-section
        LabelString           "<special-section>"
        CommandDepth          3
        LabelFont
-         Color               blue
+         Size                normal
        EndFont
 End
 
 
+
 Style AGU-journal
        CopyStyle             Special-section
+       LatexParam            "journal-code=&quot;$1&quot; 
electronic-only=&quot;yes&quot;"
        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
@@ -69,7 +81,7 @@ Style Copyright
 End
 
 
-Style Indexterms
+Style Index-terms
        CopyStyle             Special-section
        LatexName             index-terms
        LabelString           "<index-terms>"
@@ -77,6 +89,24 @@ Style Indexterms
 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
@@ -101,6 +131,15 @@ Style Supplementary
 End
 
 
+Style Supp-note
+       CopyStyle             Special-section
+       LatexName             sup-mat-note
+       LabelIndent           MM
+       LabelString           "<sup-mat-note>"
+       CommandDepth          4
+End
+
+
 Style Author
        CopyStyle             Special-section
        LatexName             author
@@ -109,6 +148,15 @@ Style Author
 End
 
 
+Style Name
+       CopyStyle             Special-section
+       LatexName             name
+       LabelIndent           MM
+       LabelString           "<name>"
+       CommandDepth          4
+End
+
+
 Style Abstract
        LatexType             Environment
        LabelType             Centered_Top_Environment
@@ -159,8 +207,8 @@ End
 
 Style Date
        CopyStyle             Special-section
-       LatexName             date
-       LabelString           "<date>"
+       LatexName             published-online
+       LabelString           "<published-online>"
        CommandDepth          3
 End
 
@@ -178,6 +226,206 @@ Style Citation
        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
+
+
+Style Ident-line
+       CopyStyle             Special-section
+       LatexName             ident-line
+       LabelString           <ident-line>
+       CommandDepth          3
+End
+
+
+
+# Inside AGU-journal:
+
+CharStyle ISSN
+       LatexType             Command
+       LatexName             ISSN
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle CODEN
+       LatexType             Command
+       LatexName             CODEN
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+# Inside Special-section:
+
+CharStyle SS-Code
+       LatexType             Command
+       LatexName             ss-code
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle SS-Title
+       LatexType             Command
+       LatexName             ss-title
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+# Inside Copyright:
+
+CharStyle CCC-Code
+       LatexType             Command
+       LatexName             CCCcode
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+# Inside Index-term:
+
+CharStyle Code
+       LatexType             Command
+       LatexName             code
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Dscr
+       LatexType             Command
+       LatexName             dscr
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+# Inside Keywords:
+
+CharStyle Keyword
+       LatexType             Command
+       LatexName             keyword
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+#inside Affiliation:
+
+CharStyle Orgdiv
+       LatexType             Command
+       LatexName             orgdiv
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Orgname
+       LatexType             Command
+       LatexName             orgname
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Street
+       LatexType             Command
+       LatexName             street
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle City
+       LatexType             Command
+       LatexName             city
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle State
+       LatexType             Command
+       LatexName             state
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Postcode
+       LatexType             Command
+       LatexName             postcode
+       LabelFont
+         Color               blue
+       EndFont
+End
+
+
+CharStyle Country
+       LatexType             Command
+       LatexName             country
+       LabelFont
+         Color               blue
+       EndFont
 End
 
 

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to