]> git.lyx.org Git - features.git/commitdiff
Document languages with new polyglossia support.
authorGünter Milde <milde@lyx.org>
Fri, 12 Apr 2019 16:34:06 +0000 (18:34 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:25 +0000 (15:48 +0200)
autotests/export/latex/supported-languages.lyx
lib/languages

index 58c855e78dbee7ff4e59e089b97e312b704a75af..d3f24c738faa9b594abda1a1c142b47202348370 100644 (file)
@@ -578,6 +578,20 @@ status open
 
 \end_layout
 
+\begin_layout Subsection*
+Bengali
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+LyX (LyX support missing)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+Polyglossia bengali
+\end_layout
+
 \begin_layout Subsection*
 Bosnian
 \end_layout
@@ -926,6 +940,20 @@ The different CJK languages (simplified and traditional Chinese, Japanese,
  the preamble.
 \end_layout
 
+\begin_layout Subsection*
+Churchslavonic
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+LyX (LyX support missing)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+Polyglossia churchslavonic
+\end_layout
+
 \begin_layout Subsection*
 Coptic
 \end_layout
@@ -2456,7 +2484,7 @@ LangCode kk_KZ
 \end_layout
 
 \begin_layout Itemize
-Not supported by Babel nor Polyglossia, setting text to 
+Not supported by Babel nor Polyglossia, marking text as 
 \begin_inset Quotes eld
 \end_inset
 
@@ -2485,7 +2513,8 @@ Setting text to this language has only effect on spell-checking
 \end_layout
 
 \begin_layout Itemize
-For documents in Kazakh only, you may replace LyX's auto-wrapper in 
+For documents using only Cyrillic (and basic Latin) letters, you may get
+ rid of the auto-inserted 
 \begin_inset Quotes eld
 \end_inset
 
@@ -2493,7 +2522,7 @@ textcyrillic
 \begin_inset Quotes erd
 \end_inset
 
- by setting the document font encoding to 
commands by setting the document font encoding to 
 \begin_inset Quotes eld
 \end_inset
 
@@ -2552,16 +2581,6 @@ LyX korean
 Polyglossia korean (LyX support missing)
 \end_layout
 
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-Encoding euc-kr
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-QuoteStyle cjkangle
-\end_layout
-
 \begin_layout Labeling
 \labelwidthstring 00.00.0000
 LangCode ko_KR
@@ -3340,6 +3359,20 @@ inputencoding{ut8} seems to be an exception requiring an explicit re-set.
  
 \end_layout
 
+\begin_layout Subsection*
+N'ko
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+LyX (LyX support missing)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+Polyglossia nko
+\end_layout
+
 \begin_layout Subsection*
 Norwegian
 \end_layout
index 583ed89ed6244cc7a074f44a2b6d7920b02d8f0e..7b91b57b8cdecdfb6cf96362ea540871dc2ebd52 100644 (file)
@@ -201,20 +201,20 @@ End
 # In Babel, this is supported since v. 1.8a of babel-greek (2013-12-03)
 # We introduce it with LyX 2.2 to give the support time to settle.
 Language ancientgreek
-       GuiName           "Greek (ancient)"
-       BabelName         greek
+       GuiName          "Greek (ancient)"
+       BabelName        greek
        PostBabelPreamble
        \languageattribute{greek}{ancient}
        EndPostBabelPreamble
-       PolyglossiaName   greek
-       PolyglossiaOpts   "variant=ancient"
-       QuoteStyle        french
-       Encoding          iso8859-7
-       InternalEncoding  true
-       FontEncoding      LGR
+       PolyglossiaName  greek
+       PolyglossiaOpts  "variant=ancient"
+       QuoteStyle       french
+       Encoding         iso8859-7
+       InternalEncoding true
+       FontEncoding     LGR
        DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
-       LangCode          grc_GR
-       Provides          textgreek
+       LangCode         grc_GR
+       Provides         textgreek
 End
 
 # FIXME: dummy babel language for arabic_arabtex to be able
@@ -361,6 +361,10 @@ Language belarusian
        LangCode         be_BY
 End
 
+# supported by polyglossia but not LyX:
+# Language bengali
+#      PolyglossiaName  bengali
+
 # not yet supported by polyglossia
 # The (rarely used) Cyrillic script is not supported (try serbian).
 Language bosnian
@@ -484,6 +488,10 @@ Language chinese-traditional
        Requires         CJK
 End
 
+# supported by polyglossia but not LyX:
+# Language churchslavonic
+#      PolyglossiaName  churchslavonic
+
 # not supported by babel
 # FIXME DateFormats
 Language coptic
@@ -735,52 +743,52 @@ Language german-ch-old
 End
 
 Language greek
-       GuiName           "Greek"
-       HasGuiSupport     true
-       BabelName         greek
-       PolyglossiaName   greek
-       PolyglossiaOpts   "variant=monotonic"
-       QuoteStyle        french
-       Encoding          iso8859-7
-       InternalEncoding  true
-       FontEncoding      LGR
+       GuiName          "Greek"
+       HasGuiSupport    true
+       BabelName        greek
+       PolyglossiaName  greek
+       PolyglossiaOpts  "variant=monotonic"
+       QuoteStyle       french
+       Encoding         iso8859-7
+       InternalEncoding true
+       FontEncoding     LGR
        DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
-       LangCode          el_GR
-       Provides          textgreek
+       LangCode         el_GR
+       Provides         textgreek
 End
 
 Language polutonikogreek
-       GuiName           "Greek (polytonic)"
-       BabelName         polutonikogreek
-       PolyglossiaName   greek
-       PolyglossiaOpts   "variant=polytonic"
-       QuoteStyle        french
-       Encoding          iso8859-7
-       InternalEncoding  true
-       FontEncoding      LGR
+       GuiName          "Greek (polytonic)"
+       BabelName        polutonikogreek
+       PolyglossiaName  greek
+       PolyglossiaOpts  "variant=polytonic"
+       QuoteStyle       french
+       Encoding         iso8859-7
+       InternalEncoding true
+       FontEncoding     LGR
        DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
-       LangCode          el_GR
-       Provides          textgreek
+       LangCode         el_GR
+       Provides         textgreek
 End
 
 Language hebrew
-       GuiName           "Hebrew"
-       HasGuiSupport     true
-       BabelName         hebrew
-       PolyglossiaName   hebrew
-       Encoding          cp1255
-       QuoteStyle        english
-       InternalEncoding  true
+       GuiName          "Hebrew"
+       HasGuiSupport    true
+       BabelName        hebrew
+       PolyglossiaName  hebrew
+       Encoding         cp1255
+       QuoteStyle       english
+       InternalEncoding true
        # babel-hebrew expects the encoding for *other* languages last:
-       # FontEncoding      HE8
+       # FontEncoding    HE8
        # Define the font encoding the babel-hebrew way and
        # work around too simple test for article-like classes in rlbabel.def.
        PreBabelPreamble
          \providecommand{\l@chapter}{\relax}
        EndPreBabelPreamble
        DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
-       RTL               true
-       LangCode          he_IL
+       RTL              true
+       LangCode         he_IL
 End
 
 # not supported by babel
@@ -971,7 +979,7 @@ Language lithuanian
        QuoteStyle       german
        Encoding         iso8859-13
        FontEncoding     L7x
-       # L7x defines \copyright as TextSymbol which leads to an endless loop 
+       # L7x defines \copyright as TextSymbol which leads to an endless loop
         # when it is used in other font encodings.
        PostBabelPreamble
          % restore \coyright definition corrupted by l7xenc.def
@@ -1073,6 +1081,11 @@ Language norsk
        LangCode         nb_NO
 End
 
+# supported by polyglossia but not LyX:
+# Language nko
+#      GuiName         "N’Ko"            
+#      PolyglossiaName nko
+
 Language nynorsk
        GuiName          "Norwegian (Nynorsk)"
        HasGuiSupport    true