Math.lyx:

- remove the \href stuff as this is now explained in the UserGuide
 - bug 518 is partially fixed in trunk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24044 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-03-29 16:24:56 +00:00
parent 8555235f68
commit f35bd40636
4 changed files with 58 additions and 890 deletions

View File

@ -26929,7 +26929,7 @@ _
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\_{} {}$
\begin_inset Formula $\_{} {}{}{}$
\end_inset
@ -27034,181 +27034,6 @@ f\SpecialChar \textcompwordmark{}
i}
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
The tilde
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Tilde
\end_layout
\end_inset
is designed as accent, thus is looks alone a bit misplaced: ~
\begin_inset Newline newline
\end_inset
But for web addresses (URLs) sometimes a single tilde is needed.
In this case the relation sign
\series bold
\backslash
sim
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
see
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Relations"
\end_inset
\end_layout
\end_inset
\series default
is used in a formula.
As a formula cannot be created in an URL-box (menu
\family sans
Insert\SpecialChar \menuseparator
URL
\family default
), the URL is inserted as normal text with the font style '
\family typewriter
typewriter
\family default
'.
Should the URL be a hyperlink in the DVI- or PDF-output, the command
\series bold
\backslash
href
\series default
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\series bold
\backslash
href
\series default
can only be used together with the LaTeX-package
\series bold
hyperref
\series default
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Packages ! hyperref
\end_layout
\end_inset
.
More about
\series bold
\backslash
href
\series default
is written in the section
\family typewriter
URL
\family default
in the
\family typewriter
Embedded
\begin_inset Space ~
\end_inset
Objects
\family default
manual.
\end_layout
\end_inset
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Commands ! H !
\backslash
href
\end_layout
\end_inset
is used.
\end_layout
\begin_layout Standard
As example an URL with a tilde:
\end_layout
\begin_layout Standard
as text:
\family typewriter
http://www.lyx.org/
\begin_inset Formula $\sim$
\end_inset
mustermann
\end_layout
\begin_layout Standard
with
\series bold
\backslash
href
\series default
:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
href{http://www.lyx.org/~mustermann}{
\end_layout
\end_inset
http://www.lyx.org/
\begin_inset Formula $\sim$
\end_inset
mustermann
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Section
Formula Styles
\begin_inset CommandInset label
@ -28763,41 +28588,6 @@ reference "sec:Formula-Styles"
\end_layout
\end_inset
This is also the case when there is a formula number displayed after every
line in LyX.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
This is
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
href{http://bugzilla.lyx.org/show_bug.cgi?id=518}{
\end_layout
\end_inset
LyX-bug #518
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
.
\end_layout
\end_inset
@ -33369,7 +33159,7 @@ When formulas are used in section headings, the following has to be taken
status open
\begin_layout Plain Layout
When the LaTeX-package
When
\series bold
hyperref
\series default
@ -33383,8 +33173,15 @@ Packages ! hyperref
\end_inset
is used, PDF-bookmarks are automatically created for every section heading
in the table of contents.
support is enabled in the document settings dialog under
\family sans
PDF
\begin_inset Space ~
\end_inset
Properties
\family default
, PDF-bookmarks are created for every section heading in the table of contents.
If a section heading contains formulas, they are incorrectly displayed
in the bookmark text, because formulas in bookmarks infringe the PDF convention
s.

View File

@ -27063,7 +27063,7 @@ _
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\_{} $
\begin_inset Formula $\_{} {}{}$
\end_inset
@ -27168,183 +27168,6 @@ f\SpecialChar \textcompwordmark{}
i}
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
Die Tilde
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Tilde
\end_layout
\end_inset
ist nur für Akzente gedacht, weswegen sie alleine deplatziert wirkt: ~
\begin_inset Newline newline
\end_inset
Aber für Webadressen (URLs) wird manchmal eine einzelne Tilde benötigt.
Man verwendet in diesem Fall das Relationszeichen
\series bold
\backslash
sim
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
siehe
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Relationen"
\end_inset
\end_layout
\end_inset
\series default
in einer Formel.
Da in einer URL-Box (Menü
\family sans
Einfügen\SpecialChar \menuseparator
URL
\family default
) keine Formel erstellt werden kann, gibt man die URL als normalen Text
in der Stilart '
\family typewriter
Schreibmaschine
\family default
' ein.
Soll die URL in der DVI- oder PDF-Ausgabe einen Link produzieren, verwendet
man den Befehl
\series bold
\backslash
href
\series default
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\series bold
\backslash
href
\series default
kann nur zusammen mit dem LaTeX-Paket
\series bold
hyperref
\series default
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Pakete ! hyperref
\end_layout
\end_inset
verwendet werden.
Mehr zu
\series bold
\backslash
href
\series default
steht im Kapitel
\family typewriter
URL
\family default
im Handbuch
\family typewriter
Eingebettete
\begin_inset Space ~
\end_inset
Objekte
\family default
.
\end_layout
\end_inset
.
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Befehle ! H !
\backslash
href
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Als Beispiel eine URL mit einer Tilde:
\end_layout
\begin_layout Standard
als Text:
\family typewriter
http://www.lyx.org/
\begin_inset Formula $\sim$
\end_inset
mustermann
\end_layout
\begin_layout Standard
mit
\series bold
\backslash
href
\series default
:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
href{http://www.lyx.org/~mustermann}{
\end_layout
\end_inset
http://www.lyx.org/
\begin_inset Formula $\sim$
\end_inset
mustermann
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Section
Formelstile
\begin_inset CommandInset label
@ -28911,41 +28734,6 @@ reference "sec:Formelstile"
\end_layout
\end_inset
Dies gilt auch wenn in LyX hinter jeder Zeile eine Formelnummer angezeigt
wird.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Dies ist
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
href{http://bugzilla.lyx.org/show_bug.cgi?id=518}{
\end_layout
\end_inset
LyX-Fehler #518
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
.
\end_layout
\end_inset
@ -33650,7 +33438,7 @@ Benutzt man Formeln in Überschriften, ist auf Folgendes zu achten:
status open
\begin_layout Plain Layout
Verwendet man das LaTeX-Paket
Verwendet man
\series bold
hyperref
\series default
@ -33664,8 +33452,12 @@ Pakete ! hyperref
\end_inset
, werden automatisch PDF-Lesezeichen für jede Überschrift aus dem Inhaltsverzeic
hnis erzeugt.
Unterstützung im den Dokumenteinstellungen unter
\family sans
PDF-Eigenschaften
\family default
, werden PDF-Lesezeichen für jede Überschrift aus dem Inhaltsverzeichnis
erzeugt.
Enthält eine Überschrift Formeln, werden diese im Lesezeichentext falsch
dargestellt.
Denn Formeln in Lesezeichen verstoßen gegen die PDF-Konventionen.

View File

@ -7675,7 +7675,6 @@ La primera fila de la ecuación es igual que la segunda fila del ejemplo
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1505"
@ -12379,7 +12378,6 @@ status collapsed
\begin_layout Plain Layout
Debido a un fallo de LyX,
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1435"
@ -12387,8 +12385,6 @@ target "http://bugzilla.lyx.org/show_bug.cgi?id=1435"
\end_inset
\lang spanish
, no es posible crear una nueva ecuación con
\family sans
Ctrl-m
@ -12567,7 +12563,6 @@ status collapsed
\begin_layout Plain Layout
Debido a un fallo de LyX,
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1435"
@ -12575,8 +12570,6 @@ target "http://bugzilla.lyx.org/show_bug.cgi?id=1435"
\end_inset
\lang spanish
, no es posible crear una nueva ecuación con
\family sans
Ctrl-m
@ -13301,7 +13294,6 @@ status collapsed
\begin_layout Plain Layout
véase
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1435"
@ -13497,7 +13489,6 @@ fcolorbox
\series default
.
Por eso ten en cuenta
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1435"
@ -13505,8 +13496,6 @@ target "http://bugzilla.lyx.org/show_bug.cgi?id=1435"
\end_inset
\lang spanish
.
\end_layout
@ -14406,7 +14395,6 @@ linewidth
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #4483"
@ -18399,7 +18387,6 @@ textrm
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #4091"
@ -27600,7 +27587,7 @@ _
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\_{} $
\begin_inset Formula $\_{} {}{}$
\end_inset
@ -27705,178 +27692,6 @@ f\SpecialChar \textcompwordmark{}
i}
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
La tilde
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Tilde
\end_layout
\end_inset
está diseñada como acento, así que sola se ve un poco fuera de sitio: ~
\begin_inset Newline newline
\end_inset
Pero a veces hace falta una tilde para direcciones web.
En ese caso, en una ecuación se usa el signo de relación
\series bold
\backslash
sim
\series default
.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
véase
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Relaciones"
\end_inset
\end_layout
\end_inset
Como en un cuadro URL (menú
\family sans
Insertar\SpecialChar \menuseparator
URL
\family default
) no se puede escribir una ecuación, se inserta la URL como texto normal
en estilo '
\family typewriter
typewriter
\family default
'.
Si la URL ha de ser un hiperenlace en la salida DVI o PDF, se usa el comando
\series bold
\backslash
href
\series default
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Comandos ! H !
\backslash
href
\end_layout
\end_inset
.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\series bold
\backslash
href
\series default
sólo puede usarse junto con el paquete LaTeX
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Paquetes ! hyperref
\end_layout
\end_inset
.
Más sobre
\series bold
\backslash
href
\series default
en la sección
\emph on
URL
\emph default
del manual
\emph on
Objetos incrustados
\emph default
.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Ejemplo de una URL con una tilde:
\end_layout
\begin_layout Standard
como texto:
\family typewriter
http://www.lyx.org/
\begin_inset Formula $\sim$
\end_inset
mustermann
\end_layout
\begin_layout Standard
con
\series bold
\backslash
href
\series default
:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
href{http://www.lyx.org/~mustermann}{
\end_layout
\end_inset
http://www.lyx.org/
\begin_inset Formula $\sim$
\end_inset
mustermann
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Section
Estilos de ecuación
\begin_inset CommandInset label
@ -28157,7 +27972,6 @@ status collapsed
\begin_layout Plain Layout
véase
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1505"
@ -28706,7 +28520,6 @@ Debido a un fallo en LyX el cursor no se puede poner con el ratón en la
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1429"
@ -29343,41 +29156,6 @@ reference "sec:Estilos-de-ecuación"
\end_layout
\end_inset
Este también es el caso si hay número de ecuación detrás de cada línea
en LyX.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Es el
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
href{http://bugzilla.lyx.org/show_bug.cgi?id=518}{
\end_layout
\end_inset
LyX-bug #518
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
.
\end_layout
\end_inset
@ -34058,8 +33836,11 @@ Si se quiere poner una ecuación en un encabezado de sección hay que tener
status open
\begin_layout Plain Layout
Cuando se usa el paquete LaTeX
\lang english
When
\series bold
\lang spanish
hyperref
\series default
@ -34072,8 +33853,21 @@ Paquetes ! hyperref
\end_inset
, los marcadores PDF se generan automáticamente para cada encabezado de
sección en el índice.
\series bold
\lang english
\series default
support is enabled in the document settings dialog under
\family sans
PDF
\begin_inset Space ~
\end_inset
Properties
\family default
\lang spanish
, los marcadores PDF se generan para cada encabezado de sección en el índice.
Si el encabezado contiene ecuaciones, se muestran incorrectamente en el
texto del marcador, porque se infringen las convenciones PDF.
\end_layout

View File

@ -7445,7 +7445,6 @@ La première ligne de la formule est la même que la deuxième ligne de l'exempl
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1505"
@ -12028,7 +12027,6 @@ status collapsed
Ctrl-m
\family default
, voir
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1435"
@ -12036,8 +12034,6 @@ target "http://bugzilla.lyx.org/show_bug.cgi?id=1435"
\end_inset
\lang french
.
\end_layout
@ -12218,7 +12214,6 @@ status collapsed
Ctrl-m
\family default
, voir
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1435"
@ -12226,8 +12221,6 @@ target "http://bugzilla.lyx.org/show_bug.cgi?id=1435"
\end_inset
\lang french
.
\end_layout
@ -12944,7 +12937,6 @@ status collapsed
\begin_layout Plain Layout
voir
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1435"
@ -13140,7 +13132,6 @@ fcolorbox
\series default
.
D'où la note
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1435"
@ -13148,8 +13139,6 @@ target "http://bugzilla.lyx.org/show_bug.cgi?id=1435"
\end_inset
\lang french
.
\end_layout
@ -14034,7 +14023,6 @@ linewidth
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #4483"
@ -18073,7 +18061,6 @@ textrm
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #4091"
@ -26901,7 +26888,7 @@ _
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\_{} $
\begin_inset Formula $\_{} {}{}$
\end_inset
@ -27006,184 +26993,6 @@ f\SpecialChar \textcompwordmark{}
i}
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
Le tilde
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Tilde
\end_layout
\end_inset
est conçu pour être un accent, il semble un peu déplacé quand il est seul:
~
\begin_inset Newline newline
\end_inset
Mais pour les adresses internet (les URLs), on a parfois besoin d'un tilde
tout seul.
Dans ce cas on peut utiliser l'opérateur de relation
\series bold
\backslash
sim
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
voir
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:Relations"
\end_inset
\end_layout
\end_inset
\series default
dans une formule.
Comme on ne peut pas insérer une formule dans une boîte d'URL (menu
\family sans
Insérer\SpecialChar \menuseparator
URL
\family default
), l'URL est insérée comme du texte normal en police '
\family typewriter
machine à écrire
\family default
'.
Si l'URL doit être un hyperlien dans la sortie DVI ou PDF, il faut utiliser
la commande
\series bold
\backslash
href
\series default
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\series bold
\backslash
href
\series default
peut être utilisé uniquement avec le paquetage LaTeX
\series bold
hyperref
\series default
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Paquetages ! hyperref
\end_layout
\end_inset
.
Plus d'information sur
\series bold
\backslash
href
\series default
est donné dans la section
\family typewriter
URL
\family default
du manuel
\family typewriter
Objets
\begin_inset Space ~
\end_inset
insérés
\family default
.
\end_layout
\end_inset
\begin_inset Index
status collapsed
\begin_layout Plain Layout
Commandes ! H !
\backslash
href
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
Un exemple d'URL avec un tilde:
\end_layout
\begin_layout Standard
en tant que texte:
\family typewriter
http://www.lyx.org/
\begin_inset Formula $\sim$
\end_inset
mustermann
\end_layout
\begin_layout Standard
avec
\series bold
\backslash
href
\series default
:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
href{http://www.lyx.org/~mustermann}{
\end_layout
\end_inset
http://www.lyx.org/
\begin_inset Formula $\sim$
\end_inset
mustermann
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Section
Styles de formules
\begin_inset CommandInset label
@ -27495,7 +27304,6 @@ status collapsed
\begin_layout Plain Layout
voir
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1505"
@ -28030,7 +27838,6 @@ La formule n'utilise pas la totalité de la largeur de la page.
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset href
LatexCommand href
name "LyX-bug #1429"
@ -28671,7 +28478,7 @@ reference "eq:lefteqn"
\begin_layout Standard
Dans la sortie finale, seule la dernière ligne d'un environnement multline
apparaît numérotée si le document est numéroté à droite, la première s'il
est numéroté à gauche
est numéroté à gauche.
\begin_inset Foot
status collapsed
@ -28688,43 +28495,7 @@ reference "sec:Styles-de-formules"
\end_inset
.
C'est aussi le cas dans LyX quand il y a un numéro de formule affiché après
chaque ligne
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
C'est
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
href{http://bugzilla.lyx.org/show_bug.cgi?id=518}{
\end_layout
\end_inset
LyX-bug #518
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
.
\end_layout
\end_inset
.
\end_layout
\begin_layout Standard
@ -33193,8 +32964,11 @@ Quand des formules sont utilisées dans des entêtes de section, on doit prendre
status open
\begin_layout Plain Layout
Quand on utilise le paquetage LaTeX
\lang english
When
\series bold
\lang french
hyperref
\series default
@ -33207,8 +32981,19 @@ Paquetages ! hyperref
\end_inset
, les signets PDF sont automatiquement créés dans la table des matières
pour chaque entête de section.
\lang english
support is enabled in the document settings dialog under
\family sans
PDF
\begin_inset Space ~
\end_inset
Properties
\family default
\lang french
, les signets PDF sont créés dans la table des matières pour chaque entête
de section.
Si l'entête de section contient une formule, elle est affichée de façon
incorrecte dans le texte du signet parce que les formules dans les signets
ne respectent pas certaines conventions du PDF.