- 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 \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 \backslash
addto addto
\backslash \backslash
extrasenglish{ extrasenglish{
\backslash \backslash
renewcommand{ renewcommand*{
\backslash \backslash
equationautorefname} equationautorefname}[1]{}}
\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}}
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard

View File

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

View File

@ -24395,7 +24395,7 @@ negthinspace}}
\end_layout \end_layout
\begin_layout Standard \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 \begin_inset Newline newline
\end_inset \end_inset
@ -24428,55 +24428,14 @@ B.
\series bold \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 \backslash
addto addto
\backslash \backslash
extrasenglish{ extrasngerman{
\backslash \backslash
renewcommand{ renewcommand*{
\backslash \backslash
equationautorefname} equationautorefname}[1]{}}
\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}}
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard

View File

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

View File

@ -24162,7 +24162,7 @@ Si prefieres otros nombres para las referencias distintos de los predeterminados
\backslash \backslash
addto addto
\backslash \backslash
extrasenglish{ extrasspanish{
\backslash \backslash
renewcommand{ renewcommand{
\backslash \backslash
@ -24191,7 +24191,7 @@ negthinspace}}
\end_layout \end_layout
\begin_layout Standard \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 \begin_inset Newline newline
\end_inset \end_inset
@ -24199,7 +24199,7 @@ Si estás usando un idioma de documento distinto del inglés, reemplaza
\series bold \series bold
\backslash \backslash
extrasenglish extrasspanish
\series default \series default
por por
\series bold \series bold
@ -24219,55 +24219,14 @@ Para obtener nombres automáticos pero no para determinados tipos de referencias
\series bold \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 \backslash
addto addto
\backslash \backslash
extrasenglish{ extrasspanish{
\backslash \backslash
renewcommand{ renewcommand*{
\backslash \backslash
equationautorefname} equationautorefname}[1]{}}
\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}}
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard

View File

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

View File

@ -24781,7 +24781,7 @@ section
\backslash \backslash
addto addto
\backslash \backslash
extrasenglish{ extrasfrench{
\backslash \backslash
renewcommand{ renewcommand{
\backslash \backslash
@ -24810,11 +24810,11 @@ negthinspace}}
\end_layout \end_layout
\begin_layout Standard \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 \series bold
\backslash \backslash
extrasenglish extrasfrench
\series default \series default
par par
\series bold \series bold
@ -24837,55 +24837,14 @@ Pour avoir des noms automatiques, mais pas pour certains types de références,
\series bold \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 \backslash
addto addto
\backslash \backslash
extrasenglish{ extrasfrench{
\backslash \backslash
renewcommand{ renewcommand*{
\backslash \backslash
equationautorefname} equationautorefname}[1]{}}
\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}}
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard

View File

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

View File

@ -23093,55 +23093,14 @@ extras***
\series bold \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 \backslash
addto addto
\backslash \backslash
extrasenglish{ extrasenglish{
\backslash \backslash
renewcommand{ renewcommand*{
\backslash \backslash
equationautorefname} equationautorefname}[1]{}}
\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}}
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -23184,11 +23143,13 @@ reference "sub:相互参照の書式"
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
取扱説明書
\lang english
LyX's english
\emph on \emph on
数式篇 Math
\emph default \emph default
は、参照の自動命名が使用されている一例です。 manual is an example where automatic reference naming is used.
\end_layout \end_layout
\begin_layout Subsection \begin_layout Subsection

View File

@ -40,17 +40,6 @@
%\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi} %\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
%\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\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 % don't load packages twice
% see first footnote in sec. 9.3 % see first footnote in sec. 9.3
\@ifundefined{textcolor}{\usepackage{color}}{} \@ifundefined{textcolor}{\usepackage{color}}{}