mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
Some cosmetic changes for docbook article, cleaner style with Char Styles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8750 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
34b9ed8ac9
commit
5a87b2a21c
@ -1,3 +1,10 @@
|
|||||||
|
2004-05-12 José Matos <jamatos@lyx.org>
|
||||||
|
|
||||||
|
* layouts/db_stdclass.inc: do not use small caps for name.
|
||||||
|
* layouts/db_stdtitle.inc: align Date at center.
|
||||||
|
* templates/docbook_article.lyx: Use Character Styles for name.
|
||||||
|
* examples/docbook_article.lyx: remove unnecessary vertical spaces.
|
||||||
|
|
||||||
2004-05-11 José Matos <jamatos@lyx.org>
|
2004-05-11 José Matos <jamatos@lyx.org>
|
||||||
|
|
||||||
* layouts/db_stdtitle.inc: obsolete FirstName and Surname.
|
* layouts/db_stdtitle.inc: obsolete FirstName and Surname.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
|
#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
|
||||||
\lyxformat 225
|
\lyxformat 233
|
||||||
\textclass docbook
|
\textclass docbook
|
||||||
\language english
|
\language english
|
||||||
\inputencoding default
|
\inputencoding default
|
||||||
@ -13,6 +13,8 @@
|
|||||||
\use_amsmath 0
|
\use_amsmath 0
|
||||||
\use_natbib 0
|
\use_natbib 0
|
||||||
\use_numerical_citations 0
|
\use_numerical_citations 0
|
||||||
|
\use_jurabib 0
|
||||||
|
\use_bibtopic 0
|
||||||
\paperorientation portrait
|
\paperorientation portrait
|
||||||
\secnumdepth 3
|
\secnumdepth 3
|
||||||
\tocdepth 3
|
\tocdepth 3
|
||||||
@ -29,8 +31,8 @@
|
|||||||
\begin_layout SGML
|
\begin_layout SGML
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Note
|
\begin_inset Note Note
|
||||||
collapsed true
|
status collapsed
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
@ -84,57 +86,20 @@ Docbook with LyX
|
|||||||
|
|
||||||
\begin_layout Author
|
\begin_layout Author
|
||||||
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_deeper
|
|
||||||
\begin_layout SGML
|
|
||||||
\align center
|
|
||||||
|
|
||||||
\begin_inset Note
|
|
||||||
collapsed true
|
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
|
|
||||||
The author name is always composed of:
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
|
|
||||||
* first name
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
|
|
||||||
* surname
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
|
|
||||||
It is always possible to have more than one author.
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\end_deeper
|
|
||||||
\begin_layout Author
|
|
||||||
|
|
||||||
|
|
||||||
\begin_inset CharStyle Firstname
|
\begin_inset CharStyle Firstname
|
||||||
collapsed true
|
status inlined
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
Jose'
|
José
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\begin_inset CharStyle Surname
|
\begin_inset CharStyle Surname
|
||||||
collapsed true
|
status inlined
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
@ -320,7 +285,7 @@ Emphasis
|
|||||||
\emph default
|
\emph default
|
||||||
and
|
and
|
||||||
\begin_inset CharStyle Literal
|
\begin_inset CharStyle Literal
|
||||||
collapsed true
|
status inlined
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
@ -360,7 +325,8 @@ Notice that when the docbook code is exported the filename extension is
|
|||||||
\begin_inset Float figure
|
\begin_inset Float figure
|
||||||
placement htbp
|
placement htbp
|
||||||
wide false
|
wide false
|
||||||
collapsed false
|
sideways false
|
||||||
|
status open
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
@ -399,7 +365,8 @@ Wide figures are treated as normal figures.
|
|||||||
\begin_inset Float figure
|
\begin_inset Float figure
|
||||||
placement htbp
|
placement htbp
|
||||||
wide true
|
wide true
|
||||||
collapsed false
|
sideways false
|
||||||
|
status open
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
@ -439,7 +406,8 @@ There is also basic support for tables.
|
|||||||
\begin_inset Float table
|
\begin_inset Float table
|
||||||
placement htbp
|
placement htbp
|
||||||
wide false
|
wide false
|
||||||
collapsed false
|
sideways false
|
||||||
|
status open
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
\align center
|
\align center
|
||||||
@ -653,7 +621,7 @@ It is also possible to insert margin notes inside some environments.
|
|||||||
|
|
||||||
|
|
||||||
\begin_inset Marginal
|
\begin_inset Marginal
|
||||||
collapsed true
|
status collapsed
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
@ -680,7 +648,7 @@ third par -> margin note
|
|||||||
|
|
||||||
Notice that the previous layout is at level 1
|
Notice that the previous layout is at level 1
|
||||||
\begin_inset Foot
|
\begin_inset Foot
|
||||||
collapsed true
|
status collapsed
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
@ -704,7 +672,7 @@ These environments are easily added to the docbook layout.
|
|||||||
|
|
||||||
|
|
||||||
\begin_inset Marginal
|
\begin_inset Marginal
|
||||||
collapsed true
|
status collapsed
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
@ -779,7 +747,7 @@ book
|
|||||||
|
|
||||||
set (very unlikely)
|
set (very unlikely)
|
||||||
\begin_inset Foot
|
\begin_inset Foot
|
||||||
collapsed true
|
status collapsed
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
|
@ -44,9 +44,6 @@ End
|
|||||||
CharStyle Firstname
|
CharStyle Firstname
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName firstname
|
LatexName firstname
|
||||||
Font
|
|
||||||
Shape SmallCaps
|
|
||||||
EndFont
|
|
||||||
LabelFont
|
LabelFont
|
||||||
Shape Up
|
Shape Up
|
||||||
Color blue
|
Color blue
|
||||||
@ -56,9 +53,6 @@ End
|
|||||||
CharStyle Surname
|
CharStyle Surname
|
||||||
LatexType Command
|
LatexType Command
|
||||||
LatexName surname
|
LatexName surname
|
||||||
Font
|
|
||||||
Shape SmallCaps
|
|
||||||
EndFont
|
|
||||||
LabelFont
|
LabelFont
|
||||||
Shape Up
|
Shape Up
|
||||||
Color blue
|
Color blue
|
||||||
|
@ -34,7 +34,7 @@ End
|
|||||||
Style Date
|
Style Date
|
||||||
LatexType Paragraph
|
LatexType Paragraph
|
||||||
LatexName date
|
LatexName date
|
||||||
Align Left
|
Align Center
|
||||||
AlignPossible Left,Center
|
AlignPossible Left,Center
|
||||||
End
|
End
|
||||||
|
|
||||||
@ -99,4 +99,4 @@ End
|
|||||||
|
|
||||||
Style Surname
|
Style Surname
|
||||||
ObsoletedBy Standard
|
ObsoletedBy Standard
|
||||||
End
|
End
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 1.3 created this file. For more info see http://www.lyx.org/
|
#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
|
||||||
\lyxformat 221
|
\lyxformat 233
|
||||||
\textclass docbook
|
\textclass docbook
|
||||||
\language english
|
\language english
|
||||||
\inputencoding auto
|
\inputencoding auto
|
||||||
@ -12,6 +12,8 @@
|
|||||||
\use_amsmath 0
|
\use_amsmath 0
|
||||||
\use_natbib 0
|
\use_natbib 0
|
||||||
\use_numerical_citations 0
|
\use_numerical_citations 0
|
||||||
|
\use_jurabib 0
|
||||||
|
\use_bibtopic 0
|
||||||
\paperorientation portrait
|
\paperorientation portrait
|
||||||
\secnumdepth 3
|
\secnumdepth 3
|
||||||
\tocdepth 3
|
\tocdepth 3
|
||||||
@ -22,44 +24,59 @@
|
|||||||
\papercolumns 1
|
\papercolumns 1
|
||||||
\papersides 1
|
\papersides 1
|
||||||
\paperpagestyle default
|
\paperpagestyle default
|
||||||
|
\tracking_changes 0
|
||||||
|
\end_header
|
||||||
|
|
||||||
|
\begin_layout Title
|
||||||
|
|
||||||
\layout Title
|
|
||||||
\added_space_top vfill \added_space_bottom vfill
|
|
||||||
Title
|
Title
|
||||||
\layout Date
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Date
|
||||||
|
|
||||||
Date
|
Date
|
||||||
\layout Author
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Author
|
||||||
|
|
||||||
|
|
||||||
\begin_inset ERT
|
\begin_inset CharStyle Firstname
|
||||||
status Collapsed
|
status inlined
|
||||||
|
|
||||||
\layout Standard
|
\begin_layout Standard
|
||||||
<firstname>
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
Joe
|
Joe
|
||||||
\begin_inset ERT
|
\end_layout
|
||||||
status Collapsed
|
|
||||||
|
|
||||||
\layout Standard
|
|
||||||
</firstname><surname>
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
\begin_inset CharStyle Surname
|
||||||
|
status inlined
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
|
||||||
Doe
|
Doe
|
||||||
\begin_inset ERT
|
\end_layout
|
||||||
status Collapsed
|
|
||||||
|
|
||||||
\layout Standard
|
|
||||||
</surname>
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\layout Abstract
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Abstract
|
||||||
|
|
||||||
Abstract
|
Abstract
|
||||||
\layout Section
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Section
|
||||||
|
|
||||||
First Section
|
First Section
|
||||||
\the_end
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
|
||||||
|
First paragraph.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\end_document
|
||||||
|
Loading…
Reference in New Issue
Block a user