mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Customization: use info-inset for layout format
This commit is contained in:
parent
5e26a3a633
commit
9792a15141
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.3 created this file. For more info see http://www.lyx.org/
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
\lyxformat 544
|
\lyxformat 564
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\save_transient_properties true
|
\save_transient_properties true
|
||||||
@ -45,7 +45,7 @@ logicalmkup
|
|||||||
\language english
|
\language english
|
||||||
\language_package default
|
\language_package default
|
||||||
\inputencoding auto
|
\inputencoding auto
|
||||||
\fontencoding global
|
\fontencoding auto
|
||||||
\font_roman "lmodern" "default"
|
\font_roman "lmodern" "default"
|
||||||
\font_sans "lmss" "default"
|
\font_sans "lmss" "default"
|
||||||
\font_typewriter "lmtt" "default"
|
\font_typewriter "lmtt" "default"
|
||||||
@ -6974,7 +6974,19 @@ Format
|
|||||||
Any format is acceptable, but one would normally use the format current
|
Any format is acceptable, but one would normally use the format current
|
||||||
at the time.
|
at the time.
|
||||||
(In \SpecialChar LyX
|
(In \SpecialChar LyX
|
||||||
2.3, the current layout format is 63.)
|
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "version"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
, the current layout format is
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
.)
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -7344,7 +7356,13 @@ DeclareLyXModule{My Class}
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout LyX-Code
|
\begin_layout LyX-Code
|
||||||
Format 63
|
Format
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Newline newline
|
\begin_inset Newline newline
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.3 created this file. For more info see http://www.lyx.org/
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
\lyxformat 544
|
\lyxformat 564
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\save_transient_properties true
|
\save_transient_properties true
|
||||||
@ -53,7 +53,7 @@ logicalmkup
|
|||||||
\language ngerman
|
\language ngerman
|
||||||
\language_package default
|
\language_package default
|
||||||
\inputencoding auto
|
\inputencoding auto
|
||||||
\fontencoding global
|
\fontencoding auto
|
||||||
\font_roman "lmodern" "FreeSerif"
|
\font_roman "lmodern" "FreeSerif"
|
||||||
\font_sans "lmss" "FreeSans"
|
\font_sans "lmss" "FreeSans"
|
||||||
\font_typewriter "lmtt" "FreeMono"
|
\font_typewriter "lmtt" "FreeMono"
|
||||||
@ -5399,7 +5399,19 @@ Format
|
|||||||
u.).
|
u.).
|
||||||
Dabei ist jedes (bekannte) Format möglich, sinnvollerweise sollten Sie
|
Dabei ist jedes (bekannte) Format möglich, sinnvollerweise sollten Sie
|
||||||
aber das jeweils aktuelle verwenden (das aktuelle Format in \SpecialChar LyX
|
aber das jeweils aktuelle verwenden (das aktuelle Format in \SpecialChar LyX
|
||||||
2.3 ist 63).
|
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "version"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
ist
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
).
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -5806,7 +5818,13 @@ DeclareLyXModule{My Class}
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout LyX-Code
|
\begin_layout LyX-Code
|
||||||
Format 63
|
Format
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Newline newline
|
\begin_inset Newline newline
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.3 created this file. For more info see http://www.lyx.org/
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
\lyxformat 544
|
\lyxformat 564
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\save_transient_properties true
|
\save_transient_properties true
|
||||||
@ -44,7 +44,7 @@ logicalmkup
|
|||||||
\language spanish
|
\language spanish
|
||||||
\language_package default
|
\language_package default
|
||||||
\inputencoding auto
|
\inputencoding auto
|
||||||
\fontencoding global
|
\fontencoding auto
|
||||||
\font_roman "lmodern" "default"
|
\font_roman "lmodern" "default"
|
||||||
\font_sans "lmss" "default"
|
\font_sans "lmss" "default"
|
||||||
\font_typewriter "lmtt" "default"
|
\font_typewriter "lmtt" "default"
|
||||||
@ -6426,7 +6426,19 @@ Format
|
|||||||
Cualquier formato es aceptable, pero debería usarse normalmente el actual
|
Cualquier formato es aceptable, pero debería usarse normalmente el actual
|
||||||
formato.
|
formato.
|
||||||
(En \SpecialChar LyX
|
(En \SpecialChar LyX
|
||||||
2.2 el formato actual es 60).
|
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "version"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
el formato actual es
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
).
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -6807,7 +6819,13 @@ DeclareLyXModule{My Package}
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout LyX-Code
|
\begin_layout LyX-Code
|
||||||
Format 60
|
Format
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Newline newline
|
\begin_inset Newline newline
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -8364,7 +8382,13 @@ Format
|
|||||||
|
|
||||||
.
|
.
|
||||||
El número para la versión actual de \SpecialChar LyX
|
El número para la versión actual de \SpecialChar LyX
|
||||||
es formato 60.
|
es formato
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
.
|
||||||
Cada versión de \SpecialChar LyX
|
Cada versión de \SpecialChar LyX
|
||||||
es capaz de leer los formatos de versiones anteriores,
|
es capaz de leer los formatos de versiones anteriores,
|
||||||
de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
|
de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.3 created this file. For more info see http://www.lyx.org/
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
\lyxformat 544
|
\lyxformat 564
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\save_transient_properties true
|
\save_transient_properties true
|
||||||
@ -44,7 +44,7 @@ logicalmkup
|
|||||||
\language french
|
\language french
|
||||||
\language_package default
|
\language_package default
|
||||||
\inputencoding auto
|
\inputencoding auto
|
||||||
\fontencoding global
|
\fontencoding auto
|
||||||
\font_roman "lmodern" "default"
|
\font_roman "lmodern" "default"
|
||||||
\font_sans "lmss" "default"
|
\font_sans "lmss" "default"
|
||||||
\font_typewriter "lmtt" "default"
|
\font_typewriter "lmtt" "default"
|
||||||
@ -6487,7 +6487,19 @@ Format
|
|||||||
N'importe quel format est admissible, mais on utilise d'habitude le format
|
N'importe quel format est admissible, mais on utilise d'habitude le format
|
||||||
de la version de \SpecialChar LyX
|
de la version de \SpecialChar LyX
|
||||||
utilisée (pour \SpecialChar LyX
|
utilisée (pour \SpecialChar LyX
|
||||||
2.2, le format porte le numéro 60).
|
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "version"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
, le format porte le numéro
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
).
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -6883,7 +6895,13 @@ DeclareLyXModule{mon paquetage}
|
|||||||
\begin_layout LyX-Code
|
\begin_layout LyX-Code
|
||||||
|
|
||||||
\lang english
|
\lang english
|
||||||
Format 60
|
Format
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Newline newline
|
\begin_inset Newline newline
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -8530,7 +8548,13 @@ Format
|
|||||||
|
|
||||||
\lang french
|
\lang french
|
||||||
.
|
.
|
||||||
Le numéro de format du présent fichier est le numéro 60.
|
Le numéro de format du présent fichier est le numéro
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
.
|
||||||
mais chaque version de \SpecialChar LyX
|
mais chaque version de \SpecialChar LyX
|
||||||
peut lire les fichiers de format d'une version
|
peut lire les fichiers de format d'une version
|
||||||
plus ancienne, comme elle peut lire les documents crées avec une version
|
plus ancienne, comme elle peut lire les documents crées avec une version
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.3 created this file. For more info see http://www.lyx.org/
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
\lyxformat 544
|
\lyxformat 564
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\save_transient_properties false
|
\save_transient_properties false
|
||||||
@ -88,7 +88,7 @@ End
|
|||||||
\language japanese
|
\language japanese
|
||||||
\language_package default
|
\language_package default
|
||||||
\inputencoding auto
|
\inputencoding auto
|
||||||
\fontencoding global
|
\fontencoding auto
|
||||||
\font_roman "default" "default"
|
\font_roman "default" "default"
|
||||||
\font_sans "default" "default"
|
\font_sans "default" "default"
|
||||||
\font_typewriter "default" "default"
|
\font_typewriter "default" "default"
|
||||||
@ -5954,7 +5954,19 @@ Format
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
|
タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
|
||||||
2.2では,最新書式は60です)
|
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "version"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
では,最新書式は
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
です)
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -6277,7 +6289,13 @@ DeclareLyXModule{My Package}
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout LyX-Code
|
\begin_layout LyX-Code
|
||||||
Format 60
|
Format
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Newline newline
|
\begin_inset Newline newline
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -7608,10 +7626,16 @@ status collapsed
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
|
1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
|
||||||
現行版のファイル形式は,書式60です.しかし,\SpecialChar LyX
|
現行版のファイル形式は,書式
|
||||||
|
\begin_inset Info
|
||||||
|
type "lyxinfo"
|
||||||
|
arg "layoutformat"
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
です.しかし,\SpecialChar LyX
|
||||||
の各版は,旧版の\SpecialChar LyX
|
の各版は,旧版の\SpecialChar LyX
|
||||||
で作成さ
|
で作成されたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法
|
||||||
れたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法はありません.
|
はありません.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Subsection
|
\begin_layout Subsection
|
||||||
|
Loading…
Reference in New Issue
Block a user