]> git.lyx.org Git - features.git/commitdiff
ctests: update test tagging/categorization and export test for accents on Cyrillic...
authorGünter Milde <milde@lyx.org>
Mon, 14 Jan 2019 11:21:34 +0000 (12:21 +0100)
committerGünter Milde <milde@lyx.org>
Mon, 14 Jan 2019 11:21:34 +0000 (12:21 +0100)
autotests/export/latex/cyrillic-accent-ascii.lyx [new file with mode: 0644]
autotests/export/latex/ru-accent-ascii.lyx
development/autotests/invertedTests
development/autotests/unreliableTests

diff --git a/autotests/export/latex/cyrillic-accent-ascii.lyx b/autotests/export/latex/cyrillic-accent-ascii.lyx
new file mode 100644 (file)
index 0000000..a9d7f44
--- /dev/null
@@ -0,0 +1,165 @@
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 566
+\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 ascii
+\fontencoding auto
+\font_roman "lmodern" "DejaVu Serif"
+\font_sans "lmss" "DejaVu Sans"
+\font_typewriter "lmtt" "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 12
+\spacing single
+\use_hyperref false
+\pdf_title "Введение в LyX"
+\pdf_author "LyX Team"
+\pdf_subject "LyX-documentation Intro"
+\pdf_keywords "LyX, documentation"
+\pdf_bookmarks true
+\pdf_bookmarksnumbered true
+\pdf_bookmarksopen true
+\pdf_bookmarksopenlevel 2
+\pdf_breaklinks false
+\pdf_pdfborder false
+\pdf_colorlinks true
+\pdf_backref false
+\pdf_pdfusetitle false
+\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
+\papersize a4paper
+\use_geometry false
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 0
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type default
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date false
+\justification false
+\use_refstyle 0
+\use_minted 0
+\index Предметный указатель
+\shortcut idx
+\color #008000
+\end_index
+\secnumdepth 3
+\tocdepth 2
+\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
+\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
+Accented cyrillic characters still fail if the input encoding is ASCII and
+ the current language not using a cyrillic script (i.e.
+ if the 
+\begin_inset Quotes eld
+\end_inset
+
+
+\backslash
+textcyr
+\begin_inset Quotes erd
+\end_inset
+
+ feature is required), both ERT
+\end_layout
+
+\begin_layout Quotation
+Вы узн
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+'
+\end_layout
+
+\end_inset
+
+аете, как использовать LyX.
+\end_layout
+
+\begin_layout Standard
+and Combining chars
+\end_layout
+
+\begin_layout Quotation
+Вы узна́ете, как использовать LyX.
+\end_layout
+
+\begin_layout Standard
+(cf.
+\begin_inset Flex URL
+status open
+
+\begin_layout Plain Layout
+
+http://www.lyx.org/trac/ticket/9637
+\end_layout
+
+\end_inset
+
+ and 
+\begin_inset Flex URL
+status open
+
+\begin_layout Plain Layout
+
+http://www.lyx.org/trac/ticket/6463
+\end_layout
+
+\end_inset
+
+)
+\end_layout
+
+\end_body
+\end_document
index b91c8cbd2111f1fbb06051e049e399220a85f3e5..98af54f7182fe819512335884d325acc93d84a2b 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.3 created this file. For more info see http://www.lyx.org/
-\lyxformat 512
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 566
 \begin_document
 \begin_header
 \save_transient_properties true
 \language russian
 \language_package default
 \inputencoding ascii
-\fontencoding global
-\font_roman "libertine" "DejaVu Serif"
-\font_sans "biolinum" "DejaVu Sans"
-\font_typewriter "libertine-mono" "DejaVu Sans Mono"
+\fontencoding auto
+\font_roman "lmodern" "DejaVu Serif"
+\font_sans "lmss" "DejaVu Sans"
+\font_typewriter "lmtt" "DejaVu Sans Mono"
 \font_math "auto" "auto"
 \font_default_family default
 \use_non_tex_fonts 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 12
 \spacing single
 \use_hyperref false
@@ -85,6 +88,7 @@
 \suppress_date false
 \justification false
 \use_refstyle 0
+\use_minted 0
 \index Предметный указатель
 \shortcut idx
 \color #008000
 \tocdepth 2
 \paragraph_separation indent
 \paragraph_indentation default
-\quotes_language french
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style swiss
+\dynamic_quotes 0
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \begin_body
 
 \begin_layout Standard
-Accented cyrillic characters fail if the input encoding is ASCII, both ERT
+Accented cyrillic characters failed if the input encoding is ASCII, both
+ ERT
 \end_layout
 
 \begin_layout Quotation
@@ -136,7 +144,8 @@ and Combining chars
 \end_layout
 
 \begin_layout Standard
-This is due to bugs 
+(cf.
 \begin_inset Flex URL
 status open
 
@@ -158,7 +167,7 @@ http://www.lyx.org/trac/ticket/6463
 
 \end_inset
 
-
+)
 \end_layout
 
 \end_body
index 59a262d0b23a5c30f7d61c873c839a3ed63238ba..b478a9faadc15a576219971a5b9a80eb3668d9e8 100644 (file)
@@ -48,10 +48,7 @@ export/examples/listerrors_(pdf[245]).*
 export/export/latex/iconv-error-nomenclature_pdf2
 
 # `acmart` document class:
-# poblems with the exported Postscript file (the first page does not display
-# for some reason) and hence ps2pdf fails:
-export/templates/acmart_pdf
-#
+# (see also lyxbugs below and ignoredTests)
 # issues with listsof, reported to the maintainer
 # https://www.mail-archive.com/search?l=mid&q=of84gj%24l6b%241%40blaine.gmane.org
 # LyX gives the following terminal message:
@@ -160,13 +157,9 @@ export/doc/es/Customization_pdf4_texF
 # https://www.mail-archive.com/search?l=mid&q=20170228190738.cgs3tl3ny2bxiegk%40steph
 export/examples/es/linguistics_pdf4_texF
 
-#9637 textgreek and textcyr depend on font-encoding, not input encoding
 #6463 font encoding changes and combining accents
-# this leads to failure of ru/Intro with XeTeX (pdf4_texF)
-# Note that this file is not expected to work with XeTeX/LuaTeX and TeX fonts:
-# https://www.mail-archive.com/search?l=mid&q=0c10c03d85badf3cef7346aa5c97a7e35fc380b2.camel%40lyx.org
-!export/export/latex/ru-accent-ascii_pdf2
-export/export/latex/ru-accent-ascii.*
+# problem remains for Cyrillic in a non-Cyrillic-using language
+export/export/latex/cyrillic-accent-ascii_pdf2
 
 #11454 luainputenc must be loaded after textcomp
 export/export/latex/luainputenc-utf8_pdf5_texF
@@ -178,6 +171,17 @@ export/export/latex/luainputenc-utf8_pdf5_systemF
 #11455 "Unable to process argument!" with multiple 1.6.x roundtrips
 export/templates/IEEEtran-Journal_lyx16
 
+#9744 allow parallel configuration of TeX and non-TeX fonts
+# parallel configuration implemented ([2fc430d5aede/lyxgit] 11/09/15),
+# use case for new setting value useNonTeXFonts == "automatic"
+# The font package "libertine" sets up "non-TeX fonts" if Xe/LuaTeX
+# is detected:
+# The "acmart" document class calls "libertine" as default font:
+# * With pdf5 (LuaTeX), this clashes with LyX setting up 8-bit TeX fonts
+# * with pdf4 (XeTeX) this does not clash but
+    selects CM fonts with different metrics -> unreliableTests wrong output.
+export/templates/acmart_pdf5_texF
+
 
 # ==============================================================
 Sublabel: ert
index 3ff1b5aeb37ea4256cc731cd16d777de4dad1b4f..3d04fb7983fd0df7978f7ae656d20c1e32affcf0 100644 (file)
@@ -61,6 +61,15 @@ export/export/latex/cp858_pdf2
 # Seminar export with LaTeX fails in latest TeXLive:
 export/examples/(|fr/)seminar_(dvi|pdf).*
 
+# `acmart` requires PDF-latex in TeXLive < 2018
+# * Missing page number in DVI -> ignoredTests wrong output
+# * First page not displayed in Postscript
+#   ("evince" viewer hangs and displays # "Loading...")
+# * "PDF (ps2pdf)": `ps2pdf` fails as result of the problem with Postscript
+export/templates/acmart_dvi.*
+#export/templates/acmart_ps # not tested by ctest autotests
+export/templates/acmart_pdf
+
 
 Sublabel: wrong_output
 ######################
@@ -99,3 +108,20 @@ export/export/mixing_inTitle_layouts_(pdf|dvi).*
 # (not expecting much attention because DVI is not given high priority)
 export/doc/es/Customization_dvi3_systemF
 export/examples/(|es/)(europe|modern)CV_dvi3_systemF
+
+
+# original problem fixed but run-together words in Russian
+#9637 textgreek and textcyr depend on font-encoding, not input encoding
+export/export/latex/ru-accent-ascii_pdf2
+
+
+#9744 allow parallel configuration of TeX and non-TeX fonts
+# parallel configuration implemented ([2fc430d5aede/lyxgit] 11/09/15),
+# use case for new setting value useNonTeXFonts == "automatic"
+# The font package "libertine" sets up "non-TeX fonts" if Xe/LuaTeX
+# is detected:
+# * With pdf5 (LuaTeX), this clashes with LyX setting up 8-bit TeX fonts
+# * with pdf4 (XeTeX) this does not clash but
+    selects fonts with different metrics -> unreliableTests wrong output.
+# The "acmart" document class calls "libertine" as default font:
+export/templates/acmart_pdf4_texF