Add some notes about ipa with fontspec.

This commit is contained in:
Juergen Spitzmueller 2017-02-21 10:31:31 +01:00
parent b9d45e5ef6
commit cdc9176949
5 changed files with 613 additions and 17 deletions

View File

@ -1902,11 +1902,10 @@ key "tipa"
\end_inset
installiert haben.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Wenn Sie Xe\SpecialChar TeX
Es wird von \SpecialChar LyX
automatisch geladen, wenn Sie dem unten beschriebenen Vorgehen
folgen.
Wenn Sie Xe\SpecialChar TeX
oder Lua\SpecialChar TeX
verwenden (und
\begin_inset Quotes gld
@ -1923,13 +1922,89 @@ Dokument\SpecialChar menuseparator
Einstellungen\SpecialChar menuseparator
Schriften
\family default
aktiviert haben), brauchen Sie kein zusätzliches Paket.
aktiviert haben), wird statt dessen das Paket
\emph on
xunicode
\emph default
geladen, da
\emph on
tipa
\emph default
in diesem Fall nicht funktioniert.
Das Paket
\emph on
xunicode
\emph default
emuliert die Ausgabe von
\emph on
tipa
\emph default
, ist aber nicht perfekt, so dass die Ausgabe möglicherweise nicht wie erwartet
ist.
Außerdem müssen Sie in diesem Fall darauf achten, dass die Nicht-\SpecialChar TeX
-Schrift
die IPA-Symbole auch enthält (empfehlenswert sind Schriften wie
\emph on
CMU Serif
\emph default
oder
\emph on
SIL Doulos
\emph default
).
Sie können auch eine Schrift nur für IPA definieren, indem sie das Folgende
in
\family sans
Dokument\SpecialChar menuseparator
Einstellungen\SpecialChar menuseparator
LaTeX-Vorspann
\family default
eingeben:
\end_layout
\begin_layout Standard
\begin_inset listings
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
inline false
status open
\begin_layout Plain Layout
\backslash
AtBeginDocument{%
\end_layout
\begin_layout Plain Layout
\backslash
newfontfamily{
\backslash
ipafont}{CMU Serif}% oder eine ander Schriftart
\end_layout
\begin_layout Plain Layout
\backslash
def
\backslash
useTIPAfont{
\backslash
ipafont}
\end_layout
\begin_layout Plain Layout
}
\end_layout
\end_inset
Für eine direkte Vorschau der IPA-Symbole im Arbeitsfenster sollten Sie
weiterhin das
Für eine direkte Vorschau der IPA-Symbole im Arbeitsfenster sollten Sie
weiterhin (egal, welche der oben beschriebenen Ausgabeformate Sie verwenden)
das
\emph on
preview-latex
\emph default

View File

@ -1966,6 +1966,156 @@ key "preview"
\end_inset
.
\begin_inset Note Note
status open
\begin_layout Plain Layout
\lang english
If you use traditional \SpecialChar LaTeX
or PDF\SpecialChar LaTeX
, a prerequisite to use \SpecialChar LyX
's IPA support is
the \SpecialChar LaTeX
package
\emph on
tipa
\emph default
\begin_inset CommandInset citation
LatexCommand cite
key "tipa"
\end_inset
, which is automatically loaded by \SpecialChar LyX
if you follow the procedure described
below.
If you use Xe\SpecialChar TeX
or Lua\SpecialChar TeX
(i.
\begin_inset space \thinspace{}
\end_inset
e., if you have clicked
\begin_inset Quotes eld
\end_inset
Use non-\SpecialChar TeX
fonts
\begin_inset Quotes erd
\end_inset
in
\family sans
Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
Fonts
\family default
), the package
\emph on
xunicode
\emph default
is loaded instead (since
\emph on
tipa
\emph default
does not work in this context).
The
\emph on
xunicode
\emph default
package emulates the
\emph on
tipa
\emph default
output, but is not perfect at that, so some things might not look as expected.
Furthermore, you need to take care in this case to use a non-TeX font that
includes the IPA glyphs (such as
\emph on
CMU Serif
\emph default
or
\emph on
SIL Doulos
\emph default
).
You can also specify an extra font only for IPA by adding the following
to
\family sans
Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
LaTeX Preamble
\family default
:
\end_layout
\begin_layout Plain Layout
\lang english
\begin_inset listings
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
inline false
status open
\begin_layout Plain Layout
\backslash
AtBeginDocument{%
\end_layout
\begin_layout Plain Layout
\backslash
newfontfamily{
\backslash
ipafont}{CMU Serif}% or another font
\end_layout
\begin_layout Plain Layout
\backslash
def
\backslash
useTIPAfont{
\backslash
ipafont}
\end_layout
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\lang english
Additionally, and independent from which of the above approaches you use,
if you want to have instant preview, you should have the
\emph on
preview-latex
\emph default
package
\begin_inset CommandInset citation
LatexCommand cite
key "preview"
\end_inset
installed.
\end_layout
\end_inset
\end_layout
\begin_layout Standard

View File

@ -1933,6 +1933,156 @@ key "preview"
\end_inset
soit installé.
\begin_inset Note Note
status open
\begin_layout Plain Layout
\lang english
If you use traditional \SpecialChar LaTeX
or PDF\SpecialChar LaTeX
, a prerequisite to use \SpecialChar LyX
's IPA support is
the \SpecialChar LaTeX
package
\emph on
tipa
\emph default
\begin_inset CommandInset citation
LatexCommand cite
key "tipa"
\end_inset
, which is automatically loaded by \SpecialChar LyX
if you follow the procedure described
below.
If you use Xe\SpecialChar TeX
or Lua\SpecialChar TeX
(i.
\begin_inset space \thinspace{}
\end_inset
e., if you have clicked
\begin_inset Quotes eld
\end_inset
Use non-\SpecialChar TeX
fonts
\begin_inset Quotes erd
\end_inset
in
\family sans
Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
Fonts
\family default
), the package
\emph on
xunicode
\emph default
is loaded instead (since
\emph on
tipa
\emph default
does not work in this context).
The
\emph on
xunicode
\emph default
package emulates the
\emph on
tipa
\emph default
output, but is not perfect at that, so some things might not look as expected.
Furthermore, you need to take care in this case to use a non-TeX font that
includes the IPA glyphs (such as
\emph on
CMU Serif
\emph default
or
\emph on
SIL Doulos
\emph default
).
You can also specify an extra font only for IPA by adding the following
to
\family sans
Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
LaTeX Preamble
\family default
:
\end_layout
\begin_layout Plain Layout
\lang english
\begin_inset listings
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
inline false
status open
\begin_layout Plain Layout
\backslash
AtBeginDocument{%
\end_layout
\begin_layout Plain Layout
\backslash
newfontfamily{
\backslash
ipafont}{CMU Serif}% or another font
\end_layout
\begin_layout Plain Layout
\backslash
def
\backslash
useTIPAfont{
\backslash
ipafont}
\end_layout
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\lang english
Additionally, and independent from which of the above approaches you use,
if you want to have instant preview, you should have the
\emph on
preview-latex
\emph default
package
\begin_inset CommandInset citation
LatexCommand cite
key "preview"
\end_inset
installed.
\end_layout
\end_inset
\end_layout
\begin_layout Standard

View File

@ -1099,6 +1099,156 @@ key "preview"
\end_inset
\begin_inset Note Note
status open
\begin_layout Plain Layout
\lang english
If you use traditional \SpecialChar LaTeX
or PDF\SpecialChar LaTeX
, a prerequisite to use \SpecialChar LyX
's IPA support is
the \SpecialChar LaTeX
package
\emph on
tipa
\emph default
\begin_inset CommandInset citation
LatexCommand cite
key "tipa"
\end_inset
, which is automatically loaded by \SpecialChar LyX
if you follow the procedure described
below.
If you use Xe\SpecialChar TeX
or Lua\SpecialChar TeX
(i.
\begin_inset space \thinspace{}
\end_inset
e., if you have clicked
\begin_inset Quotes eld
\end_inset
Use non-\SpecialChar TeX
fonts
\begin_inset Quotes erd
\end_inset
in
\family sans
Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
Fonts
\family default
), the package
\emph on
xunicode
\emph default
is loaded instead (since
\emph on
tipa
\emph default
does not work in this context).
The
\emph on
xunicode
\emph default
package emulates the
\emph on
tipa
\emph default
output, but is not perfect at that, so some things might not look as expected.
Furthermore, you need to take care in this case to use a non-TeX font that
includes the IPA glyphs (such as
\emph on
CMU Serif
\emph default
or
\emph on
SIL Doulos
\emph default
).
You can also specify an extra font only for IPA by adding the following
to
\family sans
Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
LaTeX Preamble
\family default
:
\end_layout
\begin_layout Plain Layout
\lang english
\begin_inset listings
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
inline false
status open
\begin_layout Plain Layout
\backslash
AtBeginDocument{%
\end_layout
\begin_layout Plain Layout
\backslash
newfontfamily{
\backslash
ipafont}{CMU Serif}% or another font
\end_layout
\begin_layout Plain Layout
\backslash
def
\backslash
useTIPAfont{
\backslash
ipafont}
\end_layout
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\lang english
Additionally, and independent from which of the above approaches you use,
if you want to have instant preview, you should have the
\emph on
preview-latex
\emph default
package
\begin_inset CommandInset citation
LatexCommand cite
key "preview"
\end_inset
installed.
\end_layout
\end_inset
を導入しておかなくてはなりません。
\end_layout

View File

@ -1880,12 +1880,10 @@ key "tipa"
\end_inset
.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
If you use Xe\SpecialChar TeX
, which is automatically loaded by \SpecialChar LyX
if you follow the procedure described
below.
If you use Xe\SpecialChar TeX
or Lua\SpecialChar TeX
(i.
\begin_inset space \thinspace{}
@ -1906,13 +1904,86 @@ Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
Fonts
\family default
), no extra package is needed.
), the package
\emph on
xunicode
\emph default
is loaded instead (since
\emph on
tipa
\emph default
does not work in this context).
The
\emph on
xunicode
\emph default
package emulates the
\emph on
tipa
\emph default
output, but is not perfect at that, so some things might not look as expected.
Furthermore, you need to take care in this case to use a non-TeX font that
includes the IPA glyphs (such as
\emph on
CMU Serif
\emph default
or
\emph on
SIL Doulos
\emph default
).
You can also specify an extra font only for IPA by adding the following
to
\family sans
Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
LaTeX Preamble
\family default
:
\end_layout
\begin_layout Standard
\begin_inset listings
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
inline false
status open
\begin_layout Plain Layout
\backslash
AtBeginDocument{%
\end_layout
\begin_layout Plain Layout
\backslash
newfontfamily{
\backslash
ipafont}{CMU Serif}% or another font
\end_layout
\begin_layout Plain Layout
\backslash
def
\backslash
useTIPAfont{
\backslash
ipafont}
\end_layout
\begin_layout Plain Layout
}
\end_layout
\end_inset
Additionally, if you want to have instant preview, you should have the
Additionally, and independent from which of the above approaches you use,
if you want to have instant preview, you should have the
\emph on
preview-latex
\emph default