- EmbeddedObjects.lyx: correct the description of Automatic Reference Naming

- Math.lyx: correct the preamble accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40731 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2012-02-12 02:17:32 +00:00
parent ed79c47794
commit aca7f65121
10 changed files with 33 additions and 255 deletions

View File

@ -24160,55 +24160,14 @@ To get automatic names, but not for certain reference types, for example
\series bold
\backslash
newlength{
\backslash
abc}
\begin_inset Newline newline
\end_inset
\backslash
settowidth{
\backslash
abc}{
\backslash
space}
\begin_inset Newline newline
\end_inset
\backslash
addto
\backslash
extrasenglish{
\backslash
renewcommand{
renewcommand*{
\backslash
equationautorefname}
\begin_inset Newline newline
\end_inset
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
\series bold
\begin_inset space ~
\end_inset
\end_layout
\end_inset
{
\backslash
hspace{-
\backslash
abc}}
equationautorefname}[1]{}}
\end_layout
\begin_layout Standard

View File

@ -39,10 +39,8 @@
% increase link area for cross-references and autoname them,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\addto\extrasenglish{%
\renewcommand*{\equationautorefname}[1]{}
\renewcommand{\sectionautorefname}{sec.\negthinspace}
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}

View File

@ -24395,7 +24395,7 @@ negthinspace}}
\end_layout
\begin_layout Standard
Wenn Sie eine andere Dokumentsprache als Englisch benutzen, ersetzen Sie
Wenn Sie eine andere Dokumentsprache als Deutsch benutzen, ersetzen Sie
\begin_inset Newline newline
\end_inset
@ -24428,55 +24428,14 @@ B.
\series bold
\backslash
newlength{
\backslash
abc}
\begin_inset Newline newline
\end_inset
\backslash
settowidth{
\backslash
abc}{
\backslash
space}
\begin_inset Newline newline
\end_inset
\backslash
addto
\backslash
extrasenglish{
extrasngerman{
\backslash
renewcommand{
renewcommand*{
\backslash
equationautorefname}
\begin_inset Newline newline
\end_inset
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
\series bold
\begin_inset space ~
\end_inset
\end_layout
\end_inset
{
\backslash
hspace{-
\backslash
abc}}
equationautorefname}[1]{}}
\end_layout
\begin_layout Standard

View File

@ -39,10 +39,8 @@
% Linkfläche für Querverweise vergrößern und automatisch benennen,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\addto\extrasngerman{%
\renewcommand*{\equationautorefname}[1]{}
\renewcommand{\sectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}

View File

@ -24162,7 +24162,7 @@ Si prefieres otros nombres para las referencias distintos de los predeterminados
\backslash
addto
\backslash
extrasenglish{
extrasspanish{
\backslash
renewcommand{
\backslash
@ -24191,7 +24191,7 @@ negthinspace}}
\end_layout
\begin_layout Standard
Si estás usando un idioma de documento distinto del inglés, reemplaza
Si estás usando un idioma de documento distinto del español, reemplaza
\begin_inset Newline newline
\end_inset
@ -24199,7 +24199,7 @@ Si estás usando un idioma de documento distinto del inglés, reemplaza
\series bold
\backslash
extrasenglish
extrasspanish
\series default
por
\series bold
@ -24219,55 +24219,14 @@ Para obtener nombres automáticos pero no para determinados tipos de referencias
\series bold
\backslash
newlength{
\backslash
abc}
\begin_inset Newline newline
\end_inset
\backslash
settowidth{
\backslash
abc}{
\backslash
space}
\begin_inset Newline newline
\end_inset
\backslash
addto
\backslash
extrasenglish{
extrasspanish{
\backslash
renewcommand{
renewcommand*{
\backslash
equationautorefname}
\begin_inset Newline newline
\end_inset
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
\series bold
\begin_inset space ~
\end_inset
\end_layout
\end_inset
{
\backslash
hspace{-
\backslash
abc}}
equationautorefname}[1]{}}
\end_layout
\begin_layout Standard

View File

@ -39,10 +39,8 @@
% increase link area for cross-references and autoname them,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\addto\extrasspanish{%
\renewcommand*{\equationautorefname}[1]{}
\renewcommand{\sectionautorefname}{sec.\negthinspace}
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}

View File

@ -24781,7 +24781,7 @@ section
\backslash
addto
\backslash
extrasenglish{
extrasfrench{
\backslash
renewcommand{
\backslash
@ -24810,11 +24810,11 @@ negthinspace}}
\end_layout
\begin_layout Standard
Si vous utilisez une autre langue que l'anglais, remplacez
Si vous utilisez une autre langue que le français, remplacez
\series bold
\backslash
extrasenglish
extrasfrench
\series default
par
\series bold
@ -24837,55 +24837,14 @@ Pour avoir des noms automatiques, mais pas pour certains types de références,
\series bold
\backslash
newlength{
\backslash
abc}
\begin_inset Newline newline
\end_inset
\backslash
settowidth{
\backslash
abc}{
\backslash
space}
\begin_inset Newline newline
\end_inset
\backslash
addto
\backslash
extrasenglish{
extrasfrench{
\backslash
renewcommand{
renewcommand*{
\backslash
equationautorefname}
\begin_inset Newline newline
\end_inset
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
\series bold
\begin_inset space ~
\end_inset
\end_layout
\end_inset
{
\backslash
hspace{-
\backslash
abc}}
equationautorefname}[1]{}}
\end_layout
\begin_layout Standard

View File

@ -39,10 +39,8 @@
% increase link area for cross-references and autoname them,
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\addto\extrasfrench{%
\renewcommand*{\equationautorefname}[1]{}
\renewcommand{\sectionautorefname}{sec.\negthinspace}
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}

View File

@ -23093,55 +23093,14 @@ extras***
\series bold
\backslash
newlength{
\backslash
abc}
\begin_inset Newline newline
\end_inset
\backslash
settowidth{
\backslash
abc}{
\backslash
space}
\begin_inset Newline newline
\end_inset
\backslash
addto
\backslash
extrasenglish{
\backslash
renewcommand{
renewcommand*{
\backslash
equationautorefname}
\begin_inset Newline newline
\end_inset
\begin_inset Phantom HPhantom
status open
\begin_layout Plain Layout
\series bold
\begin_inset space ~
\end_inset
\end_layout
\end_inset
{
\backslash
hspace{-
\backslash
abc}}
equationautorefname}[1]{}}
\end_layout
\begin_layout Standard
@ -23184,11 +23143,13 @@ reference "sub:相互参照の書式"
\end_layout
\begin_layout Standard
取扱説明書
\lang english
LyX's english
\emph on
数式篇
Math
\emph default
は、参照の自動命名が使用されている一例です。
manual is an example where automatic reference naming is used.
\end_layout
\begin_layout Subsection

View File

@ -40,17 +40,6 @@
%\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
%\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
% increase link area for cross-references and autoname them,
%\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
\newlength{\abc}
\settowidth{\abc}{\space}
\AtBeginDocument{%
\renewcommand{\equationautorefname}{\hspace{-\abc}}
\renewcommand{\sectionautorefname}{sec.\negthinspace}
\renewcommand{\subsectionautorefname}{sec.\negthinspace}
\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}
}
% don't load packages twice
% see first footnote in sec. 9.3
\@ifundefined{textcolor}{\usepackage{color}}{}