EmbeddedObjects.lyx: - describe the new \nameref and refstyle features

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35711 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-10-19 01:17:19 +00:00
parent b806a1b176
commit 5fa37bf6a0
5 changed files with 961 additions and 89 deletions

View File

@ -122,7 +122,6 @@
% number algorithm floats within chapters
\numberwithin{algorithm}{chapter}
% ------------------------------------
% used to check for needed LaTeX packages
\usepackage{ifthen}
@ -1200,6 +1199,13 @@ name "fig:Two-distorted-images"
\end_inset
\begin_inset CommandInset label
LatexCommand label
name "fig2:Two-distorted-images-2"
\end_inset
Two distorted images.
Both images are in the image settings group named
\begin_inset Quotes eld
@ -20444,7 +20450,7 @@ Formatted
\begin_inset space ~
\end_inset
reference: prints a self defined cross-reference format.
reference: prints a self-defined cross-reference format.
\begin_inset Newline newline
\end_inset
@ -20460,6 +20466,10 @@ Note:
This feature is only available when you have the LaTeX-package
\series bold
prettyref
\series default
or
\series bold
refstyle
\series default
\begin_inset Index idx
@ -20469,6 +20479,16 @@ status collapsed
LaTeX-packages ! prettyref
\end_layout
\end_inset
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-packages ! refstyle
\end_layout
\end_inset
installed.
@ -20477,6 +20497,87 @@ LaTeX-packages ! prettyref
\end_inset
\begin_inset Newline newline
\end_inset
You can select which LaTeX-package should be used for this feature by setting
the option
\family sans
Use refstyle (not prettyref) for cross-references
\family default
in the menu
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class
\family default
.
The format is specified by adding the command
\series bold
\backslash
newrefformat
\series default
(prettyref) or
\series bold
\backslash
newref
\series default
(refstyle) to the preamble of the document.
For example redefining all references to figures (which have the label
shortcut
\begin_inset Quotes eld
\end_inset
\family sans
fig
\family default
\begin_inset Quotes erd
\end_inset
) can be done with this command
\begin_inset Newline newline
\end_inset
\series bold
\backslash
newref{fig}{refcmd={Image on page
\backslash
pageref{#1}}}
\series default
\begin_inset Newline newline
\end_inset
For more information about the format, have a look at the package documentations
,
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref,refstyle"
\end_inset
.
\end_layout
\begin_layout Description
Textual
\begin_inset space ~
\end_inset
reference: prints the caption of the reference:
\begin_inset CommandInset ref
LatexCommand nameref
reference "fig:Two-distorted-images"
\end_inset
\end_layout
\begin_layout Standard
@ -20534,7 +20635,21 @@ status open
\series bold
Note:
\series default
The LaTeX-package
It is recommended to use the LaTeX-package
\series bold
refstyle
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-packages ! refstyle
\end_layout
\end_inset
because
\series bold
prettyref
\series default
@ -20566,18 +20681,6 @@ fig:
\end_inset
and is not internationalized.
To find out how to tell
\series bold
prettyref
\series default
new shortcuts and translations, have a look at its documentation
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref"
\end_inset
.
\end_layout
\end_inset
@ -35132,6 +35235,39 @@ LaTeX-packages ! prettyref
\end_inset
\end_layout
\begin_layout Bibliography
\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "refstyle"
\end_inset
Documentation of the LaTeX-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "refstyle"
target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
\end_inset
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-packages ! refstyle
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography

View File

@ -390,7 +390,6 @@ Um eine Abbildung in Ihr Dokument einzufügen, klicken Sie auf das Symbol
scale 70
scaleBeforeRotation
\end_inset
in der Werkzeugleiste oder wählen das Menü
@ -793,7 +792,6 @@ Wenn Sie auf das Werkzeugleisten-Symbol
scale 70
scaleBeforeRotation
\end_inset
klicken oder
@ -979,7 +977,6 @@ Marke
scale 70
scaleBeforeRotation
\end_inset
eine Marke ein.
@ -994,7 +991,6 @@ Querverweis
scale 70
scaleBeforeRotation
\end_inset
verweisen.
@ -1617,7 +1613,6 @@ Eine Tabelle können Sie mit dem Werkzeugleistenknopf
scale 70
scaleBeforeRotation
\end_inset
oder das Menü
@ -2739,7 +2734,6 @@ Tabelle
scale 70
scaleBeforeRotation
\end_inset
erzeugt werden.
@ -2767,7 +2761,6 @@ Nr:
scale 70
scaleBeforeRotation
\end_inset
oder dem Menü
@ -2898,7 +2891,6 @@ Marke
scale 70
scaleBeforeRotation
\end_inset
eine Marke ein.
@ -2913,7 +2905,6 @@ Querverweis
scale 70
scaleBeforeRotation
\end_inset
verweisen.
@ -11455,7 +11446,6 @@ Um mehrere Zellen einer Zeile zu einer zu verbinden, markieren Sie diese
scale 70
scaleBeforeRotation
\end_inset
in der Werkzeugleiste, das Menü
@ -19865,7 +19855,6 @@ Gleitobjekt
scale 70
scaleBeforeRotation
\end_inset
oder
@ -19874,7 +19863,6 @@ Gleitobjekt
scale 70
scaleBeforeRotation
\end_inset
klicken.
@ -19924,7 +19912,6 @@ Vorhandene Abbildungen oder Tabellen können Sie in ein Gleitobjekt packen,
scale 70
scaleBeforeRotation
\end_inset
oder
@ -19933,7 +19920,6 @@ Vorhandene Abbildungen oder Tabellen können Sie in ein Gleitobjekt packen,
scale 70
scaleBeforeRotation
\end_inset
klicken.
@ -20911,13 +20897,27 @@ Bemerkung:
Dies ist nur möglich, wenn das LaTeX-Paket
\series bold
prettyref
\series default
oder
\series bold
refstyle
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-Pakete! prettyref
LaTeX-Pakete ! prettyref
\end_layout
\end_inset
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-Pakete ! refstyle
\end_layout
\end_inset
@ -20928,6 +20928,88 @@ LaTeX-Pakete! prettyref
\end_inset
\begin_inset Newline newline
\end_inset
Sie können duch setzen der Option
\family sans
Verwende refstyle (nicht prettyref) für Querverweise
\family default
im Menü
\family sans
Dokument\SpecialChar \menuseparator
Einstellungen\SpecialChar \menuseparator
Dokumentklasse
\family default
wählen, welches LaTeX-Paket für diesen Verweistyp verwendet wird.
Das Format wird definiert, indem man den Befehl
\series bold
\backslash
newrefformat
\series default
(prettyref) oder
\series bold
\backslash
newref
\series default
(refstyle) in die Dokumentpräambel einfügt.
Z.
\begin_inset space \thinspace{}
\end_inset
B.
kann das Format aller Referenzen auf Abbildungen (haben das Marken-Kürzel
\begin_inset Quotes eld
\end_inset
\family sans
abb
\family default
\begin_inset Quotes erd
\end_inset
) mit dem Befehle
\begin_inset Newline newline
\end_inset
\series bold
\backslash
newref{abb}{refcmd={Bild auf Seite
\backslash
pageref{#1}}}
\series default
\begin_inset Newline newline
\end_inset
geändert werden.
Für weitere Informationen bezüglich des Formats sei auf die Paket-Dokumentation
en verwiesen,
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref,refstyle"
\end_inset
.
\end_layout
\begin_layout Description
Textverweis: druckt die Beschriftung oder den Namen der Referenz:
\begin_inset CommandInset ref
LatexCommand nameref
reference "abb:Zwei-Teilabbildungen"
\end_inset
\end_layout
\begin_layout Standard
@ -20995,7 +21077,21 @@ status open
\series bold
Bemerkung:
\series default
Das LaTeX-Paket
Es wird empfohlen, das LaTeX-Paket
\series bold
refstyle
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-Pakete ! refstyle
\end_layout
\end_inset
zu verwenden, da
\series bold
prettyref
\series default
@ -21004,12 +21100,12 @@ prettyref
status collapsed
\begin_layout Plain Layout
LaTeX-Pakete! prettyref
LaTeX-Pakete ! prettyref
\end_layout
\end_inset
kennt nicht alle möglichen Marken-Kürzel
nicht alle möglichen LyX Marken-Kürzel
\begin_inset Foot
status collapsed
@ -21032,20 +21128,7 @@ B.
\end_inset
von LyX und ist auch nicht internationalisiert.
Wie man weitere Marken-Kürzel und Übersetzungen hinzufüg, ist in der Dokumentat
ion von
\series bold
prettyref
\series default
beschrieben
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref"
\end_inset
.
kennt und auch nicht internationalisiert ist.
\end_layout
\end_inset
@ -24682,7 +24765,6 @@ Notizen werden mit einem Klick auf
scale 85
scaleBeforeRotation
\end_inset
oder
@ -24907,7 +24989,6 @@ Wenn Sie auf den Werkzeugleistenknopf
scale 85
scaleBeforeRotation
\end_inset
klicken, wird zunächst eine
@ -35456,7 +35537,40 @@ LaTeX-Pakete ! prettyref
\labelwidthstring Literaturverzeichnis
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "NewInLyX20"
key "refstyle"
\end_inset
Dokumentation des LaTeX-Pakets
\series bold
\begin_inset CommandInset href
LatexCommand href
name "refstyle"
target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
\end_inset
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-Pakete ! refstyle
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
\labelwidthstring Literaturverzeichnis
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "NeuInLyX20"
\end_inset

View File

@ -20303,6 +20303,10 @@ Nota:
\series bold
prettyref
\series default
o
\series bold
refstyle
\series default
.
\begin_inset Index idx
@ -20315,11 +20319,121 @@ LaTeX-paquetes ! prettyref
\end_inset
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-paquetes ! refstyle
\end_layout
\end_inset
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\lang english
You can select which LaTeX-package should be used for this feature by setting
the option
\family sans
Use refstyle (not prettyref) for cross-references
\family default
in the menu
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class
\family default
.
The format is specified by adding the command
\series bold
\backslash
newrefformat
\series default
(prettyref) or
\series bold
\backslash
newref
\series default
(refstyle) to the preamble of the document.
For example redefining all references to figures (which have the label
shortcut
\lang spanish
\begin_inset Quotes fld
\end_inset
\family sans
fig
\family default
\begin_inset Quotes frd
\end_inset
)
\lang english
can be done with this command
\lang spanish
\begin_inset Newline newline
\end_inset
\series bold
\backslash
newref{fig}{refcmd={
\lang english
Image on page
\lang spanish
\backslash
pageref{#1}}}
\series default
\begin_inset Newline newline
\end_inset
\lang english
For more information about the format, have a look at the package documentations
\lang spanish
,
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref,refstyle"
\end_inset
.
\end_layout
\begin_layout Description
\lang english
Textual
\begin_inset space ~
\end_inset
reference: prints the caption of the reference
\lang spanish
:
\begin_inset CommandInset ref
LatexCommand nameref
reference "fig:Dos-imágenes-distorsionadas"
\end_inset
\end_layout
\begin_layout Standard
@ -20384,7 +20498,29 @@ status open
\series bold
Nota:
\series default
El paquete LaTeX
\lang english
It is recommended to use
\lang spanish
el paquete LaTeX
\series bold
refstyle
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-paquetes ! refstyle
\end_layout
\end_inset
\lang english
because
\lang spanish
\series bold
prettyref
\series default
@ -20417,19 +20553,6 @@ fig:
\end_inset
posibles en LyX y no está internacionalizado.
Para saber cómo indicar a
\series bold
prettyref
\series default
nuevas abreviaturas y traducciones, echa un vistazo a su documentación,
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref"
\end_inset
.
\end_layout
\end_inset
@ -34630,6 +34753,39 @@ LaTeX-paquetes ! prettyref
\end_inset
\end_layout
\begin_layout Bibliography
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "refstyle"
\end_inset
Documentación del paquete LaTeX
\series bold
\begin_inset CommandInset href
LatexCommand href
name "refstyle"
target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
\end_inset
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeX-paquetes ! refstyle
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography

View File

@ -20971,10 +20971,9 @@ forme
\end_inset
: affiche une référence croisée qui définit son propre format.
\begin_inset Newline newline
\end_inset
\lang english
\lang french
\begin_inset Note Greyedout
status open
@ -20988,6 +20987,10 @@ Note:
le paquetage LaTeX
\series bold
prettyref
\series default
ou
\series bold
refstyle
\series default
\begin_inset Index idx
@ -20999,12 +21002,118 @@ Paquetages LaTeX ! prettyref
\end_inset
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Paquetages LaTeX ! refstyle
\end_layout
\end_inset
.
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
\lang english
You can select which LaTeX-package should be used for this feature by setting
the option
\family sans
Use refstyle (not prettyref) for cross-references
\family default
in the menu
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class
\family default
.
The format is specified by adding the command
\series bold
\backslash
newrefformat
\series default
(prettyref) or
\series bold
\backslash
newref
\series default
(refstyle) to the preamble of the document.
For example redefining all references to figures (which have the label
shortcut
\begin_inset Quotes eld
\end_inset
\family sans
fig
\family default
\begin_inset Quotes erd
\end_inset
) can be done with this command
\lang french
\begin_inset Newline newline
\end_inset
\series bold
\backslash
newref{fig}{refcmd={
\lang english
Image on page
\lang french
\backslash
pageref{#1}}}
\series default
\begin_inset Newline newline
\end_inset
\lang english
For more information about the format, have a look at the package documentations
\lang french
,
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref,refstyle"
\end_inset
.
\end_layout
\begin_layout Description
\lang english
Textual
\begin_inset space ~
\end_inset
reference: prints the caption of the reference
\lang french
:
\begin_inset CommandInset ref
LatexCommand nameref
reference "fig:Deux-images-déformées"
\end_inset
\end_layout
\begin_layout Standard
@ -21061,7 +21170,29 @@ status open
\series bold
Note:
\series default
Le paquetage LaTeX
\lang english
It is recommended to use
\lang french
le paquetage LaTeX
\series bold
refstyle
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Paquetages LaTeX ! refstyle
\end_layout
\end_inset
\lang english
because
\lang french
\series bold
prettyref
\series default
@ -21094,19 +21225,6 @@ fig:
\end_inset
et n'est pas internationalisé.
Pour savoir comment introduire de nouveaux raccourcis ou de nouvelles traductio
ns dans
\series bold
prettyref
\series default
, voir la documentation du paquetage
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref"
\end_inset
.
\end_layout
\end_inset
@ -36028,6 +36146,39 @@ Paquetages LaTeX ! prettyref
\end_inset
\end_layout
\begin_layout Bibliography
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "refstyle"
\end_inset
Documentation du paquetage LaTeX
\series bold
\begin_inset CommandInset href
LatexCommand href
name "refstyle"
target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
\end_inset
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Paquetages LaTeX ! refstyle
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography

View File

@ -19087,34 +19087,283 @@ reference "fig:歪められた二つの像"
\end_layout
\begin_layout Description
整形された参照: これはユーザー定義の相互参照書式で表示します。
\lang english
Formatted
\begin_inset space ~
\end_inset
reference: prints a self-defined cross-reference format.
\begin_inset Newline newline
\end_inset
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
【註】この機能は、LaTeXパッケージのprettyrefが導入済みの時のみ利用できます。
\series bold
\lang english
Note:
\series default
This feature is only available when you have the LaTeX-package
\series bold
prettyref
\series default
or
\series bold
refstyle
\series default
\lang japanese
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeXぱっけーじ@LaTeXパッケージ! prettyref
\end_layout
\end_inset
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
\end_layout
\end_inset
\lang english
installed.
\end_layout
\end_inset
\lang japanese
\begin_inset Newline newline
\end_inset
\lang english
You can select which LaTeX-package should be used for this feature by setting
the option
\family sans
Use refstyle (not prettyref) for cross-references
\family default
in the menu
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
Document Class
\family default
.
The format is specified by adding the command
\series bold
\backslash
newrefformat
\series default
(prettyref) or
\series bold
\backslash
newref
\series default
(refstyle) to the preamble of the document.
For example redefining all references to figures (which have the label
shortcut
\begin_inset Quotes eld
\end_inset
\family sans
fig
\family default
\begin_inset Quotes erd
\end_inset
) can be done with this command
\lang japanese
\begin_inset Newline newline
\end_inset
\series bold
\backslash
newref{fig}{refcmd={
\lang english
Image on page
\lang japanese
\backslash
pageref{#1}}}
\series default
\begin_inset Newline newline
\end_inset
\lang english
For more information about the format, have a look at the package documentations
\lang japanese
,
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref,refstyle"
\end_inset
.
\end_layout
\begin_layout Description
\lang english
Textual
\begin_inset space ~
\end_inset
reference: prints the caption of the reference
\lang japanese
:
\begin_inset CommandInset ref
LatexCommand nameref
reference "fig:歪められた二つの像"
\end_inset
\end_layout
\begin_layout Standard
<参照ページ>様式は、ラベルが同じページにあるか前後隣接するページにある場合には、ページ番号を出力しないことに注意してください。その代わりに、たとえば「
\family sans
\lang english
<page>
\family default
will not print the page number if the label is on the previous, the same,
or the next page.
You will e.
\begin_inset space \thinspace{}
\end_inset
g.
\begin_inset space \space{}
\end_inset
see the text
\begin_inset Quotes eld
\end_inset
\family sans
on this page
\family default
」という文が出力されます。
\begin_inset Quotes erd
\end_inset
instead.
The style
\family sans
<reference> on page <page>
\family default
will not print anything about the page if the label is on the same page.
\end_layout
\begin_layout Standard
出力中では、参照されている文書の箇所のページ番号は、LaTeXによって自動的に計算されます。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンド
ウの
\lang english
The number and current page of the part of the document referred to in the
output is automatically calculated by LaTeX.
The varieties are adjusted in the field
\family sans
書式
Format
\family default
フィールドで選ぶことができます。
of the cross-reference window that appears when you click on the cross-referenc
e box.
\end_layout
\begin_layout Standard
\lang english
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
\lang english
Note:
\series default
It is recommended to use the LaTeX-package
\series bold
refstyle
\series default
\lang japanese
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
\end_layout
\end_inset
\lang english
because
\series bold
prettyref
\series default
\lang japanese
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeXぱっけーじ@LaTeXパッケージ! prettyref
\end_layout
\end_inset
\lang english
does not know all of LyX's possible label shortcuts
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\lang english
\begin_inset Quotes eld
\end_inset
fig:
\begin_inset Quotes erd
\end_inset
is for example LyX's shortcut for labels in figure captions.
\end_layout
\end_inset
and is not internationalized.
\end_layout
\end_inset
\end_layout
\begin_layout Subsection
@ -32429,6 +32678,72 @@ LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
の取扱説明書
\end_layout
\begin_layout Bibliography
\labelwidthstring 参考文献
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "prettyref"
\end_inset
LaTeXパッケージ
\series bold
\begin_inset CommandInset href
LatexCommand href
name "prettyref"
target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
\end_inset
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeXぱっけーじ@LaTeXパッケージ! prettyref
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
\labelwidthstring 参考文献
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "refstyle"
\end_inset
LaTeXパッケージ
\series bold
\begin_inset CommandInset href
LatexCommand href
name "refstyle"
target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
\end_inset
\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
\labelwidthstring 参考文献
\begin_inset CommandInset bibitem