UserGuide.lyx: move the \texorpdfstring command to the preamble to get rid of the ERT-boxes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19383 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-08-09 21:10:06 +00:00
parent 043258ff32
commit c86e55d8a0

View File

@ -59,6 +59,11 @@
\pagenumbering{arabic} }
\fi
% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
{LyX }}
\end_preamble
\options bibtotoc,BCOR7mm
\language english
@ -153,67 +158,7 @@ Introduction
\end_layout
\begin_layout Section
What is
\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
?
\begin_inset Note Note
status collapsed
\begin_layout Standard
The command
\series bold
\backslash
texorpdfstring
\series default
is needed because the font of the PDF bookmarks cannot contain special
text formats, like sub- and superscripts.
The
\begin_inset Quotes eld
\end_inset
y
\begin_inset Quotes erd
\end_inset
in
\begin_inset Quotes eld
\end_inset
LyX
\begin_inset Quotes erd
\end_inset
appears in the output 0.25\InsetSpace \thinspace{}
em below the baseline and this cannot be handled
by PDF bookmark text.
\end_layout
\end_inset
What is LyX?
\end_layout
\begin_layout Standard
@ -307,31 +252,7 @@ Getting Started
\end_layout
\begin_layout Subsection
Invoking
\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
Invoking LyX
\end_layout
\begin_layout Standard
@ -363,31 +284,7 @@ Please note that if you include more than one file name on the command line,
\end_layout
\begin_layout Subsection
How
\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
Looks
How LyX Looks
\end_layout
\begin_layout Standard
@ -517,31 +414,7 @@ Editor's Note: With this in mind, I've instructed all of the other authors
\end_layout
\begin_layout Section
The
\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
Interface
The LyX Interface
\end_layout
\begin_layout Subsection
@ -1579,31 +1452,7 @@ Shift-Control-s
\end_layout
\begin_layout Section
Using
\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
with Other Programs
Using LyX with Other Programs
\end_layout
\begin_layout Subsection
@ -1755,30 +1604,7 @@ Pasting text into LyX also works much the same way as in X.
\end_layout
\begin_layout Chapter
\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
Setup and Supporting Applications
LyX Setup and Supporting Applications
\end_layout
\begin_layout Section
@ -1833,31 +1659,7 @@ This is basically where we decided to document a bunch of info about running
\end_layout
\begin_layout Section
Basic
\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
Setup
Basic LyX Setup
\begin_inset LatexCommand label
name "sec:setup"
@ -3090,30 +2892,7 @@ Customization
\end_layout
\begin_layout Chapter
\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
Basics
LyX Basics
\end_layout
\begin_layout Section
@ -6976,31 +6755,7 @@ Notice that after the first line, LyX indents subsequent lines, offsetting
\end_layout
\begin_layout Subsubsection
The
\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
The LyX
\family sans
List
\family default
@ -8054,30 +7809,7 @@ Floats
\end_layout
\begin_layout Subsubsection
\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
\family sans
-Code
\end_layout
@ -15052,31 +14784,7 @@ Always put figures and tables on their own page.
\end_deeper
\begin_layout Subsection
XFig and
\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
XFig and LyX
\end_layout
\begin_layout Standard