]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/invertedTests
Fix screen display of parts and chapters in default classes
[lyx.git] / development / autotests / invertedTests
index 248b2714b963e5a3af70d2873eedd695ec99050e..754bea361d631ba53d504825fe87557102a1e053 100644 (file)
@@ -54,13 +54,6 @@ export/export/lyx2lyx/lyx_2_3_test_lyx(16|20|21|22)
 # before an ERT nested in a Description list:
 export/export/lyx2lyx/lyx_2_3_test2_lyx(16|20)
 
-# New problem with TL18: endless loop?
-#    ! TeX capacity exceeded, sorry [input stack +size=5000].
-# rsp.:
->   ! Undefined control sequence.
->   l.1 à
-export/export/latex/inputenc-luatex-utf8_pdf5_texF
-
 # nonstandard tests failing for unknown reason:
 export/templates/Obsolete/ACM_SIGGGRAPH.*_pdf5_(texF|systemF)
 export/templates/Articles/R_Journal_(dvi3|pdf[45])_systemF
@@ -80,11 +73,10 @@ export/doc/ja/(Formula-numbering|Customization|EmbeddedObjects|Intro)_pdf4_syste
 export/examples/ja/Graphics_and_Insets/XY-Pic.*_systemF
 
 # Does this still fail in TL19? What is the error?
-export/doc/he/.*pdf5_systemF
 export/.*/fa/Welcome_(dvi3|pdf5)_systemF
 export/.*/fa/Welcome_(dvi3|pdf5)_systemF
 
-# Bug (in LyX or LaTeX?): 
+# Bug (in LyX or LaTeX?):
 # If a language change happens in an environment, LyX does not write an
 # explicit \inputencoding{<new-default>} when switching back to the "outer"
 # language. However, without explicit \inputencoding, the input encoding
@@ -93,9 +85,12 @@ export/.*/fa/Welcome_(dvi3|pdf5)_systemF
 export/export/latex/languages/nested-inputenc_auto-legacy_pdf2
 
 
+# - This test is usually inverted, but it works with the DocBook backend.
+!export/export/latex/lyxbugs/3059-language-in-tables_docbook5
+
 # ================================================
 Sublabel: lyxbugs
-# LyX bugs with a Trac number.
+# LyX bugs with a Trac number or 'wontfix' ML thread.
 # ================================================
 
 # Dedicated tests in export/latex/lyxbugs start with the ticket number
@@ -103,6 +98,9 @@ Sublabel: lyxbugs
 # catchall:
 export/export/latex/lyxbugs/[0-9].*
 
+# #10355 xmllint errors with LyX HTML export
+export/doc/ja/UserGuide_xhtml
+export/export/WrongDfnTagHandling_xhtml
 
 #8035 work around a Polyglossia bug:
 # An error is reported if the document font does not announce support for a
@@ -117,21 +115,9 @@ export/export/latex/lyxbugs/[0-9].*
 # (For some reason, the false positive error is not thrown with PDF (luatex).)
 #export/examples/sr/Modules/Braille_(dvi3|pdf4)_systemF
 
-#10355 xmllint detects failures
-export/doc/attic/eu_UserGuide_xhtml
-export/doc/(es|ja)/UserGuide_xhtml
-export/examples/External_Material/Spreadsheet_xhtml
-export/export/WrongDfnTagHandling_xhtml
-
 #11455 "Unable to process argument!" with multiple 1.6.x roundtrips
 export/templates/Articles/IEEE_Transactions_Journal_lyx16
 
-#11520 "listerrors" fails with pdflatex, lualatex, and xelatex
-# Example for lib/scripts/listerrors
-# Requires noweb. Seems to be restricted to plain "latex".
-# Find out why and whether the script could be improved.
-export/examples/Modules/Noweb_Listerrors_(pdf[245]).*
-
 #11522 Support specification of complementing non-TeX fonts
 #
 # More than one non-TeX font required for the character set in many documents
@@ -161,6 +147,12 @@ export/doc/ar/UserGuide_lyx(22|23)
 export/export/lyx2lyx/11773-language-reversion-nesting-polyglossia_lyx2[23]
 export/examples/ko/Welcome_lyx2[23]
 
+# We decided not worth spending time to look into a fix
+# Warning: Malformed LyX document: Missing layout name on line 1876
+# https://www.mail-archive.com/search?l=mid&q=20200915233446.atwbyulny5gsbtyi%40tallinn
+export/examples/ru/Presentations/Beamer_lyx(16|20)
+
+
 # ==============================================================
 Sublabel: ert
 # Export failures due to "raw" LaTeX use in ERT or preamble code
@@ -262,7 +254,7 @@ export/examples/Modules/Hazard_and_Precautionary_Statements_.*_systemF
 # LyX-generated preamble, but it seems it's better to wait until the packages
 # fix the root issue themselves.
 # xy package:
-export/examples/(|fr|ru/)Graphics_and_Insets/XY-(Pic|Figure)_pdf5.*
+export/examples/(|fr/|ru/)Graphics_and_Insets/XY-(Pic|Figure)_pdf5.*
 
 # fontspec errors with `slides` class:
 # LaTeX error: "kernel/command-already-defined"
@@ -323,12 +315,39 @@ export/templates/Articles/Hebrew_Article_%28KOMA-Script%29_(dvi3|pdf5)_texF
 # See ML thread:
 # https://www.mail-archive.com/search?l=mid&q=60ee3809d30056c191d4b2e8c57a7eda60b3e382.camel%40lyx.org
 export/templates/Articles/Hebrew_Article_%28KOMA-Script%29_(dvi3|pdf5)_systemF
+#
+# This error could probably be fixed with a small modification to the document,
+# but note that XeTeX exports without error (with the current document).
+# This assertion was reported on the LuaTeX ML here:
+#  https://www.mail-archive.com/search?l=mid&q=20201030030430.4y4i6bdpwx633qs7%40vbox-VirtualBox
+# The assertion will be converted into the following error as of LuaTeX svn commit r7385:
+#  ! the word doesn't start with a character
+export/doc/he/Tutorial_(dvi3|pdf5)_systemF
 
 
 # Ukrainian
 # See comment in unreliableTests
 export/export/latex/languages/uk-babel-date-missing-chars-with-ascii_pdf5_texF
 
+# These fail for perhaps a similar reason, but contrary to the unicodesymbols
+# case the maintainer of the seminar package is not planning to fix the core
+# issue since the package is old. Putting the following as the first line of
+# the LaTeX file is a workaround: \RequirePackage[2020-02-02]{latexrelease}
+export/examples/(fr/|)Presentations/Seminar.*(dvi|pdf|lyx22|lyx23).*
+# These fail for a similar reason and the same workaround works.
+export/templates/Articles/Journal_of_the_Acoustical_Society_of_America_%28JASA%29.*(dvi|pdf|lyx22|lyx23).*
+
+# The new jss.cls (version 3.1) seems to not work with an updated TL20 (for
+# either the template they provide or our LyX template).
+# I expect this to be fixed with an update of the .cls or TL update.
+# On an updated TL20, I (Scott) currently get the following error:
+#
+# ! Undefined control sequence.
+# \hyper@linkurl ...tionraw >>}\relax \Hy@colorlink
+#                                                   \@urlcolor #1\Hy@xspace@en...
+#
+export/templates/Articles/Journal_of_Statistical_Software_%28JSS%29_version_2_(lyx22|lyx23|pdf2)
+
 
 # ================================================
 Sublabel: externalissues
@@ -380,5 +399,123 @@ Sublabel: varioref
 # varioref is not working with XeTeX/LuaTeX for Russian, as it uses some
 # char macros which are not defined for these engines.
 export/doc/ru/UserGuide_(dvi3|pdf[45])_(system|tex)F
-export/doc/ru/Math_(dvi3|pdf[45])_systemF
+export/doc/ru/(Math|Additional)_(dvi3|pdf[45])_systemF
+
 
+# ================================================
+# DocBook
+Sublabel: docbook
+# Don't work too hard on obsolete things.
+!export/templates/Obsolete/Latex8_Article_%28Obsolete%29_docbook5
+export/templates/Obsolete/.*_docbook5
+# Specific things that are not expected to work.
+# - No real content apart from metadata (forbidden in DocBook).
+export/export/mixing_inTitle_layouts_docbook5
+# - Uses a book class, but has no chapters (forbidden in DocBook).
+export/doc(|/de|/es|/fr|/ja).*(Dummy|Postizo|Bidon).*_docbook5
+export/export/MissingEndLayoutBetweenTables_docbook5
+export/export/latex/languages/ja-listings-uncodable-error_docbook5
+export/export/latex/lyxbugs-resolved/9633-languagenesting_enumerate_and_lyxcode_docbook5
+export/export/xhtml/MissingEndTagDiv_docbook5
+export/export/xhtml/zh_CN_Tutorial_docbook5
+# - Formal groups do not work when there is (sample) text instead of real content.
+export/examples/Books/Tufte_Book_docbook5
+# - No proper document title (should be fixable).
+!export/export/latex/inputenc-utf8-platex_docbook5
+export/export/latex/inputenc-.*_docbook5
+export/export/latex/textcyr-textgreek-test_docbook5
+export/doc/ja/Formula-numbering_docbook5
+# - Formula in <code> tags.
+!export/examples/(fr|ru)/Graphics_and_Insets/XY-Figure_docbook5
+export/examples/(de|es|fr|ja|ru)/Graphics_and_Insets/XY-(Pic|Figure)_docbook5
+# - Math macros not implemented and other insets illegally nested.
+export/mathmacros/testcases_speed_docbook5
+export/mathmacros/testcases_environments_docbook5
+export/mathmacros/masterOfSpace_docbook5
+export/doc/sl/Tutorial_docbook5
+# - Sidebars can be nested in LyX (mostly with shapepar), but not in DocBook.
+export/doc(|/de|/es|/fr|/ja)/Additional_docbook5
+# - Many templates are too complex for automatic conversion to work reliably.
+#   The resulting documents should still be easy to fully convert into DocBook.
+#   - AASTeX.
+export/export/docbook/bibliography_precooked_aastex_docbook5
+export/examples/Articles/American_Astronomical_Society_%28AASTeX_v._6.2%29_docbook5
+#   - Springer. (The svmono_light should still pass.)
+export/templates/Books/Springer.*/.*_docbook5
+!export/export/docbook/svmono_light_docbook5
+export/export/docbook/sv.*_docbook5
+#   - scrbook with too many customisations.
+export/templates/Theses/PhD_Thesis/.*_docbook5
+#   - Hollywood, too much formatting in elements DocBook does not allow to be formatted (like address).
+export/(templates|examples)/Scripts/Hollywood_docbook5
+export/export/docbook/Hollywood_docbook5
+#   - Lettre, formatting in elements DocBook does not allow to be formatted (like email).
+export/templates/Letters/French_Letter_%28lettre%29_docbook5
+#   - Letter, elements at the end of the document that should be in <info>.
+export/templates/Letters/Letter_%28Standard_Class%29_docbook5
+#   - G-Brief: too far from the other classes, not implemented.
+export/templates/Letters/G-Brief_%28V._2%29_docbook5
+export/templates/Obsolete/G-Brief_%28V._1,_Obsolete%29/.*_docbook5
+#   - KOMA-Script Letter: too hard to output phone and fax numbers at the right place (need two levels of wrapping).
+export/templates/Letters/KOMA-Script_Letter_%28V._2%29_docbook5
+export/examples(|/de)/Letters/Serial_Letter_.*_docbook5
+#   - DIN-Brief: order of paragraphs cannot match valid DocBook.
+export/templates/Letters/DIN-Brief_docbook5
+#   - AMS: order of elements is not compatible with DocBook (some parts must be in <info>, others cannot, while
+#     still being in the book's header).
+export/examples/.*/American_Mathematical_Society_%28AMS%29_docbook5
+#   - ACS: comments in the middle of the author info can wreak havoc (fixable).
+      Some bibliography entries do not exist within the document. Floats are empty.
+export/examples/Articles/American_Chemical_Society_%28ACS%29_docbook5
+#   - A&A: formula with two references (only one xml:id allowed per <equation> tag).
+export/examples/Articles/Astronomy_%26_Astrophysics_docbook5
+#   - Elsevier: footnotes in the metadata (author footnotes are definitely not supported, though).
+export/templates/Articles/Elsevier_docbook5
+# - Branches may cause problems (especially when mixing with parts that must go in <info>).
+export/export/latex/languages/supported-languages_(|babel|babel_auto-legacy)_?docbook5
+# - EmbeddedObjects: this document is too complex, with captions within tables, many LaTeX parameters when including
+#   a file, uncaptioned tables in the same float, etc.
+export/doc(|/de|/es|/fr|/ja)/EmbeddedObjects_docbook5
+# - Math: formula in inline tag, formula with two references (only one xml:id allowed per <equation> tag).
+export/doc(|/de|/es|/fr|/ja|/ru)/Math_docbook5
+# - UserGuide: formula in inline tag, use of fancyhdr
+export/doc(|/de|/es|/fr|/ja|/ru)/UserGuide_docbook5
+# - Double inlines (code within code, personname within personname, emphasis within date, etc.).
+export/doc/(es|fr|ja)/Customization_docbook5
+export/doc/gl/Tutorial_docbook5
+export/examples/Articles/Chess/Game_2_docbook5
+# - Bicaption module would require some C++ implementation.
+export/examples(|/de|/fr|/ja)/Modules/Multilingual_Captions_docbook5
+# - European CV: hard to mix items and bibliographies.
+export/examples(|/de|/es)/Curricula_Vitae/Europe_CV_docbook5
+# - Modern CV: columns cause problems.
+export/examples(|/es)/Curricula_Vitae/Modern_CV_docbook5
+# - Chess: multicol not supported.
+export/examples/Modules/Chessboard_docbook5
+# - Empty figure and table (just a caption, while DocBook requires some content).
+export/examples/Localization_Test_docbook5
+# - Inline equation in formatting.
+export/examples/Modules/Fancy_Colored_Boxes_docbook5
+# - Waiting for a new version of DocBook to be tagged on https://github.com/docbook/docbook (anything over 5.2b10a3).
+export/export/docbook/Localization_Test_docbook5
+export/examples/Graphics_and_Insets/Minted_Listings_docbook5
+# - Sweave and other literate-programming tools cannot be implemented properly without the LaTeX tooling.
+export/examples/Modules/Sweave_docbook5
+# - Figures without image, only an equation.
+export/examples/Modules/Variable-width_Minipages_docbook5
+# - Listing in LyX-Code, i.e. double <programlisting>.
+export/examples/(es|fr)/Modules/Linguistics_docbook5
+# - Inlines in inlines (<code> within <personname>), double sidebar.
+export/examples/ko/cjk-ko-doc_docbook5
+# - Metadata in abstract paragraph.
+export/templates/Articles/Springers_Global_Journal_Template_%28V._3%29_docbook5
+
+Sublabel: docbook poster
+# Posters cannot be properly exported, the LyX documents are too far from
+# DocBook expectations (but should have XML-valid output).
+export/.*Poster.*_docbook5
+
+Sublabel: docbook beamer
+# Beamer is not yet implemented.
+export/(examples|templates)/(de|es|fr|ja|ru)/Presentations/.*_docbook5
+export/(examples|templates)/Presentations/.*_docbook5