EmbeddedObjects.lyx: - remove the \href stuff as this is now explained in the UserGuide

UserGuide.lyx: explain the new URL and Hyperlink handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24045 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-03-29 16:31:16 +00:00
parent f35bd40636
commit ed2df64f10
5 changed files with 152 additions and 1176 deletions

View File

@ -286,7 +286,7 @@ author: Uwe Stöhr
\newline \newline
\family sans \family sans
Version 1.5.5 Version 1.6svn
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -28554,274 +28554,6 @@ fleqn
, also display formulas can be scaled. , also display formulas can be scaled.
\end_layout \end_layout
\begin_layout Section
URLs (Uniform Resource Locators)
\begin_inset LatexCommand index
name "URLs"
\end_inset
\end_layout
\begin_layout Standard
Links to web pages or email addresses can be inserted via the menu
\family sans
Insert\SpecialChar \menuseparator
URL
\family default
.
The appearing URL dialog has two fields; the
\family sans
URL
\family default
field and the
\family sans
Name
\family default
field for the URL description, which will be typeset as plain text immediately
before the URL.
\end_layout
\begin_layout Standard
Here is an example URL:
\begin_inset LatexCommand url
name "LyX's homepage"
target "http://www.lyx.org"
\end_inset
\end_layout
\begin_layout Standard
The option
\family sans
Generate\InsetSpace ~
hyperlink
\family default
in the URL dialog does nothing.
This relict will be removed in the next LyX-version.
\end_layout
\begin_layout Standard
You cannot change the style of the link text.
The text of the
\family sans
Name
\family default
field will have the default text style of the document while the text of
the
\family sans
URL
\family default
field will have the style
\begin_inset Quotes eld
\end_inset
\family sans
Typewriter
\family default
\begin_inset Quotes erd
\end_inset
.
\end_layout
\begin_layout Standard
When you use the LaTeX-package
\series bold
hyperref
\series default
\begin_inset LatexCommand index
name "LaTeX-packages ! hyperref"
\end_inset
to link cross-references in the output, URLs will automatically become
clickable hyperlinks in DVI and PDF-output.
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Standard
\series bold
Note:
\series default
When you use the following characters: "%", "#", "^", you have to write
them with a preceding backslash, e.\InsetSpace \thinspace{}
g.\InsetSpace ~
\begin_inset Quotes eld
\end_inset
\backslash
#
\begin_inset Quotes erd
\end_inset
.
URLs must not end with a backslash.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
To create real hyperlinks without the force to write the link location to
the text, you can use the command
\end_layout
\begin_layout Standard
\series bold
\backslash
href{link location}{link text}
\end_layout
\begin_layout Standard
in TeX-Code.
To get for example a link to LyX's web page, write the command
\end_layout
\begin_layout Standard
\series bold
\backslash
href{http://www.lyx.org}{
\end_layout
\begin_layout Standard
in TeX-Code.
Insert after the command the link text
\begin_inset Quotes eld
\end_inset
LyX's homepage
\begin_inset Quotes erd
\end_inset
as normal text followed by a closing brace
\begin_inset Quotes eld
\end_inset
\series bold
}
\series default
\begin_inset Quotes erd
\end_inset
in TeX-Code.
This is the result:
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{http://www.lyx.org}{
\end_layout
\end_inset
LyX's homepage
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
To link to email addresses, add the prefix
\begin_inset Quotes eld
\end_inset
\family sans
mailto:
\family default
\begin_inset Quotes erd
\end_inset
to the link location:
\newline
Email to
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
\end_layout
\end_inset
lyx-docs mailing list
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
Using
\series bold
\backslash
href
\series default
instead of LyX's URL box has the advantage that you can specify the text
style of the link text like for all other text parts.
You can then set hyphenation points and forced linebreaks to have long
link text broken at the page margin.
You are furthermore able to change the text style for all URLs in your
document with an option in
\series bold
hyperref
\series default
's load command and the restrictions mentioned above doesn't apply for
\series bold
\backslash
href
\series default
.
\end_layout
\begin_layout Chapter \begin_layout Chapter
External Stuff External Stuff
\begin_inset LatexCommand index \begin_inset LatexCommand index

View File

@ -24724,7 +24724,7 @@ TOC
\end_layout \end_layout
\begin_layout Section \begin_layout Section
URLs (Uniform Resource Locators) URLs and Hyperlinks
\begin_inset Index \begin_inset Index
status collapsed status collapsed
@ -24735,6 +24735,16 @@ URLs
\end_inset \end_inset
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Hyperlinks
\end_layout
\end_inset
\begin_inset CommandInset label \begin_inset CommandInset label
LatexCommand label LatexCommand label
name "sec:URL" name "sec:URL"
@ -24744,42 +24754,23 @@ name "sec:URL"
\end_layout \end_layout
\begin_layout Subsection
URLs
\end_layout
\begin_layout Standard \begin_layout Standard
It is often desirable to include long Links to web pages or email addresses can be inserted via the menu
\begin_inset Quotes eld
\end_inset
verbatim
\begin_inset Quotes erd
\end_inset
items in a document such as Web site URLs, e-mail addresses, etc.
These things typically do not contain any spaces and are thus difficult
to typeset properly.
Such items will often fall on a line boundary if they cannot be split,
resulting in an overfull line.
To avoid this, use the menu
\family sans \family sans
Insert\SpecialChar \menuseparator Insert\SpecialChar \menuseparator
URL URL
\family default \family default
to enter a long URL and have it split gracefully, if necessary. .
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
The URL dialog has two fields; the URL field and the Here is an example URL: LyX's homepage:
\family sans
Name
\family default
field for the URL description, which will be typeset as plain text immediately
before the URL.
Here an example:
\end_layout
\begin_layout Standard
LyX-Homepage
\begin_inset Flex URL \begin_inset Flex URL
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
@ -24788,38 +24779,152 @@ http://www.lyx.org
\end_inset \end_inset
.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\begin_inset VSpace bigskip You cannot change the style of the link text, the URL text will always be
in the style
\family typewriter
Typewriter
\family default
.
To be able to format the URL text, use hyperlinks as explained in the next
subsection.
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Note:
\series default
URLs must not end with a backslash, otherwise you get LaTeX errors.
\end_layout
\end_inset \end_inset
\series bold
Important notes
\series default
:
\end_layout \end_layout
\begin_layout Itemize \begin_layout Subsection
When you use the following characters: "%", "#", "^", you have to write Hyperlinks
them with a backslash before, e.g. \end_layout
\begin_layout Standard
Hyperlinks can be inserted with the menu
\family sans
Insert\SpecialChar \menuseparator
Hyperlink
\family default
or with the toolbar button
\begin_inset Graphics
filename ../images/href-insert.png
embed ""
BoundingBox 0bp 5bp 20bp 20bp
\end_inset
.
The appearing dialog has two fields:
\family sans
Target
\family default
and
\family sans
Name
\family default
.
The name is the printed text for the hyperlink.
The hyperlink type can be a weblink like this:
\begin_inset CommandInset href
LatexCommand href
name "http://www.lyx.org"
target "LyX's homepage"
\end_inset
, an Email address like this:
\begin_inset CommandInset href
LatexCommand href
name "lyx-docs mailing list"
target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
type "mailto:"
\end_inset
, or a link to a file.
\end_layout
\begin_layout Standard
You can start applications via a hyperlink when you insert a weblink, but
add the prefix
\begin_inset Quotes eld \begin_inset Quotes eld
\end_inset \end_inset
\backslash \family sans
# run:
\family default
\begin_inset Quotes erd \begin_inset Quotes erd
\end_inset \end_inset
. to the link target.
\end_layout \end_layout
\begin_layout Itemize \begin_layout Standard
URLs must not end with a backslash! Hyperlinks will automatically be hyphenated if necessary and become clickable
in the DVI and PDF-output.
To set the format of the link text, highlight the hyperlink inset and use
the text style dialog.
This is for example a hyperlink with bold sans serif text:
\family sans
\series bold
\begin_inset CommandInset href
LatexCommand href
name "http://www.lyx.org"
target "LyX's homepage"
\end_inset
\end_layout
\begin_layout Standard
The link text color can be changed, when the option
\family sans
Color links
\family default
is set in the PDF Properties dialog (menu
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
PDF Properties
\family default
).
The link text is for example set in this document to blue by adding the
option
\begin_inset Newline newline
\end_inset
\series bold
urlcolor=blue
\series default
\begin_inset Newline newline
\end_inset
to the field
\family sans
Additional options
\family default
in the PDF Properties dialog.
\end_layout \end_layout
\begin_layout Section \begin_layout Section

View File

@ -307,7 +307,7 @@ Autor: Uwe Stöhr <uwestoehr@web.de>
\newline \newline
\family sans \family sans
Version 1.5.5 Version 1.6svn
\end_layout \end_layout
\begin_layout Date \begin_layout Date
@ -29423,332 +29423,6 @@ fleqn
gewählt, kann man auch abgesetzte Formeln skalieren. gewählt, kann man auch abgesetzte Formeln skalieren.
\end_layout \end_layout
\begin_layout Section
URL (Uniform Resource Locator)
\begin_inset LatexCommand index
name "URL"
\end_inset
\end_layout
\begin_layout Standard
Internet- oder Email-Adressen können mit
\begin_inset Graphics
filename ../../images/url-insert.png
scale 70
scaleBeforeRotation
BoundingBox 0bp 0bp 22bp 22bp
\end_inset
oder
\family sans
Einfügen\SpecialChar \menuseparator
URL
\family default
eingefügt werden.
Das Dialogfenster
\family sans
URL
\family default
hat zwei Felder:
\family sans
URL
\family default
für die Adresse und
\family sans
Name
\family default
für die URL-Beschreibung, die vor der URL gedruckt wird.
\end_layout
\begin_layout Standard
Hier ist ein Beispiel:
\begin_inset LatexCommand url
name "LyX-Homepage:"
target "http://www.lyx.org"
\end_inset
.
\end_layout
\begin_layout Standard
Die Option
\family sans
Hyperlink
\family default
\InsetSpace ~
\family sans
erzeugen
\family default
bewirkt nichts.
Dieses Relikt wird mit der nächsten LyX-Version beseitigt.
\end_layout
\begin_layout Standard
Das Aussehen des Textes können Sie nicht ändern.
Der Text im
\family sans
Name
\family default
-Feld wird so gedruckt wie der Text Ihres Dokumentes und der Text
\family sans
des URL
\family default
-Feldes im Stil
\family sans
\begin_inset Quotes gld
\end_inset
Schreibmaschine
\family default
\begin_inset Quotes grd
\end_inset
.
\end_layout
\begin_layout Standard
Wenn Sie das LaTeX-Paket
\series bold
hyperref
\series default
\begin_inset LatexCommand index
name "LaTeX-Pakete ! hyperref"
\end_inset
benutzen, um Querverweise in der Druckvorschau zu verlinken, werden die
URLs automatisch zu anklickbaren Hyperlinks in DVI- und PDF-Vorschau.
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Standard
\series bold
Bemerkung:
\series default
Wenn Sie die folgenden Buchstaben benutzen wollen, müssen Sie mit einem
vorangestellten
\begin_inset Quotes gld
\end_inset
\backslash
\begin_inset Quotes grd
\end_inset
eingeben:
\begin_inset Quotes gld
\end_inset
\backslash
%
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
\backslash
#
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
\backslash
^
\begin_inset Quotes grd
\end_inset
.
URLs dürfen nicht mit einem
\begin_inset Quotes gld
\end_inset
\backslash
\begin_inset Quotes grd
\end_inset
aufhören.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Um wirkliche Hyperlinks zu erzeugen, ohne gezwungen zu sein, die Link-Adresse
im Text angeben zu müssen, können Sie den TeX-Code-Befehl
\end_layout
\begin_layout Standard
\series bold
\backslash
href{Linkadresse}{Linktext}
\end_layout
\begin_layout Standard
benutzen.
Um z.\InsetSpace \thinspace{}
B.
einen Link auf LyXs Webseite zu setzen, schreiben Sie den TeX-Code-Befehl
\end_layout
\begin_layout Standard
\series bold
\backslash
href{http://www.lyx.org}{
\end_layout
\begin_layout Standard
Danach fügen Sie den Linktext
\begin_inset Quotes gld
\end_inset
LyX-Homepage
\begin_inset Quotes grd
\end_inset
als normalen Text ein, gefolgt von einer schließenden geschweiften Klammer
\begin_inset Quotes gld
\end_inset
\series bold
}
\series default
\begin_inset Quotes grd
\end_inset
als TeX-Code.
Dies ist das Ergebnis:
\newline
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{http://www.lyx.org}{
\end_layout
\end_inset
LyX-Homepage
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Für Email-Adressen setzen Sie
\family sans
\begin_inset Quotes gld
\end_inset
mailto:
\family default
\begin_inset Quotes grd
\end_inset
vor die Adresse:
\newline
Email an
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
\end_layout
\end_inset
lyx-docs Mailing-Liste
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
Wenn Sie
\series bold
\backslash
href
\series default
anstatt LyXs URL-Box benutzen, hat das den Vorteil, dass Sie einen eigenen
Textstil definieren können.
Sie können dann auch Trennhilfen und manuelle Zeilenumbrüche setzen, damit
lange Texte richtig umgebrochen werden.
Des Weiteren können Sie mit einer Option in
\series bold
hyperref
\series default
s
\series bold
\series default
Ladebefehl denselben Stil für alle Hyperlinks definieren und die oben erwähnten
Einschränkungen gelten nicht für
\series bold
\backslash
href
\series default
.
\end_layout
\begin_layout Chapter \begin_layout Chapter
Externe Dateien Externe Dateien
\begin_inset LatexCommand index \begin_inset LatexCommand index

View File

@ -300,7 +300,7 @@ Traducción de: Ignacio García
\newline \newline
\family sans \family sans
Versión 1.5.5 Versión 1.6svn
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -28689,265 +28689,6 @@ Si «fleqn» se añade a las opciones de clase del documento.
, también pueden escalarse las ecuaciones en estilo presentación. , también pueden escalarse las ecuaciones en estilo presentación.
\end_layout \end_layout
\begin_layout Section
URLs (Localizador Uniforme de Recursos)
\begin_inset LatexCommand index
name "URLs"
\end_inset
\end_layout
\begin_layout Standard
Los enlaces a páginas web o direcciones de correo se insertan con el menú
\family sans
Insertar\SpecialChar \menuseparator
URL
\family default
.
Surge un diálogo con dos campos: el campo
\family sans
URL
\family default
y el campo
\family sans
Nombre
\family default
para la descripción del URL, que se imprimirá como texto normal inmediatamente
antes del URL.
\end_layout
\begin_layout Standard
He aquí un ejemplo de URL:
\begin_inset LatexCommand url
name "Página de LyX"
target "http://www.lyx.org"
\end_inset
\end_layout
\begin_layout Standard
La opción
\family sans
Generar\InsetSpace ~
hiperenlace
\family default
en el diálogo URL no hace nada.
Esto se eliminará en la próxima versión de LyX.
\end_layout
\begin_layout Standard
No se puede cambiar el estilo del texto del enlace.
El texto del campo
\family sans
Nombre
\family default
tendrá el estilo de texto predeterminado para el documento mientras que
el texto del campo
\family sans
URL
\family default
tendrá el estilo
\begin_inset Quotes eld
\end_inset
\family sans
Typewriter
\family default
\begin_inset Quotes erd
\end_inset
.
\end_layout
\begin_layout Standard
Cuando usas el paquete LaTeX
\series bold
hyperref
\series default
\begin_inset LatexCommand index
name "LaTeX-paquetes ! hyperref"
\end_inset
para enlazar referencias cruzadas, en las salidas DVI y PDF los URLs se
convierten automáticamente en hiperenlaces disponibles.
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Standard
\series bold
Nota:
\series default
Cuando utilices los caracteres: "%", "#", "^", debes escribirlos precedidos
por una barra invertida, p.\InsetSpace \thinspace{}
e.\InsetSpace ~
\begin_inset Quotes eld
\end_inset
\backslash
#
\begin_inset Quotes erd
\end_inset
.
Los URL no deben finalizar con una barra invertida.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
Para crear hiperenlaces reales sin tener que escribir la dirección del enlace
en el texto, puedes usar el comando
\end_layout
\begin_layout Standard
\series bold
\backslash
href{dirección del enlace}{texto del enlace}
\end_layout
\begin_layout Standard
en ERT.
Por ejemplo, para conseguir un enlace a la página web de LyX, escribe el
comando
\end_layout
\begin_layout Standard
\series bold
\backslash
href{http://www.lyx.org}{
\end_layout
\begin_layout Standard
en ERT.
Inserta después del comando el texto del enlace
\begin_inset Quotes eld
\end_inset
Página de LyX
\begin_inset Quotes erd
\end_inset
seguido por una llave en ERT.
Este es el resultado:
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{http://www.lyx.org}{
\end_layout
\end_inset
Página de LyX
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Para enlazar a direcciones de correo, añade el prefijo
\begin_inset Quotes eld
\end_inset
\family sans
mailto:
\family default
\begin_inset Quotes erd
\end_inset
a la dirección del enlace:
\newline
Correo para
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
\end_layout
\end_inset
la lista de correo de documentación de LyX (lyx-docs)
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
Emplear
\series bold
\backslash
href
\series default
en vez del cuadro URL de LyX tiene la ventaja de que puedes especificar
el estilo de texto del enlace como en las demás partes del texto.
Puedes poner guiones y saltos de línea forzados para dividir textos extensos
de enlaces en el margen de página.
También puedes cambiar el estilo de texto para todos los URLs en el documento
con una opción en el comando de carga de
\series bold
hyperref
\series default
.
Además las restricciones mencionadas antes no se aplican a
\series bold
\backslash
href
\series default
.
\end_layout
\begin_layout Chapter \begin_layout Chapter
Archivo Archivo
\begin_inset LatexCommand index \begin_inset LatexCommand index

View File

@ -294,7 +294,7 @@ version 1.5.2 - novembre 2007
\newline \newline
\family sans \family sans
Version 1.5.5 Version 1.6svn
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -28980,282 +28980,6 @@ fleqn
, les formules hors texte peuvent aussi être redimensionnées. , les formules hors texte peuvent aussi être redimensionnées.
\end_layout \end_layout
\begin_layout Section
Les URLs (Uniform Resource Locators)
\begin_inset LatexCommand index
name "URL"
\end_inset
\end_layout
\begin_layout Standard
On peut insérer des liens vers des pages web ou des adresses email en utilisant
le menu
\family sans
Insérer\SpecialChar \menuseparator
URL
\family default
.
La fenêtre de dialogue qui s'ouvre a deux champs ; Le champ
\family sans
URL
\family default
et le champ
\family sans
Nom
\family default
pour ajouter une description de l'URL qui sera mise en forme sous la forme
de texte brut juste devant l'URL.
\end_layout
\begin_layout Standard
Voici un exemple d'URL:
\begin_inset LatexCommand url
name "Page d'accueil du site de LyX"
target "http://www.lyx.org"
\end_inset
\end_layout
\begin_layout Standard
L'option
\family sans
Créer\InsetSpace ~
un\InsetSpace ~
lien\InsetSpace ~
hypertexte
\family default
dans la boîte de dialogue URL ne fait rien.
Cette relique sera retirée dans la prochaine version de LyX.
\end_layout
\begin_layout Standard
Vous ne pouvez pas changer les style de texte du lien.
Le style du champ
\family sans
Nom
\family default
sera le style par défaut du texte du document alors que le texte du champ
\family sans
URL
\family default
aura le style
\begin_inset Quotes eld
\end_inset
\family sans
Machine\InsetSpace ~
à\InsetSpace ~
écrire
\family default
\begin_inset Quotes erd
\end_inset
.
\end_layout
\begin_layout Standard
Quand vous utilisez le paquetage LaTeX
\series bold
hyperref
\series default
\begin_inset LatexCommand index
name "Paquetages LaTeX ! hyperref"
\end_inset
pour transformer les références croisées en liens cliquables dans la sortie,
les URL deviendront automatiquement des hyperliens cliquables dans les
sorties DVI et PDF.
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Standard
\series bold
Note:
\series default
Quand vous utilisez les caractères suivants : "%", "#", "^", vous devez
les faire précéder par une barre de fraction inverse (backslash), par exemple\InsetSpace ~
\begin_inset Quotes eld
\end_inset
\backslash
#
\begin_inset Quotes erd
\end_inset
.
Une URL ne doit pas se terminer par une barre de fraction inverse.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
Pour créer de vrais hyperliens sans que l'adresse du lien apparaisse dans
le texte, vous pouvez utiliser la commande
\end_layout
\begin_layout Standard
\series bold
\backslash
href{adresse du lien}{texte du lien}
\end_layout
\begin_layout Standard
comme code TeX.
Par exemple pour avoir un lien vers la page d'accueil du site web de LyX,
écrivez la commande
\end_layout
\begin_layout Standard
\series bold
\backslash
href{http://www.lyx.org}{
\end_layout
\begin_layout Standard
en code TeX.
Ensuite insérez le texte du lien, par exemple
\begin_inset Quotes eld
\end_inset
Page d'accueil de LyX
\begin_inset Quotes erd
\end_inset
comme du texte normal suivi par l'accolade fermante
\begin_inset Quotes eld
\end_inset
\series bold
}
\series default
\begin_inset Quotes erd
\end_inset
en code TeX.
Voici le résultat :
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{http://www.lyx.org}{
\end_layout
\end_inset
Page d'accueil de LyX
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Pour faire un lien vers une adresse e-mail, ajoutez le préfixe
\begin_inset Quotes eld
\end_inset
\family sans
mailto:
\family default
\begin_inset Quotes erd
\end_inset
à l'adresse du lien :
\newline
Écrivez à la
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
\end_layout
\end_inset
liste de diffusion lyx-docs
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
Utiliser
\series bold
\backslash
href
\series default
à la place de la boîte d'URL de LyX a l'avantage que vous pouvez préciser
le style du texte utilisé pour le lien comme pour toutes les autres portions
de texte.
Vous pouvez aussi donner des points de césure et forcer des sauts de lignes
pour que le texte d'un lien trop long soit coupé au niveau de la marge.
En plus vous pouvez changer le style de texte utilisé pour toutes les URLs
de votre document avec une option dans la commande de chargement du paquetage
\series bold
hyperref
\series default
's et les restrictions mentionnées ci-dessus ne s'appliquent pas à
\series bold
\backslash
href
\series default
.
\end_layout
\begin_layout Chapter \begin_layout Chapter
Trucs Externes Trucs Externes
\begin_inset LatexCommand index \begin_inset LatexCommand index