Customization - revert relevants parts back for translators.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg148048.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28538 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-02-18 08:52:40 +00:00
parent 3b399bcb52
commit 64ac045b2d

View File

@ -108,10 +108,10 @@ End
\papercolumns 1
\papersides 2
\paperpagestyle headings
\tracking_changes false
\tracking_changes true
\output_changes false
\author ""
\author ""
\author "ab"
\author "Georg Baum,,,"
\author ""
\end_header
@ -6882,7 +6882,15 @@ int
] 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).
The file format that is documented here is format 14.
The file format that is documented here is format 1
\change_deleted 1 1234611237
2
\change_inserted 1 1234611237
4
\change_unchanged
.
\change_deleted 0 1234946903
\end_layout
\begin_layout Subsection
@ -8907,7 +8915,13 @@ FreeSpacing
status collapsed
\begin_layout Plain Layout
BabelPreamble
\change_inserted 1 1234613251
Babel
\change_deleted 1 1234611266
I18N
\change_unchanged
Preamble
\end_layout
\end_inset
@ -8919,7 +8933,13 @@ BabelPreamble
status collapsed
\begin_layout Plain Layout
BabelPreamble
\change_inserted 1 1234613436
Babel
\change_deleted 1 1234611275
I18N
\change_unchanged
Preamble
\end_layout
\end_inset
@ -8934,7 +8954,13 @@ BabelPreamble
status collapsed
\begin_layout Plain Layout
EndBabelPreamble
End
\change_deleted 1 1234611280
I18N
\change_inserted 1 1234613262
Babel
\change_unchanged
Preamble
\end_layout
\end_inset
@ -8984,19 +9010,29 @@ _()
replaces its argument by the translation of the argument to the current
language.
\change_inserted 1 1234611470
\end_layout
\begin_layout Standard
\change_inserted 1 1234615134
This preamble snippet will only be used if the document contains more than
one language and the babel package is used.
\change_unchanged
\end_layout
\end_deeper
\begin_layout Description
\change_inserted 1 1234614203
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\change_inserted 1 1234614202
LangPreamble
\end_layout
@ -9007,6 +9043,8 @@ LangPreamble
status collapsed
\begin_layout Plain Layout
\change_inserted 1 1234614202
BabelPreamble
\end_layout
@ -9023,6 +9061,8 @@ BabelPreamble
status collapsed
\begin_layout Plain Layout
\change_inserted 1 1234614202
EndLangPreamble
\end_layout
@ -9043,22 +9083,38 @@ If the style defines text that appears in the typeset document, it may use
status collapsed
\begin_layout Plain Layout
LangPreamble
\change_inserted 1 1234611302
Lang
\change_deleted 1 1234611306
I18N
\change_unchanged
Preamble
\end_layout
\end_inset
and
\change_inserted 1 1234611823
and
\change_unchanged
\change_inserted 1 1234611832
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
\change_inserted 1 1234611838
BabelPreamble
\end_layout
\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
\begin_inset Flex CharStyle:Code
status collapsed
@ -9076,6 +9132,16 @@ theorems-ams.inc
Preamble
\end_layout
\begin_layout LyX-Code
\change_deleted 1 1234612061
\backslash
providecommand{
\backslash
claimname}{Claim}
\end_layout
\begin_layout LyX-Code
\backslash
@ -9097,10 +9163,14 @@ EndPreamble
\end_layout
\begin_layout LyX-Code
\change_inserted 1 1234612037
LangPreamble
\end_layout
\begin_layout LyX-Code
\change_inserted 1 1234612045
\backslash
providecommand{
@ -9110,18 +9180,46 @@ claimname}{_(Claim)}
\begin_layout LyX-Code
\change_inserted 1 1234611897
\end_layout
\begin_layout LyX-Code
\change_inserted 1 1234612050
EndLangPreamble
\end_layout
\begin_layout LyX-Code
BabelPreamble
\change_inserted 1 1234611892
Babel
\change_deleted 1 1234611847
I18n
\change_unchanged
Preamble
\end_layout
\begin_layout LyX-Code
\change_deleted 1 1234612079
\backslash
AtBeginDocument{
\backslash
ifx
\backslash
LdfInit
\backslash
undefined
\backslash
relax
\backslash
else%
\end_layout
\begin_layout LyX-Code
\backslash
addto
\backslash
@ -9130,10 +9228,28 @@ captions$$lang{
renewcommand{
\backslash
claimname}{_(Claim)}}
\change_deleted 1 1234612086
%
\end_layout
\begin_layout LyX-Code
EndBabelPreamble
\change_deleted 1 1234612089
\backslash
fi}
\change_unchanged
\end_layout
\begin_layout LyX-Code
End
\change_inserted 1 1234611859
Babel
\change_deleted 1 1234611856
I18n
\change_unchanged
Preamble
\end_layout
\begin_layout Standard
@ -9150,14 +9266,26 @@ claimname
\end_inset
in the language preamble.
in the
\change_inserted 1 1234612144
language
\change_deleted 1 1234612146
standard
\change_unchanged
preamble.
This command holds the name of the theorem that will appear in the output.
The
\begin_inset Flex CharStyle:Code
status collapsed
\begin_layout Plain Layout
BabelPreamble
\change_inserted 1 1234612157
Babel
\change_deleted 1 1234612155
I18N
\change_unchanged
Preamble
\end_layout
\end_inset
@ -9174,7 +9302,44 @@ claimname
\end_inset
for each used language in multilanguage documents.
for each used language
\change_inserted 1 1234622073
in multilanguage documents
\change_unchanged
.
\change_deleted 1 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_deeper