From c036549a00b34ae46b81f90c2e0004bee239ffd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Wed, 6 Jul 2016 01:58:57 +0200 Subject: [PATCH] Customization.lyx: fix format number as reported by Andrew Parsloe - also fix some typos and typographic mistakes and remove outdated info --- lib/doc/Customization.lyx | 24 ++------ lib/doc/de/Customization.lyx | 24 ++------ lib/doc/es/Customization.lyx | 110 +++++------------------------------ lib/doc/fr/Customization.lyx | 104 +++++---------------------------- lib/doc/ja/Customization.lyx | 55 ++---------------- 5 files changed, 45 insertions(+), 272 deletions(-) diff --git a/lib/doc/Customization.lyx b/lib/doc/Customization.lyx index 3d009527b7..609f58562d 100644 --- a/lib/doc/Customization.lyx +++ b/lib/doc/Customization.lyx @@ -6763,16 +6763,7 @@ Format Any format is acceptable, but one would normally use the format current at the time. (In \SpecialChar LyX - 2.1, the current layout format is 48.) You should be aware that local - layout is not supported by versions of \SpecialChar LyX - prior to 1.6, so you should not - use it if you want to be able to export your document to \SpecialChar LyX - 1.5 or earlier - (without, that is, losing the local layout information). - If you wish to be able to export to 1.6—local layout is supported in 1.6, - though there is no UI for it—then you should use format 11 and, of course, - use only layout constructs that were available in \SpecialChar LyX - 1.6. + 2.2, the current layout format is 60.) \end_layout \begin_layout Standard @@ -6939,8 +6930,7 @@ myclass.layout \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class{report} +DeclareLaTeXClass{report} \end_layout \begin_layout Standard @@ -6950,8 +6940,7 @@ to read \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class[report, myclass.sty]{report (myclass)} +DeclareLaTeXClass[report, myclass.sty]{report (myclass)} \end_layout \begin_layout Standard @@ -7144,7 +7133,7 @@ DeclareLyXModule{My Package} \end_layout \begin_layout LyX-Code -Format 35 +Format 60 \begin_inset Newline newline \end_inset @@ -7278,8 +7267,7 @@ thesis.layout \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class[thesis,book]{thesis} +DeclareLaTeXClass[thesis,book]{thesis} \end_layout \begin_layout Standard @@ -8433,7 +8421,7 @@ Format . The format for the present version of \SpecialChar LyX - is format 59. + is format 60. But each version of \SpecialChar LyX is capable of reading earlier versions' layout files, just as they are capable of reading files produced by earlier versions diff --git a/lib/doc/de/Customization.lyx b/lib/doc/de/Customization.lyx index 801530131d..de7cdf1ab8 100644 --- a/lib/doc/de/Customization.lyx +++ b/lib/doc/de/Customization.lyx @@ -4857,16 +4857,7 @@ Format Any format is acceptable, but one would normally use the format current at the time. (In \SpecialChar LyX - 2.1, the current layout format is 48.) You should be aware that local - layout is not supported by versions of \SpecialChar LyX - prior to 1.6, so you should not - use it if you want to be able to export your document to \SpecialChar LyX - 1.5 or earlier - (without, that is, losing the local layout information). - If you wish to be able to export to 1.6—local layout is supported in 1.6, - though there is no UI for it—then you should use format 11 and, of course, - use only layout constructs that were available in \SpecialChar LyX - 1.6. + 2.2, the current layout format is 60.) \end_layout \begin_layout Standard @@ -5061,8 +5052,7 @@ myclass.layout \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class{report} +DeclareLaTeXClass{report} \end_layout \begin_layout Standard @@ -5074,8 +5064,7 @@ to read \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class[report, myclass.sty]{report (myclass)} +DeclareLaTeXClass[report, myclass.sty]{report (myclass)} \end_layout \begin_layout Standard @@ -5296,7 +5285,7 @@ DeclareLyXModule{My Package} \end_layout \begin_layout LyX-Code -Format 35 +Format 60 \begin_inset Newline newline \end_inset @@ -5448,8 +5437,7 @@ thesis.layout \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class[thesis,book]{thesis} +DeclareLaTeXClass[thesis,book]{thesis} \end_layout \begin_layout Standard @@ -6519,7 +6507,7 @@ Format behandelt. Das Format dieser \SpecialChar LyX --Version ist 59. +-Version ist 60. Aber jede \SpecialChar LyX -Version kann ältere Versionen von Layout-Dateien lesen, so wie es ältere \SpecialChar LyX diff --git a/lib/doc/es/Customization.lyx b/lib/doc/es/Customization.lyx index 6de9a4003b..5b51a30254 100644 --- a/lib/doc/es/Customization.lyx +++ b/lib/doc/es/Customization.lyx @@ -6379,16 +6379,7 @@ Format Cualquier formato es aceptable, pero debería usarse normalmente el actual formato. (En \SpecialChar LyX - 2.1 el formato actual es 48). - Debes tener en cuenta que el formato local no es soportado por versiones - de \SpecialChar LyX - anteriores a 1.6, por tanto no deberías usarlo si quieres poder exportar - el documento a \SpecialChar LyX - 1.5 o anteriores sin perder la información del formato local. - Si quieres poder exportar a 1.6 —el formato local es soportado pero no hay - IU par él—, deberías usar formato 11 y, por supuesto, usar solo estructuras - que estuvieran disponibles en \SpecialChar LyX - 1.6. + 2.2 el formato actual es 60). \end_layout \begin_layout Standard @@ -6553,8 +6544,7 @@ myclass.layout \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class{report} +DeclareLaTeXClass{report} \end_layout \begin_layout Standard @@ -6564,8 +6554,7 @@ por la línea \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class[report, myclass.sty]{report (myclass)} +DeclareLaTeXClass[report, myclass.sty]{report (myclass)} \end_layout \begin_layout Standard @@ -6751,8 +6740,7 @@ myclass.sty \begin_layout LyX-Code # \backslash -Declare\SpecialChar LyX -Module{My Package} +DeclareLyXModule{My Package} \end_layout \begin_layout LyX-Code @@ -6772,7 +6760,7 @@ Module{My Package} \end_layout \begin_layout LyX-Code -Format 35 +Format 60 \begin_inset Newline newline \end_inset @@ -6882,8 +6870,7 @@ thesis.layout \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class[thesis,book]{thesis} +DeclareLaTeXClass[thesis,book]{thesis} \end_layout \begin_layout Standard @@ -7301,22 +7288,7 @@ del T. \size small # \backslash -DeclareLaT -\size default - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size small -eXClass{Article (Standard Class)} +DeclareLaTeXClass{Article (Standard Class)} \end_layout \begin_layout LyX-Code @@ -7525,22 +7497,7 @@ myarticle.layout \size small # \backslash -DeclareLaT -\size default - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size small -eXClass[article]{Article (con Mis Encabezados)} +DeclareLaTeXClass[article]{Article (con Mis Encabezados)} \end_layout \begin_layout LyX-Code @@ -7596,22 +7553,7 @@ Article (con Mis Encabezados) \size small # \backslash -DeclareLaT -\size default - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size small -eXClass[article,foo.sty]{Article (con Mis Encabezados)} +DeclareLaTeXClass[article,foo.sty]{Article (con Mis Encabezados)} \end_layout \begin_layout LyX-Code @@ -7665,22 +7607,7 @@ Así, para ser lo más explícito posible, la forma de la declaración del forma \size small # \backslash -DeclareLaT -\size default - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size small -eXClass[class,package.sty]{descripción del formato} +DeclareLaTeXClass[class,package.sty]{descripción del formato} \end_layout \begin_layout LyX-Code @@ -7851,18 +7778,7 @@ Un módulo debe empezar con una línea como la siguiente: \begin_layout LyX-Code # \backslash -DeclareL -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -yXModule[endnotes.sty]{Endnotes} +DeclareLyXModule[endnotes.sty]{Endnotes} \end_layout \begin_layout Standard @@ -8111,7 +8027,7 @@ Format . El número para la versión actual de \SpecialChar LyX - es formato 59. + es formato 60. Cada versión de \SpecialChar LyX es capaz de leer los formatos de versiones anteriores, de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX @@ -18070,7 +17986,7 @@ Command, Environment, None ] Cómo debería traducirse el estilo en \SpecialChar LaTeX . \begin_inset Foot -status open +status collapsed \begin_layout Plain Layout \begin_inset Flex Code diff --git a/lib/doc/fr/Customization.lyx b/lib/doc/fr/Customization.lyx index dbb9de6be4..9a9953b4ad 100644 --- a/lib/doc/fr/Customization.lyx +++ b/lib/doc/fr/Customization.lyx @@ -6420,8 +6420,7 @@ format local Vous le trouverez via \family sans Document\SpecialChar menuseparator -Paramètres\SpecialChar ldots -\SpecialChar menuseparator +Paramètres\SpecialChar menuseparator Format local \family default . @@ -6443,18 +6442,7 @@ Format N'importe quel format est admissible, mais on utilise d'habitude le format de la version de \SpecialChar LyX utilisée (pour \SpecialChar LyX - 2.1, le format porte le numéro 48). - Vous devez savoir que le format local n'existe pas pour les versions de - \SpecialChar LyX - antérieures à 1.6, vous ne devez donc pas l'utiliser si vous envisagez - d'exporter votre document en version 1.5 ou antérieure (en fait, sans perdre - l'information de format local). - Si vous souhaitez exporter vers \SpecialChar LyX - version 1.6 — le format local est reconnu, - mais il n'y a pas d'interface pour y accéder — vous devez alors utiliser - le format 11 et bien entendu vous restreindre aux constructions de format - qui étaient disponibles avec \SpecialChar LyX - 1.6. + 2.2, le format porte le numéro 60). \end_layout \begin_layout Standard @@ -6598,8 +6586,7 @@ ma_classe.layout \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class{report} +DeclareLaTeXClass{report} \end_layout \begin_layout Standard @@ -6609,8 +6596,7 @@ en : \begin_layout LyX-Code \backslash -Declare\SpecialChar LaTeX -Class[report, ma_classe.sty]{report (ma_classe)} +DeclareLaTeXClass[report, ma_classe.sty]{report (ma_classe)} \end_layout \begin_layout Standard @@ -6679,8 +6665,7 @@ status collapsed \begin_layout Plain Layout Document\SpecialChar menuseparator -Paramètres\SpecialChar ldots -\SpecialChar menuseparator +Paramètres\SpecialChar menuseparator Classe de document \end_layout @@ -6825,8 +6810,7 @@ ma_classe.sty \lang english # \backslash -Declare\SpecialChar LyX -Module{mon paquetage} +DeclareLyXModule{mon paquetage} \end_layout \begin_layout LyX-Code @@ -6854,7 +6838,7 @@ Module{mon paquetage} \begin_layout LyX-Code \lang english -Format 35 +Format 60 \begin_inset Newline newline \end_inset @@ -6999,8 +6983,7 @@ thesis.layout \lang english \backslash -Declare\SpecialChar LaTeX -Class[thesis,book]{thesis} +DeclareLaTeXClass[thesis,book]{thesis} \end_layout \begin_layout Standard @@ -7407,18 +7390,7 @@ Ne pas effacer la ligne ci-dessous ; configure compte dessus. \size small # \backslash -DeclareLaT -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -eXClass{Article (Standard Class)} +DeclareLaTeXClass{Article (Standard Class)} \end_layout \begin_layout LyX-Code @@ -7637,18 +7609,7 @@ mon_article.layout \size small # \backslash -DeclareLaT -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -eXClass[article]{Article (avec Mes En-têtes)} +DeclareLaTeXClass[article]{Article (avec Mes En-têtes)} \end_layout \begin_layout LyX-Code @@ -7705,18 +7666,7 @@ Article (avec Mes En-têtes) \size small # \backslash -DeclareLaT -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -eXClass[article,machin.sty]{Article (avec Mes En-têtes)} +DeclareLaTeXClass[article,machin.sty]{Article (avec Mes En-têtes)} \end_layout \begin_layout LyX-Code @@ -7780,18 +7730,7 @@ Donc, de la manière la plus explicite, la forme d'une déclaration de format \size small # \backslash -DeclareLaT -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -eXClass[class,package.sty]{description du format} +DeclareLaTeXClass[class,package.sty]{description du format} \end_layout \begin_layout LyX-Code @@ -7983,22 +7922,7 @@ La première ligne d'un module doit être rédigée comme suit: \begin_layout LyX-Code # \backslash -DeclareL -\size small - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size default -yXModule[endnotes.sty]{Endnotes} +DeclareLyXModule[endnotes.sty]{Endnotes} \end_layout \begin_layout Standard @@ -8274,7 +8198,7 @@ Format \lang french . - Le numéro de format du présent fichier est le numéro 59. + Le numéro de format du présent fichier est le numéro 60. mais chaque version de \SpecialChar LyX peut lire les fichiers de format d'une version plus ancienne, comme elle peut lire les documents crées avec une version diff --git a/lib/doc/ja/Customization.lyx b/lib/doc/ja/Customization.lyx index 6322660790..0919d7154d 100644 --- a/lib/doc/ja/Customization.lyx +++ b/lib/doc/ja/Customization.lyx @@ -5964,13 +5964,7 @@ Format \end_inset タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX - 2.1では,最新書式は48です).また, -ローカルレイアウトは,\SpecialChar LyX - 1.6より前の版ではサポートされていないことを認識しておく必要があります.したがって,文書を\SpecialChar LyX - 1.5またはそれ以前の版に(ローカルレイアウト -情報を失うことなく)書き出せることを望むならば,使用するべきではありません.第1.6版へ—第1.6版はUIはありませんがローカルレイアウトをサポートしています—書き -出せることを望むならば,書式11を用いて,さらに\SpecialChar LyX - 1.6で使用できるレイアウト要素のみを使用してください. + 2.2では,最新書式は60です) \end_layout \begin_layout Standard @@ -6293,7 +6287,7 @@ DeclareLyXModule{My Package} \end_layout \begin_layout LyX-Code -Format 35 +Format 60 \begin_inset Newline newline \end_inset @@ -6428,18 +6422,7 @@ thesis.layout \begin_layout LyX-Code \backslash -DeclareLaT -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -eXClass[thesis,book]{thesis} +DeclareLaTeXClass[thesis,book]{thesis} \end_layout \begin_layout Standard @@ -6967,22 +6950,7 @@ myarticle \size small # \backslash -DeclareLaT -\size default - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - - -\size small -eXClass[article,foo.sty]{Article (with My Own Headings)} +DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)} \end_layout \begin_layout LyX-Code @@ -7189,18 +7157,7 @@ status collapsed \begin_layout LyX-Code # \backslash -DeclareL -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{} -\end_layout - -\end_inset - -yXModule[endnotes.sty]{Endnotes} +DeclareLyXModule[endnotes.sty]{Endnotes} \end_layout \begin_layout Standard @@ -7439,7 +7396,7 @@ status collapsed \end_inset 1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX -現行版のファイル形式は,書式59です.しかし,\SpecialChar LyX +現行版のファイル形式は,書式60です.しかし,\SpecialChar LyX の各版は,旧版の\SpecialChar LyX で作成さ れたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法はありません.