From baa48445a16605adbba4d5c9d5ff41d037005e62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 10 Aug 2007 19:14:07 +0000 Subject: [PATCH] EmbeddedObjects.lyx: move the \texorpdfstring command to the preamble to get rid of ERT-boxes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19404 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/EmbeddedObjects.lyx | 98 ++------------- lib/doc/de/EmbeddedObjects.lyx | 224 +++------------------------------ lib/doc/es/EmbeddedObjects.lyx | 101 ++------------- 3 files changed, 33 insertions(+), 390 deletions(-) diff --git a/lib/doc/EmbeddedObjects.lyx b/lib/doc/EmbeddedObjects.lyx index 9cbce65ece..7e263a1f53 100644 --- a/lib/doc/EmbeddedObjects.lyx +++ b/lib/doc/EmbeddedObjects.lyx @@ -166,6 +166,11 @@ \let\marginpar\marginnote \setboolean{marginnote}{true}} {\setboolean{marginnote}{false}} + +% redefine the \LyX macro for PDF bookmarks +\def\LyX{\texorpdfstring{% + L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} + {LyX }} \end_preamble \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \language english @@ -21102,30 +21107,7 @@ Notes \end_layout \begin_layout Section -\begin_inset ERT -status collapsed - -\begin_layout Standard - - -\backslash -texorpdfstring{ -\end_layout - -\end_inset - -LyX -\begin_inset ERT -status collapsed - -\begin_layout Standard - -}{LyX} -\end_layout - -\end_inset - - Notes +LyX Notes \begin_inset LatexCommand label name "sec:LyX-Notes" @@ -21138,26 +21120,6 @@ name "Notes ! LyX Notes" \end_inset -\begin_inset Note Note -status collapsed - -\begin_layout Standard -The command -\backslash -texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures - are displayed wrongly in PDF-bookmarks. - For more information about this, have a look at -\begin_inset LatexCommand cite -key "hyperref" - -\end_inset - -. -\end_layout - -\end_inset - - \end_layout \begin_layout Standard @@ -21213,7 +21175,7 @@ ent, when you export the document to LaTeX via the menu \family sans File\SpecialChar \menuseparator Export\SpecialChar \menuseparator -LaTeX (pdflatex) / LaTeX (plain) +LaTeX (pdflatex) / (plain) \family default . Its note-box looks like this: @@ -28560,31 +28522,7 @@ key "listings" \begin_layout Chapter \start_of_appendix -Units available in -\begin_inset ERT -status collapsed - -\begin_layout Standard - - -\backslash -texorpdfstring{ -\end_layout - -\end_inset - -LyX -\begin_inset ERT -status collapsed - -\begin_layout Standard - -}{LyX} -\end_layout - -\end_inset - - +Units available in LyX \begin_inset LatexCommand index name "Units" @@ -28597,26 +28535,6 @@ name "cha:Units-available-in" \end_inset -\begin_inset Note Note -status collapsed - -\begin_layout Standard -The command -\backslash -texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures - are displayed wrongly in PDF-bookmarks. - For more information about this, have a look at -\begin_inset LatexCommand cite -key "hyperref" - -\end_inset - -. -\end_layout - -\end_inset - - \end_layout \begin_layout Standard diff --git a/lib/doc/de/EmbeddedObjects.lyx b/lib/doc/de/EmbeddedObjects.lyx index 6f67f8d264..6ba35b3428 100644 --- a/lib/doc/de/EmbeddedObjects.lyx +++ b/lib/doc/de/EmbeddedObjects.lyx @@ -1,4 +1,4 @@ -#LyX 1.5.1 created this file. For more info see http://www.lyx.org/ +#LyX 1.5.2svn created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header @@ -168,6 +168,11 @@ % Damit der Index den Namen "Stichwortverzeichnis" erhält \usepackage[ngerman]{babel} \addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}} + +% redefine the \LyX macro for PDF bookmarks +\def\LyX{\texorpdfstring{% + L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} + {LyX }} \end_preamble \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \language ngerman @@ -560,31 +565,9 @@ Ausschnitt \begin_layout Description \family sans -LaTe -\begin_inset ERT -status collapsed - -\begin_layout Standard - -{} -\end_layout - -\end_inset - -X-\InsetSpace ~ +LaTeX-\InsetSpace ~ und\InsetSpace ~ -Ly -\begin_inset ERT -status collapsed - -\begin_layout Standard - -{} -\end_layout - -\end_inset - -X-Optionen +LyX-Optionen \family default Hier können Sie das Aussehen einer Abbildung innerhalb von LyX ändern und festlegen, ob die Abbildung ein Teil einer gleitenden Abbildung mit eigener @@ -977,18 +960,7 @@ status collapsed X-\InsetSpace ~ und\InsetSpace ~ -Ly -\begin_inset ERT -status collapsed - -\begin_layout Standard - -{} -\end_layout - -\end_inset - -X-Optionen +LyX-Optionen \family default des \family sans @@ -22099,41 +22071,7 @@ Notizen \end_layout \begin_layout Section -\begin_inset ERT -status collapsed - -\begin_layout Standard - - -\backslash -texorpdfstring{ -\end_layout - -\end_inset - -Ly -\begin_inset ERT -status collapsed - -\begin_layout Standard - -{} -\end_layout - -\end_inset - -X -\begin_inset ERT -status collapsed - -\begin_layout Standard - -}{LyX} -\end_layout - -\end_inset - --Notizen +LyX-Notizen \begin_inset LatexCommand label name "abs:LyX-Notizen" @@ -22146,37 +22084,6 @@ name "Notizen ! LyX-Notizen" \end_inset -\begin_inset Note Note -status collapsed - -\begin_layout Standard -Den Befehl -\family typewriter - -\family default -\series bold - -\backslash -texorpdfstring -\series default - stellt das LaTeX-Paket -\series bold -hyperref -\series default - bereit, um zu verhindern, dass Ligaturen in PDF-Lesezeichen falsch dargestellt - werden. - Weitere Informationen finden Sie in -\begin_inset LatexCommand cite -key "hyperref" - -\end_inset - -. -\end_layout - -\end_inset - - \end_layout \begin_layout Standard @@ -22199,32 +22106,10 @@ Notiz \end_layout \begin_layout Description -Ly -\begin_inset ERT -status collapsed - -\begin_layout Standard - -{} -\end_layout - -\end_inset - -X-Notiz: Dieser Typ ist für interne Notizen wird nicht gedruckt. +LyX-Notiz: Dieser Typ ist für interne Notizen wird nicht gedruckt. Eine \family sans -Ly -\begin_inset ERT -status collapsed - -\begin_layout Standard - -{} -\end_layout - -\end_inset - -X-Notiz +LyX-Notiz \family default sieht so aus: \newline @@ -22274,7 +22159,7 @@ status collapsed \end_inset -X (pdflatex) / LaTeX (plain) +X (pdflatex) / (plain) \family default . Ein Kommentar sieht so aus: @@ -28648,34 +28533,12 @@ Material \family default in der Karteikarte \family sans -Ly -\begin_inset ERT -status collapsed - -\begin_layout Standard - -{} -\end_layout - -\end_inset - -X-Ansicht +LyX-Ansicht \family default die Option \family sans in\InsetSpace ~ -Ly -\begin_inset ERT -status collapsed - -\begin_layout Standard - -{} -\end_layout - -\end_inset - -X\InsetSpace ~ +LyX\InsetSpace ~ anzeigen \family default gewählt haben oder nicht. @@ -29655,31 +29518,7 @@ key "listings" \begin_layout Chapter \start_of_appendix -In -\begin_inset ERT -status collapsed - -\begin_layout Standard - - -\backslash -texorpdfstring{ -\end_layout - -\end_inset - -LyX -\begin_inset ERT -status collapsed - -\begin_layout Standard - -}{LyX} -\end_layout - -\end_inset - - verfügbare Maßeinheiten +In LyX verfügbare Maßeinheiten \begin_inset LatexCommand label name "kap:In-LyX-verfügbare" @@ -29692,37 +29531,6 @@ name "Einheiten" \end_inset -\begin_inset Note Note -status collapsed - -\begin_layout Standard -Den Befehl -\family typewriter - -\family default -\series bold - -\backslash -texorpdfstring -\series default - stellt das LaTeX-Paket -\series bold -hyperref -\series default - bereit, um zu verhindern, dass Ligaturen in PDF-Lesezeichen falsch dargestellt - werden. - Weitere Informationen finden Sie in -\begin_inset LatexCommand cite -key "hyperref" - -\end_inset - -. -\end_layout - -\end_inset - - \end_layout \begin_layout Standard diff --git a/lib/doc/es/EmbeddedObjects.lyx b/lib/doc/es/EmbeddedObjects.lyx index d9164aba23..5e196fa31e 100644 --- a/lib/doc/es/EmbeddedObjects.lyx +++ b/lib/doc/es/EmbeddedObjects.lyx @@ -1,4 +1,4 @@ -#LyX 1.5.1 created this file. For more info see http://www.lyx.org/ +#LyX 1.5.2svn created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header @@ -166,6 +166,11 @@ \let\marginpar\marginnote \setboolean{marginnote}{true}} {\setboolean{marginnote}{false}} + +% redefine the \LyX macro for PDF bookmarks +\def\LyX{\texorpdfstring{% + L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} + {LyX }} \end_preamble \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \language spanish @@ -21255,31 +21260,7 @@ Notas \end_layout \begin_layout Section -Notas en -\begin_inset ERT -status collapsed - -\begin_layout Standard - - -\backslash -texorpdfstring{ -\end_layout - -\end_inset - -LyX -\begin_inset ERT -status collapsed - -\begin_layout Standard - -}{LyX} -\end_layout - -\end_inset - - +Notas en LyX \begin_inset LatexCommand label name "sec:Notas-en-LyX" @@ -21292,26 +21273,6 @@ name "Notas ! Notas en LyX" \end_inset -\begin_inset Note Note -status collapsed - -\begin_layout Standard -El comando -\backslash -texorpdfstring es suministrado por el paquete LaTeX hyperref para evitar - que los enlaces se muestren erróneamente en los marcadores PDF. - Para más información sobre esto mira en -\begin_inset LatexCommand cite -key "hyperref" - -\end_inset - -. -\end_layout - -\end_inset - - \end_layout \begin_layout Standard @@ -21365,7 +21326,7 @@ Comentario Esta nota tampoco se muestra en la salida pero aparece como un \family sans Archivo\SpecialChar \menuseparator Exportar\SpecialChar \menuseparator -LaTeX (pdflatex) / LaTeX (plain) +LaTeX (pdflatex) / (plain) \family default . Su recuadro se ve así: @@ -28904,31 +28865,7 @@ key "listings" \begin_layout Chapter \start_of_appendix -Unidades disponibles en -\begin_inset ERT -status collapsed - -\begin_layout Standard - - -\backslash -texorpdfstring{ -\end_layout - -\end_inset - -LyX -\begin_inset ERT -status collapsed - -\begin_layout Standard - -}{LyX} -\end_layout - -\end_inset - - +Unidades disponibles en LyX \begin_inset LatexCommand index name "Unidades" @@ -28941,26 +28878,6 @@ name "cha:Unidades-disponibles-en" \end_inset -\begin_inset Note Note -status collapsed - -\begin_layout Standard -El comando -\backslash -texorpdfstring suministrado por el paquete LaTeX hyperref impide que los - enlaces se muestren erróneamente en los marcadores PDF. - Más información en -\begin_inset LatexCommand cite -key "hyperref" - -\end_inset - -. -\end_layout - -\end_inset - - \end_layout \begin_layout Standard -- 2.39.2