Userguide: merge changes Georg committed last week to branch (unicode stuff)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20181 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-09-09 21:29:49 +00:00
parent be38aa2638
commit b863a6baff
2 changed files with 608 additions and 271 deletions

View File

@ -24699,6 +24699,26 @@ usepackage[labelfont=bf]{caption}
\begin_layout Standard \begin_layout Standard
to the preamble and the problem is solved. to the preamble and the problem is solved.
\begin_inset Foot
status collapsed
\begin_layout Standard
For more commands provided by the
\series bold
caption
\series default
package, have a look at its documentation,
\begin_inset LatexCommand cite
key "caption"
\end_inset
.
\end_layout
\end_inset
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -25115,8 +25135,11 @@ reference "sub:Settings"
\end_inset \end_inset
Enable this if you can't spell check words with international letters in Only enable this if you use
them. \family typewriter
ispell
\family default
and can't spell check words with international letters in them.
There have been reports that this does not work with all dictionaries, There have been reports that this does not work with all dictionaries,
so this is disabled by default. so this is disabled by default.
\end_layout \end_layout
@ -25765,18 +25788,12 @@ Choose your language in the
\family sans \family sans
Language Language
\family default \family default
section of the section of this dialog.
\family sans
Document\SpecialChar \menuseparator
Settings
\family default
dialog.
The default is The default is
\family sans \family sans
English English
\family default \family default
. .
Scroll to find the language you want and then click on your choice.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -25784,25 +25801,14 @@ The
\family sans \family sans
Encoding Encoding
\family default \family default
box lets you choose the character encoding map you want to use. box lets you choose the character encoding map you want to use for LaTeX
When you select the encoding export.
The option
\family sans \family sans
LaTeX\InsetSpace ~ use language's default encoding
default
\family default \family default
or the option is the preferred choice and works well in most cases.
\family sans For details abhout the different encoding options see section\InsetSpace ~
Use language's default encoding
\family default
, the encoding is used that LaTeX uses by default for the selected language,
e.\InsetSpace \thinspace{}
g.\InsetSpace ~
for English it is
\family sans
latin9
\family default
.
The different encodings are explained in section\InsetSpace ~
\begin_inset LatexCommand ref \begin_inset LatexCommand ref
reference "sub:Settings" reference "sub:Settings"
@ -25812,62 +25818,6 @@ reference "sub:Settings"
. .
\end_layout \end_layout
\begin_layout Standard
LyX also supports Unicode output, which is particularly useful if you need
lots of special symbols or non-alphabetic scripts, respectively.
If you want to use this (and your LaTeX installation supports Unicode,
for that matter), the
\family typewriter
utf8
\family default
encoding is the right choice for most purposes.
Besides this, you will find some alternative Unicode encodings for specific
purposes:
\family typewriter
UTF8
\family default
and
\family typewriter
utf8x
\family default
are provided for CJK languages (Chinese, Japanese, Korean),
\family typewriter
utf8-plain
\family default
, finally, should be chosen for
\family sans
XeTeX
\family default
, which uses Unicode directly, without the help of the LaTeX-package
\series bold
inputenc
\series default
\begin_inset LatexCommand index
name "LaTeX-packages ! inputenc"
\end_inset
.
\begin_inset Foot
status collapsed
\begin_layout Standard
See section\InsetSpace ~
\begin_inset LatexCommand ref
reference "sub:Settings"
\end_inset
for details.
\end_layout
\end_inset
\end_layout
\begin_layout Subsection \begin_layout Subsection
Keyboard mapping configuration Keyboard mapping configuration
\end_layout \end_layout
@ -32399,11 +32349,27 @@ name "Language ! Encoding"
\begin_layout Standard \begin_layout Standard
The document language and quote styles are set here. The document language and quote styles are set here.
The encoding is necessary to be able to enter characters in the document The encoding specifies how the document content is exported to LaTeX (the
language. LyX file is always encoded in utf8).
E.g. All characters that cannot be encoded using the specified encoding will
you want to enter the æ-ligature directly with the keyboard and not by be exported as LaTeX-commands (this can fail if a LaTeX-command is not
using LaTeX-commands. known for a particular character).
\begin_inset Foot
status collapsed
\begin_layout Standard
The known commands are defined in a text file.
You can add commands for unknown symbols to that file yourself, see the
\emph on
Customization
\emph default
manual for details.
\end_layout
\end_inset
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -32411,7 +32377,52 @@ If you use the option
\family sans \family sans
use language's default encoding use language's default encoding
\family default \family default
, the default encoding for the selected language is used. , LyX determines the encoding of a portion of text from the language of
this text.
If the document contains text in more than one language you may get more
than one encoding in the LaTeX file.
If you do not use this option then the complete document will always use
exactly one encoding.
Checking this option is the preferred setting unless you use
\family sans
XeTeX
\family default
\begin_inset Foot
status collapsed
\begin_layout Standard
XeTeX is a TeX typesetting engine, an alternative for LaTeX.
It natively supports Unicode while its input file is assumed to be in UTF-8
encoding.
More about using LyX with XeTeX can be found in
\begin_inset LatexCommand cite
key "XeTeX"
\end_inset
.
\end_layout
\end_inset
(see below).
\end_layout
\begin_layout Standard
LyX also supports Unicode output, which is particularly useful if you need
lots of special symbols or non-alphabetic scripts, respectively.
If you want to use this (and your LaTeX installation supports Unicode,
for that matter), choose one of the four utf8 variants from the list below.
Unfortunately the unicode support of standard LaTeX is quite incomplete,
so it is not uncommon that a file with lots of unicode symbols works fine
with
\family sans
use language's default encoding
\family default
(when LyX uses it's list of known LaTeX-commands), but does not work with
a fixed utf8 encoding (when the list of known LaTeX-commands is ot used,
because all unicode symbols can be encoded in utf8).
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -32419,7 +32430,32 @@ Here is a list with the important encodings:
\end_layout \end_layout
\begin_layout Description \begin_layout Description
amscii8 encoding for Armenian LaTeX\InsetSpace ~
default Same as
\family sans
use language's default encoding
\family default
, but the LaTeX-package
\series bold
inputenc
\series default
\begin_inset LatexCommand index
name "LaTeX-packages ! inputenc"
\end_inset
is not used.
You probably need to load some other packages manually in the preamble.
\end_layout
\begin_layout Description
armscii8 encoding for Armenian
\end_layout
\begin_layout Description
ascii the ASCII encoding, covers only plain English, may result in a big
file because lots of LaTeX-commands may be needed
\end_layout \end_layout
\begin_layout Description \begin_layout Description
@ -32518,38 +32554,7 @@ pt154 Cyrillic for Kazakh
\end_layout \end_layout
\begin_layout Description \begin_layout Description
utf8 code page for Unicode utf8 utf8 Unicode utf8 with the LaTeX-package
\end_layout
\begin_layout Description
UTF8 code page provided for CJK languages (Chinese, Japanese, Korean)
\end_layout
\begin_layout Description
utf8-plain code page provided to be used with for
\family sans
XeTeX
\family default
\begin_inset Foot
status collapsed
\begin_layout Standard
XeTeX is a TeX typesetting engine, an alternative for LaTeX.
It natively supports Unicode while its input file is assumed to be in UTF-8
encoding.
More about using LyX with XeTeX can be found here:
\begin_inset LatexCommand url
target "http://wiki.lyx.org/LyX/XeTeX"
\end_inset
\end_layout
\end_inset
, which uses Unicode directly, without the help of the LaTeX-package
\series bold \series bold
inputenc inputenc
\series default \series default
@ -32559,11 +32564,57 @@ name "LaTeX-packages ! inputenc"
\end_inset \end_inset
. (first variant, for latin symbols and some others).
\end_layout \end_layout
\begin_layout Description \begin_layout Description
utf8x code page provided for CJK languages utf8x Unicode utf8 with the LaTeX-package
\series bold
inputenc
\series default
(second variant, for greek and CJK symbols and some others).
\end_layout
\begin_layout Description
UTF8 Unicode utf8 with the LaTeX-package
\series bold
CJK
\series default
\begin_inset LatexCommand index
name "LaTeX-packages ! CJK"
\end_inset
(for the languages Chinese, Japanese and Korean)
\end_layout
\begin_layout Description
utf8-plain Unicode utf8 to be used with
\family sans
XeTeX
\family default
, which uses Unicode directly, without the help of the LaTeX-package
\series bold
inputenc
\series default
\begin_inset Foot
status collapsed
\begin_layout Standard
More about using LyX with XeTeX can be found in
\begin_inset LatexCommand cite
key "XeTeX"
\end_inset
.
\end_layout
\end_inset
\end_layout \end_layout
\begin_layout Subsubsection* \begin_layout Subsubsection*
@ -36673,6 +36724,57 @@ target "http://www.tex.ac.uk/cgi-bin/texfaq2html"
\end_inset \end_inset
\end_layout
\begin_layout Bibliography
\begin_inset LatexCommand bibitem
key "caption"
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
\end_layout
\end_inset
Documentation
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
of the LaTeX-package
\series bold
caption
\series default
\begin_inset LatexCommand index
name "LaTeX-packages ! caption"
\end_inset
:
\newline
\begin_inset LatexCommand url
target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
\end_inset
\end_layout \end_layout
\begin_layout Bibliography \begin_layout Bibliography
@ -36879,6 +36981,47 @@ target "http://www.ctan.org/tex-archive/fonts/tipa/tipaman.pdf"
\end_inset \end_inset
\end_layout
\begin_layout Bibliography
\begin_inset LatexCommand bibitem
key "XeTeX"
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{http://wiki.lyx.org/LyX/XeTeX}{
\end_layout
\end_inset
Wiki-page
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
how to use LyX with XeTeX:
\newline
\begin_inset LatexCommand url
target "http://wiki.lyx.org/LyX/XeTeX"
\end_inset
\end_layout \end_layout
\begin_layout Bibliography \begin_layout Bibliography

View File

@ -25010,7 +25010,6 @@ programar
tablas y figuras en negrita. tablas y figuras en negrita.
Pero tu documento tiene más de cien de ellos, por tanto es imposible cambiarlos Pero tu documento tiene más de cien de ellos, por tanto es imposible cambiarlos
todos a mano en poco tiempo. todos a mano en poco tiempo.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -25084,6 +25083,30 @@ usepackage[labelfont=bf]{caption}
\begin_layout Standard \begin_layout Standard
y problema resuelto. y problema resuelto.
\lang english
\begin_inset Foot
status collapsed
\begin_layout Standard
\lang english
For more commands provided by the
\series bold
caption
\series default
package, have a look at its documentation,
\begin_inset LatexCommand cite
key "caption"
\end_inset
.
\end_layout
\end_inset
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -25514,8 +25537,15 @@ reference "sub:Configuración"
\end_inset \end_inset
Habilita esta opción si la revisión no funciona con palabras que tienen
letras internacionales. \lang english
Only enable this if you use
\family typewriter
ispell
\family default
and can't spell check words with international letters in them.
\lang spanish
Ha habido informes de que no trabaja con todos los diccionarios, por eso Ha habido informes de que no trabaja con todos los diccionarios, por eso
está desmarcado por defecto. está desmarcado por defecto.
\end_layout \end_layout
@ -26132,43 +26162,37 @@ Configuración
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Elige idioma en el cuadro desplegable
\family sans
Idioma.
\lang english
Choose your language in the
\family sans
Language
\family default \family default
Por defecto es inglés. section of this dialog.
Puedes deslizar la lista hasta encontrar el que busques. The default is
\family sans
English
\family default
.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
El cuadro
\lang english
The
\family sans \family sans
Codificación Encoding
\family default \family default
permite seleccionar el mapa de caracteres. box lets you choose the character encoding map you want to use for LaTeX
Si seleccionas export.
The option
\family sans \family sans
LaTeX\InsetSpace ~ use language's default encoding
default
\family default \family default
o is the preferred choice and works well in most cases.
\family sans For details abhout the different encoding options see section
Usar\InsetSpace ~ \lang spanish
codificación\InsetSpace ~ \InsetSpace ~
predefinida\InsetSpace ~
del\InsetSpace ~
idioma
\family default
, se escoge la codificación que LaTeX usa por defecto para el idioma elegido,
p.\InsetSpace \thinspace{}
e.
para inglés es
\family sans
latin9
\family default
.
Las distintas codificaciones se explican en la sección\InsetSpace ~
\begin_inset LatexCommand ref \begin_inset LatexCommand ref
reference "sub:Configuración" reference "sub:Configuración"
@ -26178,62 +26202,6 @@ reference "sub:Configuración"
. .
\end_layout \end_layout
\begin_layout Standard
LyX también soporta salida Unicode, que es particularmente útil si necesitas
muchos símbolos especiales o caracteres no alfabéticos.
Si quieres usar esto (y tu instalación LaTeX soporta Unicode), la codificación
\family typewriter
utf8
\family default
es la más adecuada.
Hay algunas codificaciones Unicode adicionales para propósitos concretos:
\family typewriter
UTF8
\family default
y
\family typewriter
utf8x
\family default
para idiomas CJK (chino, japonés, coreano), y
\family typewriter
utf8-plain
\family default
para
\family sans
XeTeX
\family default
, que usa directamente Unicode, sin ayuda del paquete LaTeX
\series bold
inputenc
\series default
\begin_inset LatexCommand index
name "LaTeX-paquetes ! inputenc"
\end_inset
.
\begin_inset Foot
status open
\begin_layout Standard
Véase la sección\InsetSpace ~
\begin_inset LatexCommand ref
reference "sub:Configuración"
\end_inset
para los detalles.
\end_layout
\end_inset
\end_layout
\begin_layout Subsection \begin_layout Subsection
Configuración del mapa de teclado Configuración del mapa de teclado
\end_layout \end_layout
@ -32856,30 +32824,131 @@ name "Idioma ! Codificación"
\begin_layout Standard \begin_layout Standard
Aquí se determina el idioma del documento y estilo de las comillas. Aquí se determina el idioma del documento y estilo de las comillas.
La codificación es necesaria para poder escribir caracteres en el idioma
del documento. \lang english
Por ejemplo, caracteres acentuados sin tener que usar comandos LaTeX. The encoding specifies how the document content is exported to LaTeX (the
LyX file is always encoded in utf8).
All characters that cannot be encoded using the specified encoding will
be exported as LaTeX-commands (this can fail if a LaTeX-command is not
known for a particular character).
\begin_inset Foot
status collapsed
\begin_layout Standard
\lang english
The known commands are defined in a text file.
You can add commands for unknown symbols to that file yourself, see the
\emph on
Customization
\emph default
manual for details.
\end_layout
\end_inset
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
La codificación predefinida debería funcionar bien en casi todos los casos.
LyX escogerá la correcta automáticamente. \lang english
If you use the option
\family sans
use language's default encoding
\family default
, LyX determines the encoding of a portion of text from the language of
this text.
If the document contains text in more than one language you may get more
than one encoding in the LaTeX file.
If you do not use this option then the complete document will always use
exactly one encoding.
Checking this option is the preferred setting unless you use
\family sans
XeTeX
\family default
\begin_inset Foot
status collapsed
\begin_layout Standard
\lang english
XeTeX is a TeX typesetting engine, an alternative for LaTeX.
It natively supports Unicode while its input file is assumed to be in UTF-8
encoding.
More about using LyX with XeTeX can be found in
\begin_inset LatexCommand cite
key "XeTeX"
\end_inset
.
\end_layout
\end_inset
(see below).
\end_layout
\begin_layout Standard
\lang english
LyX also supports Unicode output, which is particularly useful if you need
lots of special symbols or non-alphabetic scripts, respectively.
If you want to use this (and your LaTeX installation supports Unicode,
for that matter), choose one of the four utf8 variants from the list below.
Unfortunately the unicode support of standard LaTeX is quite incomplete,
so it is not uncommon that a file with lots of unicode symbols works fine
with
\family sans
use language's default encoding
\family default
(when LyX uses it's list of known LaTeX-commands), but does not work with
a fixed utf8 encoding (when the list of known LaTeX-commands is ot used,
because all unicode symbols can be encoded in utf8).
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Las codificaciones disponibles son las siguientes: Las codificaciones disponibles son las siguientes:
\end_layout \end_layout
\begin_layout Standard \begin_layout Description
\end_layout \lang english
LaTeX\InsetSpace ~
default Same as
\family sans
use language's default encoding
\family default
, but the LaTeX-package
\lang spanish
\begin_layout Standard \series bold
inputenc
\series default
\begin_inset LatexCommand index
name "LaTeX-paquetes ! inputenc"
\end_inset
\lang english
is not used.
You probably need to load some other packages manually in the preamble.
\end_layout \end_layout
\begin_layout Description \begin_layout Description
amscii8 para armenio armscii8 para armenio
\end_layout
\begin_layout Description
ascii
\lang english
the ASCII encoding, covers only plain English, may result in a big file
because lots of LaTeX-commands may be needed
\end_layout \end_layout
\begin_layout Description \begin_layout Description
@ -32979,38 +33048,11 @@ pt154 cirílico para kazajo
\end_layout \end_layout
\begin_layout Description \begin_layout Description
utf8 código para unicode utf8 utf8
\end_layout \lang english
Unicode utf8 with the LaTeX-package
\lang spanish
\begin_layout Description
UTF8 código para los idiomas CJK (chino, japonés, coreano)
\end_layout
\begin_layout Description
utf8-plain código para ser usado con
\family sans
XeTeX
\family default
\begin_inset Foot
status collapsed
\begin_layout Standard
XeTeX es un programa de tipografía alternativo a LaTeX.
Soporta Unicode de forma nativa y asume que el archivo de entrada está
en UTF-8.
Más información sobre el uso de LyX con XeTeX en:
\begin_inset LatexCommand url
target "http://wiki.lyx.org/LyX/XeTeX"
\end_inset
\end_layout
\end_inset
, que usa Unicode directamente, sin necesidad del paquete LaTeX
\series bold \series bold
inputenc inputenc
\series default \series default
@ -33020,11 +33062,79 @@ name "LaTeX-paquetes ! inputenc"
\end_inset \end_inset
.
\lang english
(first variant, for latin symbols and some others).
\end_layout \end_layout
\begin_layout Description \begin_layout Description
utf8x código para los idiomas CJK utf8x
\lang english
Unicode utf8 with the LaTeX-package
\lang spanish
\series bold
inputenc
\series default
\lang english
(second variant, for greek and CJK symbols and some others).
\end_layout
\begin_layout Description
UTF8
\lang english
Unicode utf8 with the LaTeX-package
\lang spanish
\series bold
CJK
\series default
\begin_inset LatexCommand index
name "LaTeX-paquetes ! CJK"
\end_inset
\lang english
(for the languages Chinese, Japanese and Korean)
\end_layout
\begin_layout Description
utf8-plain
\lang english
Unicode utf8 to be used with
\family sans
XeTeX
\family default
, which uses Unicode directly, without the help of the LaTeX-package
\lang spanish
\series bold
inputenc
\series default
\lang english
\begin_inset Foot
status collapsed
\begin_layout Standard
\lang english
More about using LyX with XeTeX can be found in
\begin_inset LatexCommand cite
key "XeTeX"
\end_inset
.
\end_layout
\end_inset
\end_layout \end_layout
\begin_layout Subsubsection* \begin_layout Subsubsection*
@ -33146,10 +33256,6 @@ reference "sub:Colocación-de-flotantes"
. .
\end_layout \end_layout
\begin_layout Standard
\end_layout
\begin_layout Subsubsection* \begin_layout Subsubsection*
Marcas Marcas
\end_layout \end_layout
@ -33178,10 +33284,6 @@ reference "fn:N.-del-t.1:"
) )
\end_layout \end_layout
\begin_layout Standard
\end_layout
\begin_layout Subsubsection* \begin_layout Subsubsection*
Ramas Ramas
\end_layout \end_layout
@ -33231,14 +33333,6 @@ reference "sub:Latex-Sintaxis"
hay una introducción a la sintaxis de LaTeX. hay una introducción a la sintaxis de LaTeX.
\end_layout \end_layout
\begin_layout Subsubsection*
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Section \begin_layout Section
El menú Herramientas El menú Herramientas
\begin_inset LatexCommand index \begin_inset LatexCommand index
@ -37758,6 +37852,57 @@ target "http://www.tex.ac.uk/cgi-bin/texfaq2html"
\end_inset \end_inset
\end_layout
\begin_layout Bibliography
\begin_inset LatexCommand bibitem
key "caption"
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
\end_layout
\end_inset
Documentación
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
del paquete LaTeX
\series bold
caption
\series default
\begin_inset LatexCommand index
name "LaTeX-paquetes ! caption"
\end_inset
:
\newline
\begin_inset LatexCommand url
target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
\end_inset
\end_layout \end_layout
\begin_layout Bibliography \begin_layout Bibliography
@ -37964,6 +38109,55 @@ target "http://www.ctan.org/tex-archive/fonts/tipa/tipaman.pdf"
\end_inset \end_inset
\end_layout
\begin_layout Bibliography
\begin_inset LatexCommand bibitem
key "XeTeX"
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
href{http://wiki.lyx.org/LyX/XeTeX}{
\end_layout
\end_inset
Página Wiki
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
\end_inset
\lang english
how to use LyX with
\lang spanish
\family sans
XeTeX
\family default
:
\newline
\begin_inset LatexCommand url
target "http://wiki.lyx.org/LyX/XeTeX"
\end_inset
\end_layout \end_layout
\begin_layout Bibliography \begin_layout Bibliography