Customization.lyx: some more revision

- German Customization.lyx: more translations
This commit is contained in:
Uwe Stöhr 2013-01-06 03:27:02 +01:00
parent 8a3897c22d
commit fc42f73866
5 changed files with 372 additions and 193 deletions

View File

@ -6577,7 +6577,11 @@ to change the font for chapter headings to sans-serif.
Your new package may also provide commands or environments not present in
the base class.
In this case, you will want to add these to the layout file.
See
See section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:TextClass"
@ -6627,7 +6631,7 @@ DeclareLyXModule{My Package}
\end_layout
\begin_layout LyX-Code
Format 21
Format 35
\begin_inset Newline newline
\end_inset
@ -6651,7 +6655,11 @@ EndPreamble
\begin_layout Standard
A more complex module might modify the behavior of some existing constructs
or define some new ones.
Again, see
Again, see section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:TextClass"
@ -6856,7 +6864,6 @@ notepad
\end_inset
.
\end_layout
\begin_layout Standard
@ -6941,8 +6948,8 @@ Upgrading old layout files
\begin_layout Standard
The format of layout files changes with each LyX release, so old layout
files need to be converted to the new format.
This process has been automated since LyX 1.4: If LyX reads a layout file
in an older format, it automatically calls the script
If LyX reads a layout file in an older format, it automatically calls the
script
\begin_inset Flex Code
status collapsed
@ -6959,16 +6966,50 @@ layout2layout.py
To do this, you can call the converter manually:
\end_layout
\begin_layout LyX-Code
mv myclass.layout myclass.old
\begin_layout Enumerate
rename the file
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
myclass.layout
\end_layout
\begin_layout LyX-Code
\end_inset
to
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
myclass.old
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
Call the command
\begin_inset Newline newline
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
\end_layout
\begin_layout Standard
You need to replace
\end_inset
\begin_inset Newline newline
\end_inset
where
\begin_inset Flex Code
status collapsed
@ -6978,7 +7019,7 @@ LyXDir
\end_inset
with the name of your LyX system directory, of course.
is the name of your LyX system directory.
\end_layout
\begin_layout Standard
@ -6997,14 +7038,12 @@ The layout file format
\end_layout
\begin_layout Standard
When it's finally time to get your hands dirty and create or edit your own
layout file, the following sections describe what you're up against.
Our advice is to go slowly, save and test often, listen to soothing music,
and enjoy one or two of your favorite adult beverages; more if you are
getting particularly stuck.
It's really not that hard, except that the multitude of options can become
overwhelming if you try to do too much in one sitting.
Go have another adult beverage, just for good measure.
The following sections describe how layout files are structured and written.
Our advice is to go slowly, save and test often.
It is really not that hard, except that the multitude of options can become
overwhelming, especially if you try to check out too many at once.
It becomes easier if you use existing layouts of LyX as examples/reference
or if you modify an existing layout to your needs.
\end_layout
\begin_layout Standard
@ -7040,9 +7079,8 @@ StYlE
\end_inset
are really the same tag.
The possible values are printed in brackets after the feature's name.
The default value if a feature isn't specified inside a text class-description
is typeset
The possible arguments are printed in brackets after the tag's name.
The default argument is typeset
\begin_inset Flex Code
status collapsed

View File

@ -5113,8 +5113,6 @@ status collapsed
\end_layout
\begin_layout LyX-Code
\lang english
cp report.layout ~/.lyx/layouts/myclass.layout
\end_layout
@ -5138,8 +5136,6 @@ myclass.layout
\begin_layout LyX-Code
\lang english
\backslash
DeclareLaTeXClass{report}
\end_layout
@ -5152,8 +5148,6 @@ to read
\begin_layout LyX-Code
\lang english
\backslash
DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
\end_layout
@ -5165,8 +5159,6 @@ Then add:
\end_layout
\begin_layout LyX-Code
\lang english
Preamble
\begin_inset Newline newline
\end_inset
@ -5288,32 +5280,22 @@ stdsections.inc
\end_layout
\begin_layout LyX-Code
\lang english
Style Chapter
\end_layout
\begin_layout LyX-Code
\lang english
Font
\end_layout
\begin_layout LyX-Code
\lang english
Family Sans
\end_layout
\begin_layout LyX-Code
\lang english
EndFont
\end_layout
\begin_layout LyX-Code
\lang english
End
\end_layout
@ -5332,7 +5314,11 @@ to change the font for chapter headings to sans-serif.
Your new package may also provide commands or environments not present in
the base class.
In this case, you will want to add these to the layout file.
See
See section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Das-Layout-Dateiformat"
@ -5364,28 +5350,20 @@ myclass.sty
\end_layout
\begin_layout LyX-Code
\lang english
#
\backslash
DeclareLyXModule{My Package}
\end_layout
\begin_layout LyX-Code
\lang english
#DescriptionBegin
\end_layout
\begin_layout LyX-Code
\lang english
#Support for mypkg.sty.
\end_layout
\begin_layout LyX-Code
\lang english
#DescriptionEnd
\begin_inset Newline newline
\end_inset
@ -5394,9 +5372,7 @@ DeclareLyXModule{My Package}
\end_layout
\begin_layout LyX-Code
\lang english
Format 21
Format 35
\begin_inset Newline newline
\end_inset
@ -5404,8 +5380,6 @@ Format 21
\end_layout
\begin_layout LyX-Code
\lang english
Preamble
\begin_inset Newline newline
\end_inset
@ -5424,7 +5398,11 @@ EndPreamble
\lang english
A more complex module might modify the behavior of some existing constructs
or define some new ones.
Again, see
Again, see section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Das-Layout-Dateiformat"
@ -5471,8 +5449,6 @@ book.cls
\begin_layout LyX-Code
\lang english
\backslash
LoadClass{book}
\end_layout
@ -5549,8 +5525,6 @@ thesis.layout
\begin_layout LyX-Code
\lang english
\backslash
DeclareLaTeXClass[thesis,book]{thesis}
\end_layout
@ -5663,7 +5637,6 @@ notepad
\end_inset
.
\end_layout
\begin_layout Standard
@ -5765,65 +5738,87 @@ Alte Layout-Dateien auf den neuesten Stand bringen
\end_layout
\begin_layout Standard
\lang english
The format of layout files changes with each LyX release, so old layout
files need to be converted to the new format.
This process has been automated since LyX 1.4: If LyX reads a layout file
in an older format, it automatically calls the script
Das Format der Layout-Dateien ändert sich mit jeder LyX-Version.
Daher müssen die Layout-Dateien in das neue Format konvertiert werden.
Wenn LyX eine Layout-Datei eines älteren Formats liest, ruft es automatisch
das Skript
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
layout2layout.py
\end_layout
\end_inset
to convert it to a temporary file in current format.
The original file is left untouched.
If you use the layout file often, then, you may want to convert it permanently,
so that LyX does not have to do so itself every time.
To do this, you can call the converter manually:
auf um es in eine temporäre Datei im aktuellen Format zu konvertieren.
Die Originaldatei wird nicht verändert.
Wenn Sie die Layout-Datei öfter verwenden, dann können Sie sie permanent
in das neue Format konvertieren, so dass LyX dies nicht jedes Mal tun muss.
Um das zu tun, machen sie Folgendes:
\end_layout
\begin_layout LyX-Code
\lang english
mv myclass.layout myclass.old
\end_layout
\begin_layout LyX-Code
\lang english
python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
\end_layout
\begin_layout Standard
\lang english
You need to replace
\begin_layout Enumerate
Benennen Sie
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
MeineKlasse.layout
\end_layout
\lang english
\end_inset
in
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
MeineKlasse.alt
\end_layout
\end_inset
um.
\end_layout
\begin_layout Enumerate
Rufen Sie den Befehl
\begin_inset Newline newline
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
auf.
Wobei
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
LyXDir
\end_layout
\end_inset
with the name of your LyX system directory, of course.
der Name Ihres LyX Systemverzeichnisses ist.
\end_layout
\begin_layout Standard
\lang english
Note that manual conversion does not affect included files, so these will
have to be converted separately.
Beachten Sie, das manuelle Konvertierungen keine eingefügten Dateien mit
konvertieren.
Diese müssen separat konvertiert werden.
\end_layout
\begin_layout Section
@ -5838,29 +5833,24 @@ name "sec:Das-Layout-Dateiformat"
\end_layout
\begin_layout Standard
\lang english
When it's finally time to get your hands dirty and create or edit your own
layout file, the following sections describe what you're up against.
Our advice is to go slowly, save and test often, listen to soothing music,
and enjoy one or two of your favorite adult beverages; more if you are
getting particularly stuck.
It's really not that hard, except that the multitude of options can become
overwhelming if you try to do too much in one sitting.
Go have another adult beverage, just for good measure.
Die folgenden Abschnitte beschreiben wie Layout-Dateien aufgebaut sind und
erstellt werden.
Wir empfehlen bei der Erstellung von Layouts langsam zu beginnen und sich
Stück für Stück vorzuarbeiten.
Es ist nicht wirklich schwer, jedoch sind die möglichen Optionen manchmal
etwas erschlagend, besonders wenn man zu viele davon auf einmal ausprobiert.
Am einfachsten ist es, wenn man bestehende Layout-Dateien von LyX als Beispiel
nimmt oder diese umgestaltet.
\end_layout
\begin_layout Standard
\lang english
Note that all the tags used in layout files are case-insensitive.
This means that
Beachten Sie dass alle Tags in Layout-Dateien nicht durch Groß- und Kleinschreib
ung zu unterscheiden sind.
Das bedeutet dass
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
Style
\end_layout
@ -5871,65 +5861,58 @@ Style
status collapsed
\begin_layout Plain Layout
\lang english
style
\end_layout
\end_inset
and
und
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
StYlE
\end_layout
\end_inset
are really the same tag.
The possible values are printed in brackets after the feature's name.
The default value if a feature isn't specified inside a text class-description
is typeset
derselbe Tag sind.
Die möglichen Argumente für die Tags sind hinter ihnen in eckigen Klammern
angegeben.
Das voreingestellte Argument ist
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\emph on
\lang english
emphasized
hervorgehoben
\end_layout
\end_inset
.
If the argument has a data type like
\begin_inset Quotes eld
Wenn das Argument einen Datentyp hat wie
\begin_inset Quotes gld
\end_inset
string
\begin_inset Quotes erd
\begin_inset Quotes grd
\end_inset
or
\begin_inset Quotes eld
oder
\begin_inset Quotes gld
\end_inset
float
\begin_inset Quotes erd
\begin_inset Quotes grd
\end_inset
, the default is shown like this:
, wird die Voreinstellung so angezeigt:
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
float=
\emph on
default
@ -6424,11 +6407,8 @@ mindestens eins
keines
\emph default
der ausgeschlossenen Modul verwendet werden.
Beachten Sie auch, dass Module durch ihren
\emph on
Dateinamen
\emph default
ohne die Dateiendung
Beachten Sie auch, dass Module durch ihren Dateinamen ohne die Dateiendung
\begin_inset Flex Code
status collapsed

View File

@ -6195,7 +6195,11 @@ para cambiar la tipografía de los encabezados de capítulo a sans-serif.
Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
en la clase base.
En este caso, los añadirás al archivo `layout'.
Véase
Véase sección
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Estructura-del-archivo-layout"
@ -6245,7 +6249,7 @@ DeclareLyXModule{My Package}
\end_layout
\begin_layout LyX-Code
Format 21
Format 35
\begin_inset Newline newline
\end_inset
@ -6269,7 +6273,11 @@ EndPreamble
\begin_layout Standard
Un módulo más complejo podría modificar el comportamiento de alguna estructura
ya existente o definir algunas nuevas.
De nuevo te remitimos a
De nuevo te remitimos a sección
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Estructura-del-archivo-layout"
@ -6525,8 +6533,8 @@ Actualización de antiguos archivos de formato
\begin_layout Standard
El formato de los archivos de formato cambia con cada nueva versión de LyX,
de modo que los antiguos archivos de formato deben ser convertidos.
Desde LyX 1.4.0 este proceso ha sido automatizado: si LyX lee un archivo
de formato con formato antiguo lanzará la herramienta de conversión
Si LyX lee un archivo de formato con formato antiguo lanzará la herramienta
de conversión
\begin_inset Flex Code
status collapsed
@ -6542,26 +6550,76 @@ layout2layout.py
que LyX tenga que hacerlo cada vez, ejecuta el convertidor a mano:
\end_layout
\begin_layout LyX-Code
mv myclass.layout myclass.old
\end_layout
\begin_layout Enumerate
\begin_layout LyX-Code
python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
\end_layout
\begin_layout Standard
Debes reemplazar
\lang english
rename the file
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
myclass.layout
\end_layout
\end_inset
to
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
myclass.old
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
\lang english
Call the command
\lang spanish
\begin_inset Newline newline
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\lang english
where
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
LyXDir
\end_layout
\end_inset
con el nombre de tu directorio LyX en el sistema.
is
\lang spanish
el nombre de tu directorio LyX en el sistema.
\end_layout
\begin_layout Standard
@ -6584,12 +6642,13 @@ name "sec:Estructura-del-archivo-layout"
Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
tu propio archivo de formato; las siguientes secciones describen aquello
a lo que te vas a enfrentar.
Nuestro consejo es ir despacito, probando y guardando a menudo, escuchando
música relajante y disfrutando de un par de tus copas favoritas; más si
estás muy atascado.
Nuestro consejo es ir despacito, probando y guardando a menudo.
En realidad no es para tanto, pero la multitud de opciones puede llegar
a abrumarte si intentas hacer muchas cosas a la vez.
Ve a por otra copa, por si acaso.
\lang english
It becomes easier if you use existing layouts of LyX as examples/reference
or if you modify an existing layout to your needs.
\end_layout
\begin_layout Standard
@ -7456,7 +7515,11 @@ CiteFormat
\end_inset
Define formatos a usar en la presentación de información bibliográfica.
Véase la sección
Véase la sección
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Descripción-formato-cita"

View File

@ -6197,7 +6197,7 @@ DeclareLyXModule{mon paquetage}
\begin_layout LyX-Code
\lang english
Format 21
Format 35
\begin_inset Newline newline
\end_inset
@ -6516,8 +6516,8 @@ Mise à jour des anciens fichiers de format
La syntaxe des fichiers de format change à chaque publication d'une nouvelle
version de LyX, et les anciens fichiers de format doivent donc être convertis
dans la nouvelle syntaxe.
cette procédure a été rendue automatique depuis LyX 1.4: si LyX lit un fichier
de format écrit avec une syntaxe ancienne, il appelle le script
Si LyX lit un fichier de format écrit avec une syntaxe ancienne, il appelle
le script
\begin_inset Flex Code
status collapsed
@ -6535,32 +6535,76 @@ layout2layout.py
Pour ce faire, vous pouvez appeler le convertisseur manuellement:
\end_layout
\begin_layout LyX-Code
\begin_layout Enumerate
\lang english
mv ma_classe.layout ma_classe.old
\end_layout
\begin_layout LyX-Code
\lang english
python RépLyx/scripts/layout2layout.py ma_classe.old ma_classe.layout
\end_layout
\begin_layout Standard
Vous devez remplacer
rename the file
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
RépLyx
myclass.layout
\end_layout
\end_inset
par le nom de votre répertoire LyX au niveau système, naturellement.
to
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
myclass.old
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
\lang english
Call the command
\lang french
\begin_inset Newline newline
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\lang english
where
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
LyXDir
\end_layout
\end_inset
is
\lang french
le nom de votre répertoire LyX au niveau système.
\end_layout
\begin_layout Standard
@ -6584,12 +6628,14 @@ name "sec:Syntaxe-des"
Les sections suivantes vous expliquent à quoi vous vous attaquez quand vous
décidez de mettre les mains dans le cambouis, et de créer ou d'éditer votre
propre fichier de format.
Notre conseil est d'aller doucement, d'enregistrer souvent pour faire des
essais, d'écouter de la musique relaxante, et de siroter tranquillement
un ou deux verres de votre boisson favorite, voire plus si vous êtes coincés.
Notre conseil est d'aller doucement et d'enregistrer souvent pour faire
des essais.
Ce n'est pas si dur que ça, mais il y a une multitude d'options et vous
pouvez vous laisser submerger si vous essayez d'en faire trop d'un coup.
Allez donc prendre un verre, juste pour la route.
\lang english
It becomes easier if you use existing layouts of LyX as examples/reference
or if you modify an existing layout to your needs.
\end_layout
\begin_layout Standard
@ -7537,7 +7583,7 @@ CiteFormat
\family default
ajoute une information au préambule du document.
Voir
Voir section
\begin_inset space ~
\end_inset
@ -7548,7 +7594,8 @@ reference "sub:Description citation"
\end_inset
Doit être fermé par
.
Doit être fermé par
\begin_inset Quotes fld
\end_inset

View File

@ -5848,7 +5848,7 @@ DeclareLyXModule{My Package}
\end_layout
\begin_layout LyX-Code
Format 21
Format 35
\begin_inset Newline newline
\end_inset
@ -6142,8 +6142,8 @@ status collapsed
\end_layout
\begin_layout Standard
レイアウトファイルの書式は、LyXのリリース毎に変更されますので、古いレイアウトファイルは変換されなくてはなりません。この過程は、LyX第1.4版から自動化されま
した。LyXが古い書式のレイアウトファイルを読み込むと、LyXは、自動的に変換ツール
レイアウトファイルの書式は、LyXのリリース毎に変更されますので、古いレイアウトファイルは変換されなくてはなりません。LyXが古い書式のレイアウトファイルを読み
込むと、LyXは、自動的に変換ツール
\begin_inset Flex Code
status collapsed
@ -6157,26 +6157,74 @@ LyXDir/scripts/layout2layout.py
回行なわくて済むように、レイアウトファイルを恒久的に変換しておきたいと思うかもしれません。これを行うには、以下のように変換子を手動で呼び出してください。
\end_layout
\begin_layout LyX-Code
mv myclass.layout myclass.old
\end_layout
\begin_layout Enumerate
\begin_layout LyX-Code
python LyXDir/scripts/layout2layout.py myclass.old myclassnew.layout
\end_layout
\begin_layout Standard
もちろん、
\lang english
rename the file
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
myclass.layout
\end_layout
\end_inset
to
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
myclass.old
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
\lang english
Call the command
\lang japanese
\begin_inset Newline newline
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\lang english
where
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
LyXDir
\end_layout
\end_inset
は、お使いのLyXシステムディレクトリ名に置き換えてください。
is the name of your LyX system directory.
\end_layout
\begin_layout Standard
@ -6198,6 +6246,9 @@ name "sec:テキストクラス"
、ゆっくりと進めるようにして、ちょっと進むごとに保存やテストを行い、心休まる音楽を聴き、好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう。特に行き詰ま
ってしまったときにはそうです。実際にはそんなに難しいことではないのですが、特に一度に多くのことをやろうとすると、選択肢が多くありすぎて圧倒されてしまうのです。さ
て、もう一杯大人向け飲料をどうぞ。適量ね。
\lang english
It becomes easier if you use existing layouts of LyX as examples/reference
or if you modify an existing layout to your needs.
\end_layout
\begin_layout Standard