* Customization.lyx, accept changes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28530 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-02-17 23:44:51 +00:00
parent 9aad4bc27f
commit de5dfdd4a2

View File

@ -108,9 +108,10 @@ End
\papercolumns 1 \papercolumns 1
\papersides 2 \papersides 2
\paperpagestyle headings \paperpagestyle headings
\tracking_changes true \tracking_changes false
\output_changes false \output_changes false
\author "Georg Baum,,," \author ""
\author ""
\author "" \author ""
\end_header \end_header
@ -6881,23 +6882,7 @@ int
] This tag was introduced with LyX 1.4.0 (layout files of LyX 1.3.x and earlier ] This tag was introduced with LyX 1.4.0 (layout files of LyX 1.3.x and earlier
don't have an explicit file format). don't have an explicit file format).
The file format that is documented here is format 1 The file format that is documented here is format 14.
\change_deleted 0 1234611237
2
\change_inserted 0 1234611237
4
\change_unchanged
.
\change_inserted 0 1234613411
\end_layout
\begin_layout Description
\change_inserted 0 1234613417
FIXME: Format 13 is missing!
\change_unchanged
\end_layout \end_layout
\begin_layout Subsection \begin_layout Subsection
@ -8922,13 +8907,7 @@ FreeSpacing
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
BabelPreamble
\change_inserted 0 1234613251
Babel
\change_deleted 0 1234611266
I18N
\change_unchanged
Preamble
\end_layout \end_layout
\end_inset \end_inset
@ -8940,13 +8919,7 @@ Preamble
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
BabelPreamble
\change_inserted 0 1234613436
Babel
\change_deleted 0 1234611275
I18N
\change_unchanged
Preamble
\end_layout \end_layout
\end_inset \end_inset
@ -8961,13 +8934,7 @@ Preamble
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
End EndBabelPreamble
\change_deleted 0 1234611280
I18N
\change_inserted 0 1234613262
Babel
\change_unchanged
Preamble
\end_layout \end_layout
\end_inset \end_inset
@ -9017,29 +8984,19 @@ _()
replaces its argument by the translation of the argument to the current replaces its argument by the translation of the argument to the current
language. language.
\change_inserted 0 1234611470
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\change_inserted 0 1234615134
This preamble snippet will only be used if the document contains more than This preamble snippet will only be used if the document contains more than
one language and the babel package is used. one language and the babel package is used.
\change_unchanged
\end_layout \end_layout
\end_deeper \end_deeper
\begin_layout Description \begin_layout Description
\change_inserted 0 1234614203
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\change_inserted 0 1234614202
LangPreamble LangPreamble
\end_layout \end_layout
@ -9050,8 +9007,6 @@ LangPreamble
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\change_inserted 0 1234614202
BabelPreamble BabelPreamble
\end_layout \end_layout
@ -9068,8 +9023,6 @@ BabelPreamble
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\change_inserted 0 1234614202
EndLangPreamble EndLangPreamble
\end_layout \end_layout
@ -9090,38 +9043,22 @@ If the style defines text that appears in the typeset document, it may use
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
LangPreamble
\change_inserted 0 1234611302
Lang
\change_deleted 0 1234611306
I18N
\change_unchanged
Preamble
\end_layout \end_layout
\end_inset \end_inset
and
\change_inserted 0 1234611823
and
\change_unchanged
\change_inserted 0 1234611832
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\change_inserted 0 1234611838
BabelPreamble BabelPreamble
\end_layout \end_layout
\end_inset \end_inset
to support non-english and even multilanguage documents correctly.
\change_unchanged
to support non-english and even multilanguage documents correctly.
The following excerpt (from the The following excerpt (from the
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
@ -9139,16 +9076,6 @@ theorems-ams.inc
Preamble Preamble
\end_layout \end_layout
\begin_layout LyX-Code
\change_deleted 0 1234612061
\backslash
providecommand{
\backslash
claimname}{Claim}
\end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
\backslash \backslash
@ -9170,14 +9097,10 @@ EndPreamble
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
\change_inserted 0 1234612037
LangPreamble LangPreamble
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
\change_inserted 0 1234612045
\backslash \backslash
providecommand{ providecommand{
@ -9187,46 +9110,18 @@ claimname}{_(Claim)}
\begin_layout LyX-Code \begin_layout LyX-Code
\change_inserted 0 1234611897
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
\change_inserted 0 1234612050
EndLangPreamble EndLangPreamble
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
BabelPreamble
\change_inserted 0 1234611892
Babel
\change_deleted 0 1234611847
I18n
\change_unchanged
Preamble
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
\change_deleted 0 1234612079
\backslash
AtBeginDocument{
\backslash
ifx
\backslash
LdfInit
\backslash
undefined
\backslash
relax
\backslash
else%
\end_layout
\begin_layout LyX-Code
\backslash \backslash
addto addto
\backslash \backslash
@ -9235,28 +9130,10 @@ captions$$lang{
renewcommand{ renewcommand{
\backslash \backslash
claimname}{_(Claim)}} claimname}{_(Claim)}}
\change_deleted 0 1234612086
%
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
EndBabelPreamble
\change_deleted 0 1234612089
\backslash
fi}
\change_unchanged
\end_layout
\begin_layout LyX-Code
End
\change_inserted 0 1234611859
Babel
\change_deleted 0 1234611856
I18n
\change_unchanged
Preamble
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -9273,26 +9150,14 @@ claimname
\end_inset \end_inset
in the in the language preamble.
\change_inserted 0 1234612144
language
\change_deleted 0 1234612146
standard
\change_unchanged
preamble.
This command holds the name of the theorem that will appear in the output. This command holds the name of the theorem that will appear in the output.
The The
\begin_inset Flex CharStyle:Code \begin_inset Flex CharStyle:Code
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
BabelPreamble
\change_inserted 0 1234612157
Babel
\change_deleted 0 1234612155
I18N
\change_unchanged
Preamble
\end_layout \end_layout
\end_inset \end_inset
@ -9309,44 +9174,7 @@ claimname
\end_inset \end_inset
for each used language for each used language in multilanguage documents.
\change_inserted 0 1234622073
in multilanguage documents
\change_unchanged
.
\change_deleted 0 1234612171
The
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\backslash
ifx
\backslash
LdfInit
\end_layout
\end_inset
test ensures that no LaTeX error occurs in documents that do not use babel.
Since LyX loads babel after the style-specific preamble, the whole command
is deferred to the actual start of the document with
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\backslash
AtBeginDocument
\end_layout
\end_inset
.
\change_unchanged
\end_layout \end_layout
\end_deeper \end_deeper