From f86c3de3ad1a27670abdfbf79f06be7341e65dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Wed, 24 Oct 2012 00:40:28 +0200 Subject: [PATCH] documentation: remove duplicated words - also use a better regexp to find duplicated words --- lib/doc/Additional.lyx | 9 ++++----- lib/doc/UserGuide.lyx | 19 ++++++++++++------- lib/doc/de/UserGuide.lyx | 16 +++++++++++----- lib/doc/es/UserGuide.lyx | 24 +++++++++++++++--------- lib/doc/fr/UserGuide.lyx | 18 ++++++++++++------ lib/doc/ja/UserGuide.lyx | 8 +++++++- 6 files changed, 61 insertions(+), 33 deletions(-) diff --git a/lib/doc/Additional.lyx b/lib/doc/Additional.lyx index d3a6a51ef0..70c435062a 100644 --- a/lib/doc/Additional.lyx +++ b/lib/doc/Additional.lyx @@ -1,5 +1,5 @@ #LyX 2.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 444 +\lyxformat 445 \begin_document \begin_header \textclass scrbook @@ -3054,8 +3054,8 @@ status collapsed \end_layout \begin_layout Standard -As the bibliography list is in a comment, LaTeX won't use use it and the - references will look like this: [?], instead of like this: [1]. +As the bibliography list is in a comment, LaTeX won't use it and the references + will look like this: [?], instead of like this: [1]. One solution is to use the LaTeX-package \begin_inset Flex Code status collapsed @@ -8943,8 +8943,7 @@ Theorems (AMS) \end_inset - module, which is loaded by default when when you select one of the AMS - classes. + module, which is loaded by default when you select one of the AMS classes. (It can also be used with other classes and can be removed, if you would rather use something else.) Less commonly used environments are in the \begin_inset Flex Code diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index 27f71356d8..1aaf6db550 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -4370,7 +4370,7 @@ Return Standard \family default . - Also the the nesting depth is preserved (for more on nesting see section + Also the nesting depth is preserved (for more on nesting see section \begin_inset space ~ \end_inset @@ -26007,7 +26007,7 @@ of Contents \family default . - Is is displayed in LyX as a gray box. + It is displayed in LyX as a gray box. If you click on it, the \family sans Outline @@ -31758,11 +31758,17 @@ Finally, references to (sub)expressions in regexp may be used as usual: \end_inset , etc.. - For example, try searching for the regexp -\begin_inset Formula $([a-z]+)[[:blank:]]\backslash1$ + For example, try searching for the regexp +\begin_inset Newline newline \end_inset - in order to find word repetitions, if there are any. +[[:space:]]([[:alpha:]]+)[[:space:]] +\backslash +1[[:space:]] +\begin_inset Newline newline +\end_inset + +in order to find word repetitions, if there are any. \end_layout \begin_layout Standard @@ -47285,8 +47291,7 @@ Plain text \family default . - Setting the line line length to 0 means all text is printed in one endless - line. + Setting the line length to 0 means all text is printed in one endless line. \end_layout \begin_layout Description diff --git a/lib/doc/de/UserGuide.lyx b/lib/doc/de/UserGuide.lyx index 2e05c3310c..0f461eba96 100644 --- a/lib/doc/de/UserGuide.lyx +++ b/lib/doc/de/UserGuide.lyx @@ -12392,7 +12392,7 @@ Wenn Sie wissen wollen, welche Schriftarten in einem PDF-Dokument benutzt \family typewriter Adobe Reader \family default - sind sie unter unter + sind sie unter \family sans Datei\SpecialChar \menuseparator Dokumenteigenschaften\SpecialChar \menuseparator @@ -32593,11 +32593,17 @@ Allgemein können Referenzen auf (Unter)Ausdrücke in Regexp wie üblich verwend \end_inset , usw.. - Versuchen Sie zum Beispiel mit dem regulären Ausdruck -\begin_inset Formula $([a-z]+)[[:blank:]]\backslash1$ + Versuchen Sie zum Beispiel mit dem regulären Ausdruck +\begin_inset Newline newline \end_inset - zu suchen, um Wortwiederholungen zu finden, falls es welche gibt. +[[:space:]]([[:alpha:]]+)[[:space:]] +\backslash +1[[:space:]] +\begin_inset Newline newline +\end_inset + +zu suchen, um Wortwiederholungen zu finden, falls es welche gibt. \end_layout \begin_layout Standard @@ -34795,7 +34801,7 @@ kdeprintfax \family default senden. Das voreingestellte Format der gesendeten Datei ist PostScript. - Das Format kann in LyXs Grundeinstellungen, wie in in Abschnitt + Das Format kann in LyXs Grundeinstellungen, wie in Abschnitt \begin_inset space ~ \end_inset diff --git a/lib/doc/es/UserGuide.lyx b/lib/doc/es/UserGuide.lyx index b70bad094f..be3437dcc2 100644 --- a/lib/doc/es/UserGuide.lyx +++ b/lib/doc/es/UserGuide.lyx @@ -4251,7 +4251,7 @@ Normal . \lang english -Also the the nesting depth is preserved +Also the nesting depth is preserved \lang spanish (más sobre anidación en la sección \begin_inset space ~ @@ -16050,8 +16050,8 @@ A-b c y lo interpreta como posibilidad de ruptura, lo que en este caso quedaría feo. - Para impedir que se parta esa secuencia de letras, puedes ponerla en en - un cuadro, tal como se describe en la sección + Para impedir que se parta esa secuencia de letras, puedes ponerla en un + cuadro, tal como se describe en la sección \begin_inset Quotes fld \end_inset @@ -32082,11 +32082,17 @@ Por último, se pueden usar referencias a (sub)expresiones en regexp en la \end_inset se introduce en modo regexp pulsando dos veces la tecla correspondiente. - Por ejemplo, prueba la búsqueda de la regexp -\begin_inset Formula $([a-z]+)[[:blank:]]\backslash1$ + Por ejemplo, prueba la búsqueda de la regexp +\begin_inset Newline newline \end_inset - para encontrar repeticiones de palabras, si las hay. +[[:space:]]([[:alpha:]]+)[[:space:]] +\backslash +1[[:space:]] +\begin_inset Newline newline +\end_inset + +para encontrar repeticiones de palabras, si las hay. \end_layout \begin_layout Standard @@ -46783,7 +46789,7 @@ Nota: \family sans Ejemplos \family default - no existe en en los sistemas Mac OS o Windows. + no existe en los sistemas Mac OS o Windows. \end_layout \end_inset @@ -48209,8 +48215,8 @@ Personalización \begin_layout Standard Puesto que todas las conversiones de un formato a otro tienen lugar en el directorio temporal de LyX, a veces es preciso modificar un archivo antes - de copiarlo al directorio temporal, con el fin de de que la conversión - pueda llevarse a cabo. + de copiarlo al directorio temporal, con el fin de que la conversión pueda + llevarse a cabo. Esto se hace especificando un \family sans Copiador diff --git a/lib/doc/fr/UserGuide.lyx b/lib/doc/fr/UserGuide.lyx index 0c990ccee6..a653e010b3 100644 --- a/lib/doc/fr/UserGuide.lyx +++ b/lib/doc/fr/UserGuide.lyx @@ -2093,7 +2093,7 @@ Auto-correction autocorrect \family default qui se trouve dans le répertoire d'installation. - L'auto-correction peut être activée à tout moment en en saisissant le point + L'auto-correction peut être activée à tout moment en saisissant le point d'exclamation \begin_inset Quotes fld \end_inset @@ -4556,9 +4556,9 @@ Standard . \lang english -Also the the nesting depth is preserved +Also the nesting depth is preserved \lang french - (les détails sur l'emboîtement dans dans la section + (les détails sur l'emboîtement dans la section \begin_inset space ~ \end_inset @@ -33115,11 +33115,17 @@ Enfin, le référencement de (sous-)expressions dans les expressions régulière \end_inset est saisi en pressant deux fois la touche de barre oblique arrière. - Par exemple, essayez de rechercher l'expression -\begin_inset Formula $([a-z]+)[[:blank:]]\backslash1$ + Par exemple, essayez de rechercher l'expression +\begin_inset Newline newline \end_inset - pour trouver les répétitions de mots, s'il y en a. +[[:space:]]([[:alpha:]]+)[[:space:]] +\backslash +1[[:space:]] +\begin_inset Newline newline +\end_inset + +pour trouver les répétitions de mots, s'il y en a. \end_layout \begin_layout Standard diff --git a/lib/doc/ja/UserGuide.lyx b/lib/doc/ja/UserGuide.lyx index 86304bf27b..ef79fdb5c1 100644 --- a/lib/doc/ja/UserGuide.lyx +++ b/lib/doc/ja/UserGuide.lyx @@ -39970,7 +39970,13 @@ status collapsed \end_inset 記号は、バックスラッシュ鍵を2回押すことで入力することができます)。たとえば、 -\begin_inset Formula $([a-z]+)[[:blank:]]\backslash1$ +\begin_inset Newline newline +\end_inset + +[[:space:]]([[:alpha:]]+)[[:space:]] +\backslash +1[[:space:]] +\begin_inset Newline newline \end_inset という表現は、単語の繰り返しがあればそれに一致します。