]> git.lyx.org Git - features.git/commitdiff
ctest update.
authorGünter Milde <milde@lyx.org>
Mon, 13 May 2019 08:41:45 +0000 (10:41 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:29 +0000 (15:48 +0200)
autotests/export/latex/11532-misplaced-inputenc-switch.lyx [new file with mode: 0644]
autotests/export/latex/languages/supported-languages_polyglossia.lyx
autotests/export/latex/luainputenc-utf8.lyx
autotests/export/latex/misplaced-inputenc-switch.lyx [deleted file]
autotests/export/latex/xetex-inputenc-utf8.lyx
development/autotests/invertedTests

diff --git a/autotests/export/latex/11532-misplaced-inputenc-switch.lyx b/autotests/export/latex/11532-misplaced-inputenc-switch.lyx
new file mode 100644 (file)
index 0000000..9462c6c
--- /dev/null
@@ -0,0 +1,219 @@
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 569
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin unavailable
+\textclass article
+\use_default_options false
+\maintain_unincluded_children false
+\language english
+\language_package default
+\inputencoding auto
+\fontencoding auto
+\font_roman "lmodern" "DejaVu Serif"
+\font_sans "default" "DejaVu Sans"
+\font_typewriter "default" "DejaVu Sans Mono"
+\font_math "auto" "auto"
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures true
+\graphics default
+\default_output_format pdf2
+\output_sync 0
+\bibtex_command default
+\index_command default
+\float_placement class
+\float_alignment class
+\paperfontsize default
+\spacing single
+\use_hyperref false
+\pdf_bookmarks false
+\pdf_bookmarksnumbered false
+\pdf_bookmarksopen false
+\pdf_bookmarksopenlevel 1
+\pdf_breaklinks false
+\pdf_pdfborder true
+\pdf_colorlinks true
+\pdf_backref section
+\pdf_pdfusetitle true
+\papersize a4paper
+\use_geometry false
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 1
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 1
+\use_package mhchem 1
+\use_package stackrel 1
+\use_package stmaryrd 1
+\use_package undertilde 1
+\cite_engine basic
+\cite_engine_type default
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\use_minted 0
+\index Stichwortverzeichnis
+\shortcut idx
+\color #008000
+\end_index
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\tablestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Standard
+\begin_inset CommandInset href
+LatexCommand href
+name "LyX-Bug #11532"
+target "https://www.lyx.org/trac/ticket/11532"
+literal "false"
+
+\end_inset
+
+: Sometimes, an inputencoding switch is limited to a group by LaTeX but
+ LyX does not take this into account and subsequent non-ASCII characters
+ fail.
+\end_layout
+
+\begin_layout Subsection*
+Example
+\end_layout
+
+\begin_layout Standard
+Paragraph in Cyrillic followed by 
+\emph on
+Description
+\emph default
+ list:
+\end_layout
+
+\begin_layout Standard
+
+\emph on
+\lang bulgarian
+Бъ̀лгарският езѝк
+\emph default
+ е индоевропейски език от групата на южнославянските езици.
+\end_layout
+
+\begin_layout Description
+term
+\begin_inset space ~
+\end_inset
+
+with
+\begin_inset space ~
+\end_inset
+
+inputenc
+\begin_inset space ~
+\end_inset
+
+latin9 Definition: LyX assumes input encoding latin9, but for LaTeX it is
+ again cp1251! 
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+Da kommt größter Mist raus! cp1251 misses ð and Þ
+\end_layout
+
+\begin_layout Standard
+If a new language in a nested paragraph uses the same inputencoding as the
+ current language, there is still no switch: 
+\emph on
+\lang icelandic
+Íslenska
+\emph default
+ er talað og ritað á Íslandi.
+\end_layout
+
+\end_deeper
+\begin_layout Standard
+After the list, the inputencoding is set accordingly:
+\end_layout
+
+\begin_layout Standard
+latin9 supports ð and Þ.
+\end_layout
+
+\begin_layout Subsection*
+Example 2
+\end_layout
+
+\begin_layout Standard
+Paragraph in Cyrillic followed by 
+\emph on
+Labeling
+\emph default
+ list:
+\end_layout
+
+\begin_layout Standard
+
+\emph on
+\lang bulgarian
+Бъ̀лгарският езѝк
+\emph default
+ е индоевропейски език.
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+term LyX assumes inputencoding latin9, but for LaTeX it is again cp1251!
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+Da kommt größter Mist raus! cp1251 misses ð and Þ
+\end_layout
+
+\begin_layout Standard
+If a new language in a nested paragraph uses the same inputencoding as the
+ current language, there is still no switch: 
+\emph on
+\lang icelandic
+Íslenska
+\emph default
+ er talað og ritað á Íslandi.
+\end_layout
+
+\end_deeper
+\begin_layout Standard
+After the list, the inputencoding is set accordingly:
+\end_layout
+
+\begin_layout Standard
+latin9 supports ð and Þ.
+\end_layout
+
+\end_body
+\end_document
index 07f06b089029a8c45a3c6d848970a64a1943dcab..ba92bcdc66b2e16baf1ebbf6a5a5fd51121af596 100644 (file)
 \begin_body
 
 \begin_layout Title
-Languages supported by LyX.
+Languages supported by LyX
 \end_layout
 
 \begin_layout Standard
index 14e4c6b02df7ef9ea96e9e97d45ba9fe5b5f5302..764fbc52bb6849103b9ec60bf5bf9313eddce0e6 100644 (file)
@@ -16,7 +16,7 @@ logicalmkup
 \language english
 \language_package default
 \inputencoding utf8
-\fontencoding auto
+\fontencoding HE8,T1
 \font_roman "lmodern" "FreeSerif"
 \font_sans "default" "FreeSans"
 \font_typewriter "default" "FreeMono"
@@ -200,6 +200,53 @@ literal "false"
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+fontencoding{HE8}
+\backslash
+selectfont
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset include
+LatexCommand input
+filename "unicodesymbols/012-hebrew_HE8.lyx"
+literal "false"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+fontencoding{T1}
+\backslash
+selectfont
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
diff --git a/autotests/export/latex/misplaced-inputenc-switch.lyx b/autotests/export/latex/misplaced-inputenc-switch.lyx
deleted file mode 100644 (file)
index 9462c6c..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-#LyX 2.4 created this file. For more info see https://www.lyx.org/
-\lyxformat 569
-\begin_document
-\begin_header
-\save_transient_properties true
-\origin unavailable
-\textclass article
-\use_default_options false
-\maintain_unincluded_children false
-\language english
-\language_package default
-\inputencoding auto
-\fontencoding auto
-\font_roman "lmodern" "DejaVu Serif"
-\font_sans "default" "DejaVu Sans"
-\font_typewriter "default" "DejaVu Sans Mono"
-\font_math "auto" "auto"
-\font_default_family default
-\use_non_tex_fonts false
-\font_sc false
-\font_osf false
-\font_sf_scale 100 100
-\font_tt_scale 100 100
-\use_microtype false
-\use_dash_ligatures true
-\graphics default
-\default_output_format pdf2
-\output_sync 0
-\bibtex_command default
-\index_command default
-\float_placement class
-\float_alignment class
-\paperfontsize default
-\spacing single
-\use_hyperref false
-\pdf_bookmarks false
-\pdf_bookmarksnumbered false
-\pdf_bookmarksopen false
-\pdf_bookmarksopenlevel 1
-\pdf_breaklinks false
-\pdf_pdfborder true
-\pdf_colorlinks true
-\pdf_backref section
-\pdf_pdfusetitle true
-\papersize a4paper
-\use_geometry false
-\use_package amsmath 1
-\use_package amssymb 1
-\use_package cancel 1
-\use_package esint 1
-\use_package mathdots 1
-\use_package mathtools 1
-\use_package mhchem 1
-\use_package stackrel 1
-\use_package stmaryrd 1
-\use_package undertilde 1
-\cite_engine basic
-\cite_engine_type default
-\biblio_style plain
-\use_bibtopic false
-\use_indices false
-\paperorientation portrait
-\suppress_date false
-\justification true
-\use_refstyle 0
-\use_minted 0
-\index Stichwortverzeichnis
-\shortcut idx
-\color #008000
-\end_index
-\secnumdepth 3
-\tocdepth 3
-\paragraph_separation indent
-\paragraph_indentation default
-\is_math_indent 0
-\math_numbering_side default
-\quotes_style english
-\dynamic_quotes 0
-\papercolumns 1
-\papersides 1
-\paperpagestyle default
-\tablestyle default
-\tracking_changes false
-\output_changes false
-\html_math_output 0
-\html_css_as_file 0
-\html_be_strict false
-\end_header
-
-\begin_body
-
-\begin_layout Standard
-\begin_inset CommandInset href
-LatexCommand href
-name "LyX-Bug #11532"
-target "https://www.lyx.org/trac/ticket/11532"
-literal "false"
-
-\end_inset
-
-: Sometimes, an inputencoding switch is limited to a group by LaTeX but
- LyX does not take this into account and subsequent non-ASCII characters
- fail.
-\end_layout
-
-\begin_layout Subsection*
-Example
-\end_layout
-
-\begin_layout Standard
-Paragraph in Cyrillic followed by 
-\emph on
-Description
-\emph default
- list:
-\end_layout
-
-\begin_layout Standard
-
-\emph on
-\lang bulgarian
-Бъ̀лгарският езѝк
-\emph default
- е индоевропейски език от групата на южнославянските езици.
-\end_layout
-
-\begin_layout Description
-term
-\begin_inset space ~
-\end_inset
-
-with
-\begin_inset space ~
-\end_inset
-
-inputenc
-\begin_inset space ~
-\end_inset
-
-latin9 Definition: LyX assumes input encoding latin9, but for LaTeX it is
- again cp1251! 
-\end_layout
-
-\begin_deeper
-\begin_layout Standard
-Da kommt größter Mist raus! cp1251 misses ð and Þ
-\end_layout
-
-\begin_layout Standard
-If a new language in a nested paragraph uses the same inputencoding as the
- current language, there is still no switch: 
-\emph on
-\lang icelandic
-Íslenska
-\emph default
- er talað og ritað á Íslandi.
-\end_layout
-
-\end_deeper
-\begin_layout Standard
-After the list, the inputencoding is set accordingly:
-\end_layout
-
-\begin_layout Standard
-latin9 supports ð and Þ.
-\end_layout
-
-\begin_layout Subsection*
-Example 2
-\end_layout
-
-\begin_layout Standard
-Paragraph in Cyrillic followed by 
-\emph on
-Labeling
-\emph default
- list:
-\end_layout
-
-\begin_layout Standard
-
-\emph on
-\lang bulgarian
-Бъ̀лгарският езѝк
-\emph default
- е индоевропейски език.
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-term LyX assumes inputencoding latin9, but for LaTeX it is again cp1251!
-\end_layout
-
-\begin_deeper
-\begin_layout Standard
-Da kommt größter Mist raus! cp1251 misses ð and Þ
-\end_layout
-
-\begin_layout Standard
-If a new language in a nested paragraph uses the same inputencoding as the
- current language, there is still no switch: 
-\emph on
-\lang icelandic
-Íslenska
-\emph default
- er talað og ritað á Íslandi.
-\end_layout
-
-\end_deeper
-\begin_layout Standard
-After the list, the inputencoding is set accordingly:
-\end_layout
-
-\begin_layout Standard
-latin9 supports ð and Þ.
-\end_layout
-
-\end_body
-\end_document
index 0f0b6dd6cef73454d1aca482797670cffd1cdc41..b48ee657bd71dbf3c193af4adc7dd907501d97d4 100644 (file)
@@ -13,7 +13,7 @@
 \language english
 \language_package default
 \inputencoding utf8
-\fontencoding auto
+\fontencoding HE8,T1
 \font_roman "lmodern" "FreeSerif"
 \font_sans "default" "FreeSans"
 \font_typewriter "default" "FreeMono"
@@ -203,29 +203,65 @@ literal "false"
 \end_layout
 
 \begin_layout Standard
-\begin_inset Note Note
+\begin_inset ERT
 status open
 
 \begin_layout Plain Layout
+
+
+\backslash
+fontencoding{HE8}
+\backslash
+selectfont
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
 \begin_inset CommandInset include
 LatexCommand input
-filename "unicodesymbols/012-hebrew_he.lyx"
+filename "unicodesymbols/012-hebrew_HE8.lyx"
 literal "false"
 
 \end_inset
 
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+fontencoding{T1}
+\backslash
+selectfont
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
 \begin_layout Plain Layout
 \begin_inset CommandInset include
 LatexCommand input
-filename "unicodesymbols/012-hebrew_he_HE8.lyx"
+filename "unicodesymbols/012-hebrew_he.lyx"
 literal "false"
 
 \end_inset
 
-
 \end_layout
 
 \begin_layout Plain Layout
index f3b3581ad2e6a71d99d4ab28033388b3f6102630..219c4f597534ed8cad834daca722892ed03a5e99 100644 (file)
@@ -184,7 +184,7 @@ export/doc/ar/UserGuide_lyx(22|23)
 # export/doc/ar/Intro_pdf4_systemF
 
 #11532 inputencoding desynchronisation
-export/export/latex/misplaced-inputenc-switch_pdf2
+export/export/latex/11532-misplaced-inputenc-switch_pdf2
 
 
 # ==============================================================