From: Juergen Spitzmueller Date: Tue, 21 Feb 2017 09:31:31 +0000 (+0100) Subject: Add some notes about ipa with fontspec. X-Git-Tag: 2.3.0alpha1~341 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=cdc9176949cf019afe9c7530b76afe8d63a4a25f;p=features.git Add some notes about ipa with fontspec. --- diff --git a/lib/examples/de/linguistics.lyx b/lib/examples/de/linguistics.lyx index fb952d4f91..cb05ab703c 100644 --- a/lib/examples/de/linguistics.lyx +++ b/lib/examples/de/linguistics.lyx @@ -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 diff --git a/lib/examples/es/linguistics.lyx b/lib/examples/es/linguistics.lyx index 41ed8c6259..9ecb243344 100644 --- a/lib/examples/es/linguistics.lyx +++ b/lib/examples/es/linguistics.lyx @@ -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 diff --git a/lib/examples/fr/linguistics.lyx b/lib/examples/fr/linguistics.lyx index f6196ff1d8..0ecff772bf 100644 --- a/lib/examples/fr/linguistics.lyx +++ b/lib/examples/fr/linguistics.lyx @@ -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 diff --git a/lib/examples/ja/linguistics.lyx b/lib/examples/ja/linguistics.lyx index 7487b80a61..8601cce9cb 100644 --- a/lib/examples/ja/linguistics.lyx +++ b/lib/examples/ja/linguistics.lyx @@ -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 diff --git a/lib/examples/linguistics.lyx b/lib/examples/linguistics.lyx index d143374e49..786d8e1646 100644 --- a/lib/examples/linguistics.lyx +++ b/lib/examples/linguistics.lyx @@ -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