From: Uwe Stöhr Date: Mon, 27 Nov 2017 01:47:53 +0000 (+0100) Subject: Math: add a note about \tag with RTL languages X-Git-Tag: 2.3.0rc2~214 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5112fef4055fd7dc303d98ac9bb692496c7db722;p=features.git Math: add a note about \tag with RTL languages - also update a weblink --- diff --git a/lib/doc/Changelog-Math-LyX_23.txt b/lib/doc/Changelog-Math-LyX_23.txt index c3392e54aa..1deb349227 100644 --- a/lib/doc/Changelog-Math-LyX_23.txt +++ b/lib/doc/Changelog-Math-LyX_23.txt @@ -1,7 +1,8 @@ For LyX 2.3.0: - sec. 17: (not French and Japanese) completely rewritten -- sec. 19.3: completely rewritten +- sec. 19.3: completely rewritten +- sec. 19.5: new note For LyX 2.2.3: diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx index be5594d8f9..8c9a84d8cd 100644 --- a/lib/doc/Math.lyx +++ b/lib/doc/Math.lyx @@ -87,8 +87,9 @@ \newcommand{\fracS}[3][]{\genfrac{}{}{#1}{}{#2}{#3}} % example macro from sec. 19.4 +%\AtBeginDocument{ %\def\tagform@#1{\maketag@@@{|#1|}} - +%} % ------------------------------------ % used to check for needed LaTeX packages @@ -30432,7 +30433,6 @@ status open \begin_layout Plain Layout \series bold -\color none Note: \series default Only maximal 26 @@ -30655,6 +30655,63 @@ Formula numbering ! user-defined \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: +\series default + If the document language is a right-to-left language such as Arabic, you + must add this to the to the \SpecialChar LaTeX +-preamble to be able to use the commands described + in this section: +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +AtBeginDocument{ +\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 +def +\backslash +tagform@#1{ +\backslash +maketag@@@{( +\backslash +ignorespaces#1 +\backslash +unskip)}} } +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -30677,12 +30734,33 @@ With the standard numbering parentheses are set around the formula number. \series bold +\backslash +AtBeginDocument{ +\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 def \backslash tagform@#1{ \backslash -maketag@@@{|#1|}} +maketag@@@{|#1|}} } \series default \begin_inset Note Note @@ -30691,7 +30769,7 @@ status collapsed \begin_layout Plain Layout This macro is already declared in the \SpecialChar LaTeX -preamble for testing. - To activate it, remove the percent sign at the beginning. + To activate it, remove the percent signs at the beginning. \end_layout \end_inset @@ -31824,7 +31902,6 @@ status open \begin_layout Plain Layout \series bold -\color none Note: \series default It is not possible in \SpecialChar LyX @@ -37699,11 +37776,18 @@ literal "true" \emph on -Duden Band 1 +Duden Band +\begin_inset space ~ +\end_inset + +1 \emph default . 22. - Auflage, Duden 2001 +\begin_inset space ~ +\end_inset + +Auflage, Dudenverlag, 2000 \end_layout \begin_layout Bibliography @@ -37718,7 +37802,7 @@ literal "true" \begin_inset CommandInset href LatexCommand href name "Check list" -target "http://physics.nist.gov/Pubs/SP811/sec11.html" +target "https://www.nist.gov/physical-measurement-laboratory/special-publication-811" literal "false" \end_inset diff --git a/lib/doc/de/Math.lyx b/lib/doc/de/Math.lyx index 2e3eee29d4..9109e02655 100644 --- a/lib/doc/de/Math.lyx +++ b/lib/doc/de/Math.lyx @@ -88,7 +88,9 @@ \newcommand{\fracS}[3][]{\genfrac{}{}{#1}{}{#2}{#3}} % Beispielmakro aus Kap. 19.4 +%\AtBeginDocument{ %\def\tagform@#1{\maketag@@@{|#1|}} +%} \@ifpackageloaded{babel}{ % Damit der Index einen anderen Namen erhält. @@ -97,7 +99,6 @@ {Stichwort- und Befehlsverzeichnis}} }{} - % ------------------------------------ % used to check for needed LaTeX packages \usepackage{ifthen} @@ -30266,7 +30267,6 @@ status open \begin_layout Plain Layout \series bold -\color none Achtung: \series default Es können nur maximal 26 @@ -30483,6 +30483,65 @@ Formelnummerierung ! benutzerdefinierte \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Achtung: +\series default + Wenn man die Dokumentsprache von recht nach links liest, wie z. +\begin_inset space \thinspace{} +\end_inset + +B. + bei Arabisch, muss man im \SpecialChar LaTeX +-Vorspann Folgendes hinzufügen, damit man die + in diesem Abschnitt beschriebenen Befehle verwenden kann: +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + +\backslash +def +\backslash +tagform@#1{ +\backslash +maketag@@@{( +\backslash +ignorespaces#1 +\backslash +unskip)}} } +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -30510,6 +30569,25 @@ B. \series bold +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + \backslash def \backslash @@ -30517,14 +30595,14 @@ tagform@#1{ \backslash maketag@@@{|#1|}} \series default - + } \begin_inset Note Note status collapsed \begin_layout Plain Layout Dieses Makro ist zum Testen bereits im \SpecialChar LaTeX -Vorspann angegeben. - Damit es wirksam wird, muss das Prozentzeichen am Zeilenbeginn entfernt + Damit es wirksam wird, müssen die Prozentzeichen am Zeilenbeginn entfernt werden. \end_layout @@ -31692,7 +31770,6 @@ status open \begin_layout Plain Layout \series bold -\color none Achtung: \series default Es ist nicht möglich in \SpecialChar LyX @@ -37563,11 +37640,18 @@ literal "true" \emph on -Duden Band 1 +Duden Band +\begin_inset space ~ +\end_inset + +1 \emph default . 22. - Auflage, Duden Verlag 2001 +\begin_inset space ~ +\end_inset + +Auflage, Dudenverlag, 2000 \end_layout \begin_layout Bibliography @@ -37582,7 +37666,7 @@ literal "true" \begin_inset CommandInset href LatexCommand href name "Prüfliste" -target "http://physics.nist.gov/Pubs/SP811/sec11.html" +target "https://www.nist.gov/physical-measurement-laboratory/special-publication-811" literal "false" \end_inset diff --git a/lib/doc/es/Math.lyx b/lib/doc/es/Math.lyx index d15b7222b7..1aedccb7de 100644 --- a/lib/doc/es/Math.lyx +++ b/lib/doc/es/Math.lyx @@ -86,8 +86,9 @@ \newcommand{\fracS}[3][]{\genfrac{}{}{#1}{}{#2}{#3}} % example macro from sec. 19.4 +%\AtBeginDocument{ %\def\tagform@#1{\maketag@@@{|#1|}} - +%} % ------------------------------------ % used to check for needed LaTeX packages @@ -30876,7 +30877,6 @@ status open \begin_layout Plain Layout \series bold -\color none Nota: \series default Con letras latinas sólo se puede numerar hasta un máximo de 26 @@ -31100,6 +31100,68 @@ Numeración de ecuaciones ! personalizada \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Nota: +\series default + +\lang english +If the document language is a right-to-left language such as Arabic, you + must add this to the to the +\lang spanish +preámbulo \SpecialChar LaTeX + +\lang english + to be able to use the commands described in this section +\lang spanish +: +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + +\backslash +def +\backslash +tagform@#1{ +\backslash +maketag@@@{( +\backslash +ignorespaces#1 +\backslash +unskip)}} } +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -31116,6 +31178,25 @@ e., se añade al preámbulo \SpecialChar LaTeX \series bold +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + \backslash def \backslash @@ -38210,11 +38291,18 @@ literal "true" \emph on -Duden Band 1 +Duden Band +\begin_inset space ~ +\end_inset + +1 \emph default . 22. - Auflage, Duden 2001 +\begin_inset space ~ +\end_inset + +Auflage, Dudenverlag, 2000 \end_layout \begin_layout Bibliography @@ -38229,7 +38317,7 @@ literal "true" \begin_inset CommandInset href LatexCommand href name "Página web" -target "http://www.tex-tipografia.com/spanish.html" +target "http://www.texnia.com/spanish.html" literal "false" \end_inset @@ -38258,7 +38346,7 @@ literal "true" \begin_inset CommandInset href LatexCommand href name "Documento" -target "http://www.tex-tipografia.com/archive/ortomatem.pdf" +target "http://www.texnia.com/archive/ortomatem.pdf" literal "false" \end_inset diff --git a/lib/doc/fr/Math.lyx b/lib/doc/fr/Math.lyx index 95082c2306..cebc87c42d 100644 --- a/lib/doc/fr/Math.lyx +++ b/lib/doc/fr/Math.lyx @@ -86,8 +86,9 @@ \newcommand{\fracS}[3][]{\genfrac{}{}{#1}{}{#2}{#3}} % example macro from sec. 19.4 +%\AtBeginDocument{ %\def\tagform@#1{\maketag@@@{|#1|}} - +%} % ------------------------------------ % used to check for needed LaTeX packages @@ -30823,7 +30824,6 @@ status open \begin_layout Plain Layout \series bold -\color none Note: \series default on peut numéroter au maximum 26 @@ -31046,6 +31046,68 @@ Numérotation des formules ! personnalisée \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Nota: +\series default + +\lang english +If the document language is a right-to-left language such as Arabic, you + must add this to the to +\lang french +le préambule \SpecialChar LaTeX + +\lang english + to be able to use the commands described in this section +\lang french +: +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + +\backslash +def +\backslash +tagform@#1{ +\backslash +maketag@@@{( +\backslash +ignorespaces#1 +\backslash +unskip)}} } +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -31069,6 +31131,25 @@ Avec la numérotation standard, on a des parenthèses autour du numéro de \series bold +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + \backslash def \backslash @@ -32208,7 +32289,6 @@ status open \begin_layout Plain Layout \series bold -\color none Nota: \series default il n'est pas possible avec \SpecialChar LyX @@ -38331,11 +38411,18 @@ literal "true" \emph on -Duden Band 1 +Duden Band +\begin_inset space ~ +\end_inset + +1 \emph default . 22. - Auflage, Duden 2001 +\begin_inset space ~ +\end_inset + +Auflage, Dudenverlag, 2000 \end_layout \begin_layout Bibliography @@ -38350,7 +38437,7 @@ literal "true" \begin_inset CommandInset href LatexCommand href name "Check list" -target "http://physics.nist.gov/Pubs/SP811/sec11.html" +target "https://www.nist.gov/physical-measurement-laboratory/special-publication-811" literal "false" \end_inset diff --git a/lib/doc/ja/Math.lyx b/lib/doc/ja/Math.lyx index f770031cf6..d776a9091a 100644 --- a/lib/doc/ja/Math.lyx +++ b/lib/doc/ja/Math.lyx @@ -89,8 +89,9 @@ \newcommand{\fracS}[3][]{\genfrac{}{}{#1}{}{#2}{#3}} % example macro from sec. 19.4 +%\AtBeginDocument{ %\def\tagform@#1{\maketag@@@{|#1|}} - +%} % ------------------------------------ % used to check for needed LaTeX packages @@ -30061,6 +30062,64 @@ status collapsed \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +【註】 +\series default +\lang english +If the document language is a right-to-left language such as Arabic, you + must add this to the to the \SpecialChar LaTeX +-preamble to be able to use the commands described + in this section: +\lang japanese + +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + +\backslash +def +\backslash +tagform@#1{ +\backslash +maketag@@@{( +\backslash +ignorespaces#1 +\backslash +unskip)}} } +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -30081,6 +30140,25 @@ status collapsed \series bold +\backslash +AtBeginDocument{ +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + + \backslash def \backslash @@ -30104,7 +30182,7 @@ maketag@@@{ \series bold }} \series default - + } \begin_inset Note Note status collapsed @@ -31208,8 +31286,6 @@ mhchem uparrow \series default コマンドを続けます. -\color none - \begin_inset Formula $\ce{Fe + 2H+ -> Fe^{2+} + H2\negthinspace\uparrow}$ \end_inset @@ -36955,11 +37031,18 @@ literal "true" \emph on -Duden Band 1 +Duden Band +\begin_inset space ~ +\end_inset + +1 \emph default . 22. - Auflage, Duden 2001 +\begin_inset space ~ +\end_inset + +Auflage, Dudenverlag, 2000 \end_layout \begin_layout Bibliography @@ -36974,7 +37057,7 @@ literal "true" \begin_inset CommandInset href LatexCommand href name "チェックリスト" -target "http://physics.nist.gov/Pubs/SP811/sec11.html" +target "https://www.nist.gov/physical-measurement-laboratory/special-publication-811" literal "false" \end_inset