get rid of ejour2; formgraphics tweaks from Juergen S

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3702 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-03-08 13:53:30 +00:00
parent 2b24ca217f
commit f27810979c
7 changed files with 41 additions and 2232 deletions

View File

@ -1,3 +1,12 @@
2002-03-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* tex/ejour2.cls:
* layouts/ejour2.layout: removed; this is superseded by svjour
and friends
* lib/doc/LaTeXConfig.lyx.in:
* lib/doc/LyXConfig.lyx.in: update
2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* Makefile.am: fix call to configure.
@ -5,7 +14,7 @@
2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
* layouts/obsolete.inc: obsolete LaTeX
* layouts/g-brief-en.layout:. add DefaultStyle
* layouts/g-brief-en.layout: add DefaultStyle
2002-03-06 Herbert Voss <voss@perce.de>

View File

@ -649,29 +649,6 @@ book
) with additional document-wide font sizes.
\layout Subsection
Springer 2-columns Journals (ejour2)
\layout Description
Found: @chk_ejour2@
\layout Description
CTAN: N/A (must be installed from the
\family typewriter
tex/
\family default
subdirectory of LyX source distribution)
\layout Description
Notes: The document class
\family sans
ejour2
\family default
is for the two-column journal format used by Springer Verlag.
It is reasonably well tested only for the Journal of Geodesy.
It is not an existing LaTeX document class, but a new one which is distributed
with LyX.
\layout Subsection
\begin_inset LatexCommand \label{ssec:foils}

View File

@ -1,5 +1,5 @@
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\language english
\inputencoding default
@ -11,6 +11,8 @@
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 2
\tocdepth 3
@ -62,7 +64,9 @@ Found
item is no) and you need its functionality, you can grab it at your nearest
CTAN ftp site
\begin_float footnote
\begin_inset Foot
collapsed true
\layout Standard
The participating hosts in the Comprehensive TeX Archive Network are:
@ -79,7 +83,8 @@ ftp://ftp.tex.ac.uk/tex-archive
There are also a zillion mirror sites which are listed at the three primary
sites.
\end_float
\end_inset
at the location indicated in the
\begin_inset Quotes eld
\end_inset
@ -128,7 +133,9 @@ ptions\SpecialChar \menuseparator
R
\bar default
econfigure
\begin_float footnote
\begin_inset Foot
collapsed true
\layout Standard
or, if you want to change the system-wide settings, issue the command
@ -140,7 +147,8 @@ or, if you want to change the system-wide settings, issue the command
/usr/local/lib/lyx/
\family default
)
\end_float
\end_inset
and reload this file to see if the new package was recognized.
If the
\begin_inset Quotes eld
@ -181,12 +189,15 @@ The LaTeX version that LyX will use is:
\family typewriter
1995/12/01
\begin_float footnote
\begin_inset Foot
collapsed true
\layout Standard
In case it is not clear to you, this number is the date at which the version
has been released.
\end_float
\end_inset
.
In fact, earlier versions may work for many things, but will certainly
fail in some cases.
@ -565,29 +576,6 @@ g-brief-de
is the same as the above g-brief-en only with german labels.
\layout Subsection
Springer 2-columns Journals (ejour2)
\layout Description
Found: @chk_ejour2@
\layout Description
CTAN: N/A (must be installed from the
\family typewriter
tex/
\family default
subdirectory of LyX source distribution)
\layout Description
Notes: The document class
\family sans
ejour2
\family default
is for the two-column journal format used by Springer Verlag.
It is reasonably well tested only for the Journal of Geodesy.
It is not an existing LaTeX document class, but a new one which is distributed
with LyX.
\layout Subsection
foils
\layout Description
@ -1276,27 +1264,22 @@ ghostview
\end_inset
\begin_float footnote
\begin_inset Foot
collapsed true
\layout Standard
Here, a value of
\latex no_latex
\begin_inset Quotes eld
\end_inset
\latex default
default
\latex no_latex
\begin_inset Quotes erd
\end_inset
\latex default
means that your LaTeX installation provides a sensible value for this parameter.
\end_float
\end_inset
.
\layout Subsection

View File

@ -1,590 +0,0 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{article (Springer - ejour2)}
# ejour2 (article) textclass definition file.
# for Springer Verlag 2-column journals, e.g.
# Zeitschrift fuer Physik C, Journal of geodesy, etc.
# --------
#
# Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modified and enhanced by serveral developers.
#
# --------
# ejour2 made originally by Martin Vermeer based on article.layout.
# Modified for LyX 12 by Jean-Marc Lasgouttes and MV.
#
# General textclass parameters
Columns 2
Sides 1
PageStyle Plain
MaxCounter Counter_Section
# Standard style definition
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
# The standard sections
Input stdsections.inc
# Section style definition
Style Section
# standard font definition
Font
Series Medium
Series Bold
Size Normal
EndFont
End
# Subsection style definition
Style Subsection
Font
Series Medium
Shape Italic
Size Normal
EndFont
End
# Subsubsection style definition
Style Subsubsection
# standard font definition
Font
Series Medium
Shape Up
Size Normal
EndFont
End
# Paragraph style definition
Style Paragraph
# standard font definition
Font
Series Medium
Shape Italic
Size Normal
EndFont
End
# Subparagraph style definition
Style Subparagraph
# standard font definition
Font
Series Medium
Shape Up
Size Normal
EndFont
End
# Now define the starred versions from the normal ones.
Input stdstarsections.inc
# Remove the ones that we do not want
NoStyle Part
NoStyle Part*
NoStyle Chapter
NoStyle Chapter*
# Some standard things
Input stdlayouts.inc
Input stdlists.inc
# Standard style definition
Style Petit
Margin Static
LatexType Environment
LatexName petit
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
# Font definition
Font
Size Small
EndFont
End
# Journal name style definition (not needed if JG option given)
Style Journal
Margin Static
LatexType Command
InTitle 1
LatexName journalname
NextNoIndent 1
LeftMargin Journal:xxx
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Left
AlignPossible Left
LabelType Static
LabelString Journal:
# standard font definition
LabelFont
Series Bold
Shape Italic
Color Red
EndFont
End
# Headnote style definition
Style Headnote
CopyStyle Journal
LatexName dedication
LeftMargin "HeadNote (optional):xxx"
LabelString "Headnote (optional): "
End
# Title style definition
Style Title
Margin Static
LatexType Command
InTitle 1
LatexName title
NextNoIndent 1
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Left
AlignPossible Block, Center, Left, Right, Center
LabelType No_Label
Fill_Top 1
Fill_Bottom 1
# standard font definition
Font
Family Sans
Series Bold
Size Largest
EndFont
End
# Title style definition
Style Subtitle
Margin Static
LatexType Command
InTitle 1
LatexName subtitle
NextNoIndent 1
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 0
ParSep 0
Align Left
AlignPossible Left
LabelType No_Label
# standard font definition
Font
Family Sans
Series Bold
Size Large
EndFont
End
# Translated Title style definition
Style Translated_Title
Margin Static
LatexType Command
InTitle 1
LatexName transtitle
NextNoIndent 1
LeftMargin "English title:xxx"
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Left
AlignPossible Left
LabelType Static
LabelString "English title: "
# Standard font definition
Font
Series Bold
EndFont
# Label font definition
LabelFont
Series Bold
Shape Italic
Color Red
EndFont
End
# Title_Running style definition
Style Running_LaTeX_Title
CopyStyle Journal
LatexName titlerunning
LeftMargin "Running title:xxx"
LabelString "Running title: "
End
# Author style definition
Style Author
Margin Static
LatexType Command
InTitle 1
LatexName author
NextNoIndent 1
ParSkip 0.4
TopSep 0.7
BottomSep 0.7
ItemSep 0
ParSep 0
Align Left
AlignPossible Left
LabelType No_Label
# standard font definition
Font
Series Bold
Shape Italic
EndFont
End
# AuthorRunning style definition
Style Author_Running
CopyStyle Journal
LatexName authorrunning
LeftMargin "Author Running:xxx"
LabelString "Author Running: "
End
# Institute style definition
Style Institute
Margin Static
LatexType Command
InTitle 1
LatexName institute
NextNoIndent 1
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Left
AlignPossible Left
LabelType No_Label
# Std. font definition
Font
Size Small
EndFont
End
# Dedication style definition (optional)
Style Dedication
CopyStyle Journal
LatexName headnote
LeftMargin Dedication:xxx
LabelString Dedication:
End
# Recieved/Accepted style definition
Style Date
CopyStyle Journal
LatexName date
LeftMargin Received/Accepted:xx
LabelString Received/Accepted:
End
#
#
# Correspondence address style definition
Style Mail
CopyStyle Journal
LatexName mail
LeftMargin "Corr Author:xx."
LabelString "Corr Author: "
End
# Abstract style definition
Style Abstract
Margin First_Dynamic
LatexType Environment
LatexName abstract
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Top_Environment
LabelString Abstract.
# label font definition
LabelFont
Series Bold
EndFont
End
# Keywords style definition
Style Keywords
Margin First_Dynamic
LatexType Command
LatexName keywords
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Key Words: "
# label font definition
LabelFont
Series Bold
EndFont
End
# Translated abstract style definition
Style TranslatedAbstract
CopyStyle Abstract
LatexName transsummary
LabelString "Eng. Abstract. "
End
# Trans_Keywords style definition
Style Trans_Keywords
CopyStyle Keywords
LatexName trankey
LabelString "Eng Key Words: "
End
# Acknowledgement(s) style definitions
Style Acknowledgements
Margin First_Dynamic
LatexType Environment
LatexName acknowledgements
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Acknowledgements.
# font & label font definition
Font
Size Small
EndFont
LabelFont
Shape Italic
Size Small
EndFont
End
Style Acknowledgement
CopyStyle Acknowledgements
LatexName acknowledgement
LabelString Acknowledgement.
End
#
# Bibliography style definition
Style Bibliography
Margin First_Dynamic
LatexType Item_Environment
LatexName lyxbibliography
NextNoIndent 1
LeftMargin MM
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Bibliography
LabelString References
LabelBottomSep 0.7
# label font definition
LabelFont
Series Bold
EndFont
Preamble
\newcommand{\lyxbibliography}{\thebibliography{References}%
\renewcommand{\bibitem}[3][!]{\@bibitem{##1}{##2}{##3}}}
EndPreamble
End
# Mathematics-like definitions:
Style Claim
Margin First_Dynamic
LatexType Environment
LatexName claim
NextNoIndent 0
ParIndent MM
LabelSep xx
ItemSep 0
TopSep 0.5
BottomSep 0.5
ParSep 0
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Claim.
# font & label font definition
LabelFont
Shape Italic
EndFont
End
Style Conjecture
CopyStyle Claim
LatexName conjecture
LabelString "Conjecture #. "
End
Style Corollary
CopyStyle Claim
LatexName corollary
LabelString "Corollary #. "
# font & label font definition
Font
Shape Italic
EndFont
LabelFont
Shape Up
Series Bold
EndFont
End
Style Definition
CopyStyle Corollary
LatexName definition
LabelString "Definition #. "
End
Style Example
CopyStyle Claim
LatexName example
LabelString "Example #. "
End
Style Exercise
CopyStyle Claim
LatexName exercise
LabelString "Exercise #. "
# font & label font definition
LabelFont
Shape Up
Series Bold
EndFont
End
Style Lemma
CopyStyle Corollary
LatexName lemma
LabelString "Lemma #. "
End
Style Note
CopyStyle Claim
LatexName note
LabelString "Note #. "
End
Style Problem
CopyStyle Exercise
LatexName problem
LabelString "Problem #. "
End
Style Proof
CopyStyle Claim
LatexName proof
LabelString "Proof. "
End
Style Property
CopyStyle Claim
LatexName property
LabelString "Property #. "
End
Style Proposition
CopyStyle Claim
LatexName proposition
LabelString "Proposition_#. "
End
Style Question
CopyStyle Claim
LatexName question
LabelString "Question #. "
End
Style Remark
CopyStyle Claim
LatexName remark
LabelString "Remark #. "
End
Style Solution
CopyStyle Exercise
LatexName solution
LabelString "Solution #. "
End
Style Theorem
CopyStyle Corollary
LatexName theorem
LabelString "Theorem #. "
End
#Finally a few older definitions for compatibility
Input obsolete.inc

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,7 @@
2002-03-08 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* FormGraphics.C: Tiny stylistic correction.
2002-03-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* FormGraphics.C:

View File

@ -488,8 +488,8 @@ ButtonPolicy::SMInput FormGraphics::input(FL_OBJECT * ob, long)
|| fl_get_choice(size_->choice_height_units) > 3
&& fl_get_choice(size_->choice_height_units) < 8)
Alert::alert(_("Warning!"),
_("The values %t, %p, %c and %l are not allowed here."),
_("Cannot take the values from LaTeX size!."));
_("The units t%, p%, c% and l% are not allowed here."),
_("Cannot use the values from LaTeX size!"));
else {
LyXLength dummy = LyXLength(getLengthFromWidgets(size_->input_width,
size_->choice_width_units));