]> git.lyx.org Git - lyx.git/commitdiff
DocBook: improve naming of test files.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 27 Nov 2020 19:24:09 +0000 (20:24 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 27 Nov 2020 19:24:09 +0000 (20:24 +0100)
First, the kind of issue that the file tests for. Then, its source, if it's been extracted from the rest of the test suite.

16 files changed:
autotests/export/docbook/Additional_lyxcode.lyx [deleted file]
autotests/export/docbook/Additional_lyxcode.xml [deleted file]
autotests/export/docbook/Development.lyx [deleted file]
autotests/export/docbook/Development.xml [deleted file]
autotests/export/docbook/acknowledgments_jasa.lyx [new file with mode: 0644]
autotests/export/docbook/acknowledgments_jasa.xml [new file with mode: 0644]
autotests/export/docbook/doc_de_Math.lyx [deleted file]
autotests/export/docbook/doc_de_Math.xml [deleted file]
autotests/export/docbook/list_labeling_Development.lyx [new file with mode: 0644]
autotests/export/docbook/list_labeling_Development.xml [new file with mode: 0644]
autotests/export/docbook/lyxcode_Additional.lyx [new file with mode: 0644]
autotests/export/docbook/lyxcode_Additional.xml [new file with mode: 0644]
autotests/export/docbook/math_not_recognised_doc_de_Math.lyx [new file with mode: 0644]
autotests/export/docbook/math_not_recognised_doc_de_Math.xml [new file with mode: 0644]
autotests/export/docbook/table_float_regression_Intro.lyx [new file with mode: 0644]
autotests/export/docbook/table_float_regression_Intro.xml [new file with mode: 0644]

diff --git a/autotests/export/docbook/Additional_lyxcode.lyx b/autotests/export/docbook/Additional_lyxcode.lyx
deleted file mode 100644 (file)
index 797e315..0000000
+++ /dev/null
@@ -1,535 +0,0 @@
-#LyX 2.4 created this file. For more info see https://www.lyx.org/
-\lyxformat 598
-\begin_document
-\begin_header
-\save_transient_properties true
-\origin unavailable
-\textclass scrbook
-\begin_preamble
-% DO NOT ALTER THIS PREAMBLE!!!
-%
-% This preamble is designed to ensure that the manual prints
-% out as advertised. If you mess with this preamble,
-% parts of the manual may not print out as expected.  If you
-% have problems LaTeXing this file, please contact 
-% the documentation team
-% email: lyx-docs@lists.lyx.org
-
-% the pages of the TOC are numbered roman
-% and a PDF-bookmark for the TOC is added
-\pagenumbering{roman}
-\let\myTOC\tableofcontents
-\renewcommand{\tableofcontents}{%
- \pdfbookmark[1]{\contentsname}{}
- \myTOC
- \cleardoublepage
- \pagenumbering{arabic}}
-
-% extra space for tables
-\newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
-\end_preamble
-\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
-\use_default_options false
-\begin_modules
-logicalmkup
-theorems-ams
-theorems-ams-extended
-multicol
-shapepar
-\end_modules
-\maintain_unincluded_children no
-\language english
-\language_package default
-\inputencoding utf8
-\fontencoding auto
-\font_roman "lmodern" "default"
-\font_sans "lmss" "default"
-\font_typewriter "lmtt" "default"
-\font_math "auto" "auto"
-\font_default_family default
-\use_non_tex_fonts false
-\font_sc false
-\font_roman_osf false
-\font_sans_osf false
-\font_typewriter_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
-\paperfontsize 12
-\spacing single
-\use_hyperref true
-\pdf_title "LyX's Additional Features manual"
-\pdf_author "LyX Team"
-\pdf_subject "LyX's additional features documentation"
-\pdf_keywords "LyX, Documentation, Additional"
-\pdf_bookmarks true
-\pdf_bookmarksnumbered true
-\pdf_bookmarksopen false
-\pdf_bookmarksopenlevel 1
-\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 a4
-\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
-\use_lineno 0
-\notefontcolor #0000ff
-\index Index
-\shortcut idx
-\color #008000
-\end_index
-\secnumdepth 3
-\tocdepth 3
-\paragraph_separation indent
-\paragraph_indentation default
-\is_math_indent 1
-\math_indentation default
-\math_numbering_side default
-\quotes_style english
-\dynamic_quotes 0
-\papercolumns 1
-\papersides 2
-\paperpagestyle headings
-\tablestyle default
-\tracking_changes false
-\output_changes false
-\change_bars false
-\postpone_fragile_content false
-\html_math_output 0
-\html_css_as_file 0
-\html_be_strict true
-\docbook_table_output 0
-\end_header
-
-\begin_body
-
-\begin_layout Title
-Additional \SpecialChar LyX
- Features
-\end_layout
-
-\begin_layout Subtitle
-Version 2.3.x
-\end_layout
-
-\begin_layout Author
-by the \SpecialChar LyX
- Team
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-\noindent
-Principal maintainer of this file is
-\noun on
- Richard Heck
-\noun default
-.
- If you have comments or error corrections, please send them to the \SpecialChar LyX
- Documentati
-on mailing list, 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-<lyx-docs@lists.lyx.org>
-\end_layout
-
-\end_inset
-
-.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset CommandInset toc
-LatexCommand tableofcontents
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Chapter
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Inserting-TeX-Code"
-
-\end_inset
-
-Inserting \SpecialChar TeX
- Code into \SpecialChar LyX
- Documents
-\end_layout
-
-\begin_layout Standard
-Anything you can do in \SpecialChar LaTeX
- you can do in \SpecialChar LyX
-, for a very simple reason: You can
- always insert \SpecialChar TeX
- code into any \SpecialChar LyX
- document.
- \SpecialChar LyX
- cannot, and will never be able to, display every possible \SpecialChar LaTeX
- construct.
- If ever you need to insert \SpecialChar LaTeX
- commands into your \SpecialChar LyX
- document, you can use the
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-\SpecialChar TeX
- Code
-\end_layout
-
-\end_inset
-
- box, which you can insert into your document with 
-\begin_inset Flex Noun
-status collapsed
-
-\begin_layout Plain Layout
-Insert\SpecialChar menuseparator
-
-\family sans
-TeX
-\family default
- Code
-\end_layout
-
-\end_inset
-
- or the keyboard shortcut 
-\begin_inset Info
-type  "shortcut"
-arg   "ert-insert"
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Standard
-Here's an example of inserting \SpecialChar LaTeX
- commands in a \SpecialChar LyX
- document.
- The code looks like this:
-\end_layout
-
-\begin_layout LyX-Code
-
-\backslash
-begin{tabular}{ll}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-begin{minipage}{5cm}
-\begin_inset Newline newline
-\end_inset
-
-This is an example of a minipage environment.
- You 
-\begin_inset Newline newline
-\end_inset
-
-can put nearly everything in it, even (non-floating) 
-\begin_inset Newline newline
-\end_inset
-
-figures and tables.
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-end{minipage}
-\begin_inset Newline newline
-\end_inset
-
-&
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-begin{minipage}{5cm}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-begin{verbatim}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-begin{minipage}{5cm}
-\begin_inset Newline newline
-\end_inset
-
-This ...
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-end{minipage}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-end{verbatim}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-end{minipage}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-end{tabular}
-\end_layout
-
-\begin_layout Section
-Cross-References Between Files
-\end_layout
-
-\begin_layout Standard
-\begin_inset Box Shadowbox
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-thickness "0.4pt"
-separation "3pt"
-shadowsize "4pt"
-framecolor "black"
-backgroundcolor "none"
-status open
-
-\begin_layout Plain Layout
-This section is somewhat out of date.
- Need to describe default master documents and how children are opened when
- the master is.
- [[FIXME]]
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Section
-AMS \SpecialChar LaTeX
-
-\end_layout
-
-\begin_layout Standard
-These same environments are provided only in the starred versions by the
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Theorems (Starred)
-\end_layout
-
-\end_inset
-
- module:
-\end_layout
-
-\begin_layout Theorem
-This is typically used for the statements of major results.
-\end_layout
-
-\begin_layout Corollary*
-This is used for statements which follow fairly directly from previous statement
-s.
- Again, these can be major results.
-\end_layout
-
-\begin_layout Lemma
-These are smaller results needed to prove other statements.
-\end_layout
-
-\begin_layout Proposition
-These are less major results which (hopefully) add to the general theory
- being discussed.
-\end_layout
-
-\begin_layout Conjecture
-These are statements provided without justification, which the author does
- not know how to prove, but which seem to be true (to the author, at least).
-\end_layout
-
-\begin_layout Definition*
-Guess what this is for.
- The font is different for this environment than for the previous ones.
-\end_layout
-
-\begin_layout Example*
-Used for examples illustrating proven results.
-\end_layout
-
-\begin_layout Problem
-It's not really known what this is for.
- You should figure it out.
-\end_layout
-
-\begin_layout Exercise*
-Write a description for this one.
-\end_layout
-
-\begin_layout Remark
-This environment is also a type of theorem, usually a lesser sort of observation.
-\end_layout
-
-\begin_layout Claim*
-Often used in the course of giving a proof of a larger result.
-\end_layout
-
-\begin_layout Case
-Generally, these are used to break up long arguments, using specific instances
- of some condition.
-\end_layout
-
-\begin_layout Case
-The numbering scheme for cases is on its own, not together with other numbered
- statements.
-\end_layout
-
-\begin_layout Proof
-At the end of this environment, a QED symbol (usually a square, but it can
- vary with different styles) is placed.
- If you want to have other environments within this one—for example, Case
- environments—and have the QED symbol appear only after them, then the other
- environments need to be nested within the proof environment.
- See the section 
-\emph on
-Nesting Environments
-\emph default
- of the 
-\emph on
-User's Guide
-\emph default
- for information on nesting.
-\end_layout
-
-\begin_layout Standard
-And these environments are provided by 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-Theorems (AMS-Extended)
-\end_layout
-
-\end_inset
-
-:
-\end_layout
-
-\begin_layout Criterion*
-A required condition.
-\end_layout
-
-\begin_layout Algorithm*
-A general procedure to be used.
-\end_layout
-
-\begin_layout Axiom*
-This is a property or statement taken as true within the system being discussed.
-\end_layout
-
-\begin_layout Condition*
-Sometimes used to state a condition assumed within the present context of
- discussion.
-\end_layout
-
-\begin_layout Note*
-Similar to a Remark.
-\end_layout
-
-\begin_layout Notation*
-Used for the explanation of, yes, notation.
-\end_layout
-
-\begin_layout Summary
-Do we really need to tell you? 
-\end_layout
-
-\begin_layout Acknowledgement*
-Acknowledgement.
-\end_layout
-
-\begin_layout Conclusion*
-Sometimes used at the end of a long train of argument.
-\end_layout
-
-\begin_layout Fact
-Used in a way similar to Proposition, though perhaps lower on the scale.
-\end_layout
-
-\begin_layout Standard
-In addition, the AMS classes automatically provide the AMS \SpecialChar LaTeX
- and AMS fonts
- packages.
- They need to be available on your system in order to use these environments.
-\end_layout
-
-\end_body
-\end_document
diff --git a/autotests/export/docbook/Additional_lyxcode.xml b/autotests/export/docbook/Additional_lyxcode.xml
deleted file mode 100644 (file)
index f42ac9f..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- This DocBook file was created by LyX 2.4.0dev
-  See http://www.lyx.org/ for more information -->
-<book xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
-<info>
-<title>Additional LyX Features</title>
-<subtitle>Version 2.3.x</subtitle>
-<author>
-<personname>by the LyX Team<footnote>
-<para>Principal maintainer of this file is<personname> Richard Heck</personname>. If you have comments or error corrections, please send them to the LyX Documentation mailing list, <code>&lt;lyx-docs@lists.lyx.org&gt;</code>.</para>
-</footnote></personname>
-</author>
-</info>
-<chapter xml:id="sec.Inserting-TeX-Code">
-<title>Inserting TeX Code into LyX Documents</title>
-<para>Anything you can do in LaTeX you can do in LyX, for a very simple reason: You can always insert TeX code into any LyX document. LyX cannot, and will never be able to, display every possible LaTeX construct. If ever you need to insert LaTeX commands into your LyX document, you can use the <code>TeX Code</code> box, which you can insert into your document with <personname>Insert&#x21D2;TeX Code</personname> or the keyboard shortcut <keycap>Ctrl+L</keycap>.</para>
-<para>Here's an example of inserting LaTeX commands in a LyX document. The code looks like this:</para>
-<programlisting language='lyx'>\begin{tabular}{ll}
-\begin{minipage}{5cm}
-This is an example of a minipage environment. You 
-can put nearly everything in it, even (non-floating) 
-figures and tables. 
-\end{minipage}
-&amp;
-\begin{minipage}{5cm}
-\begin{verbatim}
-\begin{minipage}{5cm}
-This ... 
-\end{minipage}
-\end{verbatim}
-\end{minipage}
-\end{tabular}</programlisting>
-<section>
-<title>Cross-References Between Files</title>
-<sidebar role='shadowbox'>
-<para>This section is somewhat out of date. Need to describe default master documents and how children are opened when the master is. [[FIXME]]</para>
-</sidebar>
-</section>
-<section>
-<title>AMS LaTeX</title>
-<para>These same environments are provided only in the starred versions by the <code>Theorems (Starred)</code> module:</para>
-<para role='theorem'>This is typically used for the statements of major results. </para>
-<para role='corollary'>This is used for statements which follow fairly directly from previous statements. Again, these can be major results. </para>
-<para role='lemma'>These are smaller results needed to prove other statements.</para>
-<para role='proposition'>These are less major results which (hopefully) add to the general theory being discussed.</para>
-<para role='conjecture'>These are statements provided without justification, which the author does not know how to prove, but which seem to be true (to the author, at least).</para>
-<para role='definition'>Guess what this is for. The font is different for this environment than for the previous ones. </para>
-<informalexample>
-<para>Used for examples illustrating proven results.</para>
-</informalexample>
-<para role='problem'>It's not really known what this is for. You should figure it out.</para>
-<para role='exercise'>Write a description for this one.</para>
-<note role='theorem'>
-<para>This environment is also a type of theorem, usually a lesser sort of observation.</para>
-</note>
-<para role='claim'>Often used in the course of giving a proof of a larger result.</para>
-<para role='cases'>Generally, these are used to break up long arguments, using specific instances of some condition. The numbering scheme for cases is on its own, not together with other numbered statements. </para>
-<para role='proof'>At the end of this environment, a QED symbol (usually a square, but it can vary with different styles) is placed. If you want to have other environments within this one—for example, Case environments—and have the QED symbol appear only after them, then the other environments need to be nested within the proof environment. See the section <emphasis>Nesting Environments</emphasis> of the <emphasis>User's Guide</emphasis> for information on nesting.</para>
-<para>And these environments are provided by <code>Theorems (AMS-Extended)</code>:</para>
-<para role='criterion'>A required condition.</para>
-<para role='algorithm'>A general procedure to be used.</para>
-<para role='axiom'>This is a property or statement taken as true within the system being discussed.</para>
-<para role='condition'>Sometimes used to state a condition assumed within the present context of discussion.</para>
-<note role='theorem'>
-<para>Similar to a Remark.</para>
-</note>
-<para role='notation'>Used for the explanation of, yes, notation.</para>
-<para role='summary'>Do we really need to tell you? </para>
-<para role='acknowledgement'>Acknowledgement.</para>
-<para role='conclusion'>Sometimes used at the end of a long train of argument.</para>
-<para role='fact'>Used in a way similar to Proposition, though perhaps lower on the scale.</para>
-<para>In addition, the AMS classes automatically provide the AMS LaTeX and AMS fonts packages. They need to be available on your system in order to use these environments.</para>
-</section>
-</chapter>
-</book>
\ No newline at end of file
diff --git a/autotests/export/docbook/Development.lyx b/autotests/export/docbook/Development.lyx
deleted file mode 100644 (file)
index 996e96f..0000000
+++ /dev/null
@@ -1,524 +0,0 @@
-#LyX 2.4 created this file. For more info see https://www.lyx.org/
-\lyxformat 598
-\begin_document
-\begin_header
-\save_transient_properties true
-\origin unavailable
-\textclass scrartcl
-\options BCOR8mm,captions=tableheading
-\use_default_options false
-\begin_modules
-logicalmkup
-\end_modules
-\maintain_unincluded_children no
-\language english
-\language_package default
-\inputencoding utf8
-\fontencoding auto
-\font_roman "lmodern" "default"
-\font_sans "lmss" "default"
-\font_typewriter "lmtt" "default"
-\font_math "auto" "auto"
-\font_default_family default
-\use_non_tex_fonts false
-\font_sc false
-\font_roman_osf false
-\font_sans_osf false
-\font_typewriter_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 1
-\bibtex_command default
-\index_command default
-\paperfontsize 12
-\spacing single
-\use_hyperref true
-\pdf_title "LyX's Development manual"
-\pdf_author "LyX Team"
-\pdf_subject "LyX's development documentation"
-\pdf_keywords "LyX, Documentation, Development"
-\pdf_bookmarks true
-\pdf_bookmarksnumbered true
-\pdf_bookmarksopen true
-\pdf_bookmarksopenlevel 1
-\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 a4
-\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
-\use_lineno 0
-\notefontcolor #0000ff
-\index Index
-\shortcut idx
-\color #008000
-\end_index
-\secnumdepth 4
-\tocdepth 4
-\paragraph_separation indent
-\paragraph_indentation default
-\is_math_indent 0
-\math_numbering_side default
-\quotes_style english
-\dynamic_quotes 0
-\papercolumns 1
-\papersides 2
-\paperpagestyle headings
-\tablestyle default
-\tracking_changes false
-\output_changes false
-\change_bars false
-\postpone_fragile_content false
-\html_math_output 0
-\html_css_as_file 0
-\html_be_strict true
-\docbook_table_output 0
-\end_header
-
-\begin_body
-
-\begin_layout Title
-Developing \SpecialChar LyX
-
-\end_layout
-
-\begin_layout Subtitle
-Version 2.3.x
-\end_layout
-
-\begin_layout Section
-File formats
-\end_layout
-
-\begin_layout Subsection
-When is an update of the .lyx file format number needed?
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:When-is-an"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-When you are working on a new feature you may ask yourself whether it needs
- an update of the .lyx file format number.
- Whether an update is needed or not is not always obvious.
- Rule of thumb: 
-\end_layout
-
-\begin_layout Quote
-Whenever there is the danger that a previous version of LyX cannot open
- a file using the new feature, a file format update is needed.
-\end_layout
-
-\begin_layout Standard
-The file format change allows lyx2lyx rules to implement backwards compatibility.
- Below you can find a list of reasons for file format updates with explanations:
-\end_layout
-
-\begin_layout Description
-New
-\begin_inset space ~
-\end_inset
-
-document
-\begin_inset space ~
-\end_inset
-
-setting Whenever you introduce a new setting that is stored in the document
- header, a file format update is needed.
-\end_layout
-
-\begin_layout Description
-Removed
-\begin_inset space ~
-\end_inset
-
-document
-\begin_inset space ~
-\end_inset
-
-setting If a certain setting becomes obsolete and gets removed, a file format
- update is needed.
-\end_layout
-
-\begin_layout Description
-New
-\begin_inset space ~
-\end_inset
-
-valid
-\begin_inset space ~
-\end_inset
-
-value
-\begin_inset space ~
-\end_inset
-
-for
-\begin_inset space ~
-\end_inset
-
-an
-\begin_inset space ~
-\end_inset
-
-existing
-\begin_inset space ~
-\end_inset
-
-setting, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\end_layout
-
-\begin_deeper
-\begin_layout Description
-\paragraph_spacing single
-Automatically
-\begin_inset space ~
-\end_inset
-
-loaded
-\begin_inset space ~
-\end_inset
-
-math
-\begin_inset space ~
-\end_inset
-
-package The reason for this is that there is no true ERT inset for math
- formulas: Each command is parsed, and if a user happens to define a local
- command with the same name as a command that triggers an automatic load
- of a package, they need to be able to switch off the automatic loading
- of that package.
- This switch is stored by the 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-use_package
-\end_layout
-
-\end_inset
-
- header setting.
-\end_layout
-
-\begin_layout Description
-New
-\begin_inset space ~
-\end_inset
-
-language that is stored in 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-language
-\end_layout
-
-\end_inset
-
-.
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Plain Layout
-This requirement is under discussion.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_deeper
-\begin_layout Description
-New
-\begin_inset space ~
-\end_inset
-
-inset Of course a new inset requires a file format update.
-\end_layout
-
-\begin_layout Description
-New
-\begin_inset space ~
-\end_inset
-
-style If a new style or inset layout is added to any layout file or module
- shipped with \SpecialChar LyX
-, then a new file format is needed in the master (development)
- branch.
- It is possible to backport new styles to the stable version without a file
- format change.
-\end_layout
-
-\begin_layout Description
-Removed
-\begin_inset space ~
-\end_inset
-
-style If a style or inset layout is removed in any layout file or module
- shipped with \SpecialChar LyX
-, a new file format is required.
-\end_layout
-
-\begin_layout Standard
-However, 
-\series bold
-new
-\series default
- layouts and modules do 
-\series bold
-not
-\series default
- require a file format update (changed 03/16).
-\end_layout
-
-\begin_layout Standard
-If you are still unsure, please ask on the development list.
-\end_layout
-
-\begin_layout Paragraph
-\begin_inset CommandInset label
-LatexCommand label
-name "par:export-test-output-formats"
-
-\end_inset
-
-Output formats
-\end_layout
-
-\begin_layout Standard
-The following output formats are currently tested for each sample document:
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-LyX:
-\end_layout
-
-\begin_deeper
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-lyx16 LyX 1.6 file format (lyx2lyx)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-lyx21 LyX 2.1 file format (lyx2lyx)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-xhtml LyXHTML (native LyX HTML export)
-\end_layout
-
-\end_deeper
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-LyX
-\begin_inset space ~
-\end_inset
-
-+
-\begin_inset space ~
-\end_inset
-
-LaTeX:
-\end_layout
-
-\begin_deeper
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-dvi DVI (8-bit latex)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-dvi3_texF DVI (LuaTeX with 8-bit TeX fonts)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-dvi3_systemF DVI (LuaTeX with Unicode fonts)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-pdf2 PDF (pdflatex)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-pdf4_texF PDF (XeTeX with 8-bit TeX fonts)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-pdf4_systemF PDF (XeTeX with Unicode fonts)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-pdf5_texF PDF (LuaTeX with 8-bit TeX fonts)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-pdf5_systemF PDF (LuaTeX with Unicode fonts)
-\end_layout
-
-\end_deeper
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-LyX
-\begin_inset space ~
-\end_inset
-
-+
-\begin_inset space ~
-\end_inset
-
-LaTeX
-\begin_inset space ~
-\end_inset
-
-+
-\begin_inset space ~
-\end_inset
-
-postprocessing:
-\end_layout
-
-\begin_deeper
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-pdf DVI -> PS (dvips) -> PDF (ps2pdf)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-pdf3 DVI -> PDF (dvipdfm)
-\end_layout
-
-\end_deeper
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-not
-\begin_inset space ~
-\end_inset
-
-tested: (or only if set as default output format in the document source)
-\end_layout
-
-\begin_deeper
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-latex LaTeX (plain)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-luatex LaTeX (LuaTeX)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-dviluatex LaTeX (dviluatex)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-pdflatex LaTeX (pdflatex)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-platex LaTeX (pLaTeX)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-xetex LaTeX (XeTeX) 
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-eps3 EPS (encapsulated Postscript) (cropped)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-ps DVI -> Postscript (dvips)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-odf
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-text (nor text2, ..., text4)
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-textparagraph
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-word
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-word2
-\end_layout
-
-\begin_layout Labeling
-\labelwidthstring pdf5msystemFM
-wordhtml
-\end_layout
-
-\end_deeper
-\end_body
-\end_document
diff --git a/autotests/export/docbook/Development.xml b/autotests/export/docbook/Development.xml
deleted file mode 100644 (file)
index 9ec891d..0000000
+++ /dev/null
@@ -1,272 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- This DocBook file was created by LyX 2.4.0dev
-  See http://www.lyx.org/ for more information -->
-<article xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
-<title>Developing LyX</title>
-<subtitle>Version 2.3.x</subtitle>
-<section>
-<title>File formats</title>
-<section xml:id="sec.When-is-an">
-<title>When is an update of the .lyx file format number needed?</title>
-<para>When you are working on a new feature you may ask yourself whether it needs an update of the .lyx file format number. Whether an update is needed or not is not always obvious. Rule of thumb: </para>
-<blockquote>
-<para>Whenever there is the danger that a previous version of LyX cannot open a file using the new feature, a file format update is needed.</para>
-</blockquote>
-<para>The file format change allows lyx2lyx rules to implement backwards compatibility. Below you can find a list of reasons for file format updates with explanations:</para>
-<variablelist>
-<varlistentry>
-<term>New&#xA0;document&#xA0;setting</term>
-<listitem>
-<para>Whenever you introduce a new setting that is stored in the document header, a file format update is needed.</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>Removed&#xA0;document&#xA0;setting</term>
-<listitem>
-<para>If a certain setting becomes obsolete and gets removed, a file format update is needed.</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>New&#xA0;valid&#xA0;value&#xA0;for&#xA0;an&#xA0;existing&#xA0;setting,</term>
-<listitem>
-<para>e.&#x2009;g.</para>
-<variablelist>
-<varlistentry>
-<term>Automatically&#xA0;loaded&#xA0;math&#xA0;package</term>
-<listitem>
-<para>The reason for this is that there is no true ERT inset for math formulas: Each command is parsed, and if a user happens to define a local command with the same name as a command that triggers an automatic load of a package, they need to be able to switch off the automatic loading of that package. This switch is stored by the use_package header setting.</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>New&#xA0;language</term>
-<listitem>
-<para>that is stored in \language. </para>
-</listitem>
-</varlistentry>
-</variablelist>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>New&#xA0;inset</term>
-<listitem>
-<para>Of course a new inset requires a file format update.</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>New&#xA0;style</term>
-<listitem>
-<para>If a new style or inset layout is added to any layout file or module shipped with LyX, then a new file format is needed in the master (development) branch. It is possible to backport new styles to the stable version without a file format change.</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>Removed&#xA0;style</term>
-<listitem>
-<para>If a style or inset layout is removed in any layout file or module shipped with LyX, a new file format is required.</para>
-</listitem>
-</varlistentry>
-</variablelist>
-<para>However, <emphasis role='bold'>new</emphasis> layouts and modules do <emphasis role='bold'>not</emphasis> require a file format update (changed 03/16). </para>
-<para>If you are still unsure, please ask on the development list.</para>
-<section xml:id="par.export-test-output-formats">
-<title>Output formats</title>
-<para>The following output formats are currently tested for each sample document:</para>
-<variablelist>
-<varlistentry>
-<term>LyX:</term>
-<listitem>
-<para />
-<variablelist>
-<varlistentry>
-<term>lyx16</term>
-<listitem>
-<para>LyX 1.6 file format (lyx2lyx)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>lyx21</term>
-<listitem>
-<para>LyX 2.1 file format (lyx2lyx)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>xhtml</term>
-<listitem>
-<para>LyXHTML (native LyX HTML export)</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>LyX&#xA0;+&#xA0;LaTeX:</term>
-<listitem>
-<para />
-<variablelist>
-<varlistentry>
-<term>dvi</term>
-<listitem>
-<para>DVI (8-bit latex)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>dvi3_texF</term>
-<listitem>
-<para>DVI (LuaTeX with 8-bit TeX fonts)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>dvi3_systemF</term>
-<listitem>
-<para>DVI (LuaTeX with Unicode fonts)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>pdf2</term>
-<listitem>
-<para>PDF (pdflatex)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>pdf4_texF</term>
-<listitem>
-<para>PDF (XeTeX with 8-bit TeX fonts)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>pdf4_systemF</term>
-<listitem>
-<para>PDF (XeTeX with Unicode fonts)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>pdf5_texF</term>
-<listitem>
-<para>PDF (LuaTeX with 8-bit TeX fonts)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>pdf5_systemF</term>
-<listitem>
-<para>PDF (LuaTeX with Unicode fonts)</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>LyX&#xA0;+&#xA0;LaTeX&#xA0;+&#xA0;postprocessing:</term>
-<listitem>
-<para />
-<variablelist>
-<varlistentry>
-<term>pdf</term>
-<listitem>
-<para>DVI -&gt; PS (dvips) -&gt; PDF (ps2pdf)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>pdf3</term>
-<listitem>
-<para>DVI -&gt; PDF (dvipdfm)</para>
-</listitem>
-</varlistentry>
-</variablelist>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>not&#xA0;tested:</term>
-<listitem>
-<para>(or only if set as default output format in the document source)</para>
-<variablelist>
-<varlistentry>
-<term>latex</term>
-<listitem>
-<para>LaTeX (plain)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>luatex</term>
-<listitem>
-<para>LaTeX (LuaTeX)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>dviluatex</term>
-<listitem>
-<para>LaTeX (dviluatex)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>pdflatex</term>
-<listitem>
-<para>LaTeX (pdflatex)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>platex</term>
-<listitem>
-<para>LaTeX (pLaTeX)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>xetex</term>
-<listitem>
-<para>LaTeX (XeTeX) </para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>eps3</term>
-<listitem>
-<para>EPS (encapsulated Postscript) (cropped)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>ps</term>
-<listitem>
-<para>DVI -&gt; Postscript (dvips)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>odf</term>
-<listitem>
-<para />
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>text</term>
-<listitem>
-<para>(nor text2, ..., text4)</para>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>textparagraph</term>
-<listitem>
-<para />
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>word</term>
-<listitem>
-<para />
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>word2</term>
-<listitem>
-<para />
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>wordhtml</term>
-<listitem>
-<para />
-</listitem>
-</varlistentry>
-</variablelist>
-</listitem>
-</varlistentry>
-</variablelist>
-</section>
-</section>
-</section>
-</article>
\ No newline at end of file
diff --git a/autotests/export/docbook/acknowledgments_jasa.lyx b/autotests/export/docbook/acknowledgments_jasa.lyx
new file mode 100644 (file)
index 0000000..88d5f4f
--- /dev/null
@@ -0,0 +1,105 @@
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 599
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin unavailable
+\textclass jasatex
+\options showkeys
+\use_default_options false
+\maintain_unincluded_children no
+\language english
+\language_package default
+\inputencoding utf8
+\fontencoding auto
+\font_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_roman_osf false
+\font_sans_osf false
+\font_typewriter_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures false
+\graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command bibtex
+\index_command default
+\paperfontsize default
+\spacing single
+\use_hyperref false
+\papersize default
+\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
+\use_lineno 0
+\index Index
+\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
+\change_bars false
+\postpone_fragile_content false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\docbook_table_output 0
+\end_header
+
+\begin_body
+
+\begin_layout Title
+Manuscript Title
+\end_layout
+
+\begin_layout Section
+Introduction
+\end_layout
+
+\begin_layout Standard
+Bla bla.
+\end_layout
+
+\begin_layout Acknowledgments
+Acknowledgments go here
+\end_layout
+
+\end_body
+\end_document
diff --git a/autotests/export/docbook/acknowledgments_jasa.xml b/autotests/export/docbook/acknowledgments_jasa.xml
new file mode 100644 (file)
index 0000000..4c29bc7
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This DocBook file was created by LyX 2.4.0dev
+  See http://www.lyx.org/ for more information -->
+<article xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
+<title>Manuscript Title</title>
+<section>
+<title>Introduction</title>
+<para>Bla bla.</para>
+</section>
+<acknowledgements>
+<para>Acknowledgments go here</para>
+</acknowledgements>
+</article>
\ No newline at end of file
diff --git a/autotests/export/docbook/doc_de_Math.lyx b/autotests/export/docbook/doc_de_Math.lyx
deleted file mode 100644 (file)
index a0e9bf2..0000000
+++ /dev/null
@@ -1,324 +0,0 @@
-#LyX 2.4 created this file. For more info see https://www.lyx.org/
-\lyxformat 599
-\begin_document
-\begin_header
-\save_transient_properties true
-\origin unavailable
-\textclass scrartcl
-\begin_preamble
-% DO NOT ALTER THIS PREAMBLE!!!
-%
-% This preamble is designed to ensure that the file prints
-% out as advertised. If you mess with this preamble,
-% parts of this document may not print out as expected.  If you
-% have problems LaTeXing this file, please contact 
-% the documentation team
-% email: lyx-docs@lists.lyx.org
-
-% Folgendes Problem lösen:
-% Besteht die Kapitelnummer aus zu vielen Ziffern, wird  die
-% Kapitelüberschrift im Inhaltsverzeichnis direkt an oder über
-% die Kapitelnummer geschrieben.
-% Als Lösung wird mehr Platz zwischen Nummer und
-% Überschrift eingefügt.
-\renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}}
-\renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}}
-
-% Linkfläche für Querverweise vergrößern und automatisch benennen,
-\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
-\@ifpackageloaded{babel}{
- \addto\extrasngerman{%
-  \renewcommand*{\equationautorefname}[1]{}%
-  \renewcommand{\sectionautorefname}{Kap.\negthinspace}%
-  \renewcommand{\subsectionautorefname}{Kap.\negthinspace}%
-  \renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}%
- }
-}{}
-
-% Makros damit Pakete nicht doppelt geladen werden.
-% siehe erste Fußnote in Kap. 9.3
-\@ifundefined{textcolor}{\usepackage{color}}{}
-
-% Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
-% ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
-\pagenumbering{roman}
-\let\myTOC\tableofcontents
-\renewcommand{\tableofcontents}{%
- \vspace{1cm}
- \pdfbookmark[1]{\contentsname}{}
- \myTOC
- \cleardoublepage
- \pagenumbering{arabic}}
-
-% add 0.5 mm vertical space for table rows
-\@ifundefined{extrarowheight} {\usepackage{array}}{}
-\setlength{\extrarowheight}{0.5mm}
-
-% Damit die Fußnoten einen zusätzlichen vertikalen Abstand von 1,5 mm haben,
-\let\myFoot\footnote
-\renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
-
-% macht Beschriftungen fett
-\setkomafont{captionlabel}{\bfseries}
-
-% enables calculation of values
-\usepackage{calc}
-
-% für Mehrfachzeilen, benutzt in Kap. 24.7
-\usepackage{multicol}
-
-% benutzt in Kap. 19.4
-\usepackage{remreset}
-
-% für das Fourier-Transformationssymbol
-\usepackage{mathrsfs}
-
-% Farbdefinition aus Kap. 9.3
-\definecolor{dunkelgruen}{cmyk}{0.5, 0, 1, 0.5}
-
-% Operatoren deklarieren (siehe Kap. 10.4 und 15.2)
-\DeclareMathOperator*{\Raute}{\blacklozenge}
-\DeclareMathOperator{\sgn}{sgn}
-
-% Beispielbefehle aus Kap. 20.1 
-\newcommand{\gr}{\Longrightarrow}
-\newcommand{\us}[1]{\underline{#1}}
-\newcommand{\fb}[3]{\framebox#1#2{$#3$}}
-\newcommand{\cb}[3][white]{\fcolorbox{#2}{#1}{$#3$}}
-\newcommand{\fracS}[3][]{\genfrac{}{}{#1}{}{#2}{#3}}
-
-% Beispielmakro aus Kap. 19.4
-%\AtBeginDocument{
-%\def\tagform@#1{\maketag@@@{|#1|}}
-%}
-
-\@ifpackageloaded{babel}{
- % Damit der Index einen anderen Namen erhält.
- \addto\captionsngerman
- {\renewcommand{\indexname}
- {Stichwort- und Befehlsverzeichnis}}
-}{}
-
-% ------------------------------------
-% used to check for needed LaTeX packages
-\usepackage{ifthen}
-
-% testen ob das Paket undertilde installiert ist
-% wird benutzt für den Befehl \utilde
-\newboolean{undertilde}
-\IfFileExists{undertilde.sty}
- {\usepackage{undertilde}
-  \setboolean{undertilde}{true}}
- {\setboolean{undertilde}{false}}
-
-% testen ob das Paket eurosym installiert ist
-% wird benutzt für das Euro-Symbol
-\newboolean{eurosym}
-\IfFileExists{eurosym.sty}
- {\usepackage[gennarrow]{eurosym}
-  \setboolean{eurosym}{true}}
- {\setboolean{eurosym}{false}}
-
-% testen ob Paket braket installiert ist
-% benötigt für physikalische Vektoren
-\newboolean{braket}
-\IfFileExists{braket.sty}
- {\usepackage{braket}
-  \setboolean{braket}{true}}
- {\setboolean{braket}{false}}
-
-% testen ob Paket cancel installiert ist
-\newboolean{cancel}
-\IfFileExists{cancel.sty}
- {\usepackage{cancel}
-  \setboolean{cancel}{true}}
- {\setboolean{cancel}{false}}
-
-% testen ob Paket upgreek installiert ist
-\newboolean{upgreek}
-\IfFileExists{upgreek.sty}
- {\usepackage{upgreek}
-  \setboolean{upgreek}{true}}
- {\setboolean{upgreek}{false}}
-
-% benötigt für Kommas in Formeln, siehe Kap. 22.3
-\IfFileExists{icomma.sty}
- {\usepackage{icomma}}{}
-% Added by lyx2lyx
-\setlength{\parskip}{\medskipamount}
-\setlength{\parindent}{0pt}
-\end_preamble
-\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
-\use_default_options false
-\begin_modules
-subequations
-\end_modules
-\maintain_unincluded_children no
-\language ngerman
-\language_package default
-\inputencoding utf8
-\fontencoding auto
-\font_roman "lmodern" "default"
-\font_sans "lmss" "default"
-\font_typewriter "lmtt" "default"
-\font_math "auto" "auto"
-\font_default_family default
-\use_non_tex_fonts false
-\font_sc false
-\font_roman_osf false
-\font_sans_osf false
-\font_typewriter_osf false
-\font_sf_scale 100 100
-\font_tt_scale 100 100
-\use_microtype false
-\use_dash_ligatures false
-\graphics default
-\default_output_format pdf2
-\output_sync 0
-\bibtex_command default
-\index_command makeindex
-\paperfontsize 12
-\spacing single
-\use_hyperref true
-\pdf_title "LyXs Mathehandbuch"
-\pdf_author "LyX Team, Uwe Stöhr"
-\pdf_subject "LyX-Dokumentation der Mathefunktionen"
-\pdf_keywords "LyX, Mathed"
-\pdf_bookmarks true
-\pdf_bookmarksnumbered true
-\pdf_bookmarksopen true
-\pdf_bookmarksopenlevel 1
-\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 a4
-\use_geometry false
-\use_package amsmath 2
-\use_package amssymb 2
-\use_package cancel 1
-\use_package esint 1
-\use_package mathdots 1
-\use_package mathtools 2
-\use_package mhchem 1
-\use_package stackrel 1
-\use_package stmaryrd 1
-\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 true
-\use_refstyle 0
-\use_minted 0
-\use_lineno 0
-\notefontcolor #0000ff
-\index Stichwortverzeichnis
-\shortcut idx
-\color #008000
-\end_index
-\secnumdepth 4
-\tocdepth 3
-\paragraph_separation indent
-\paragraph_indentation default
-\is_math_indent 0
-\math_numbering_side default
-\quotes_style german
-\dynamic_quotes 0
-\papercolumns 1
-\papersides 2
-\paperpagestyle plain
-\tablestyle default
-\bullet 1 0 6 -1
-\bullet 2 2 35 -1
-\bullet 3 2 7 -1
-\tracking_changes false
-\output_changes false
-\change_bars false
-\postpone_fragile_content false
-\html_math_output 0
-\html_css_as_file 0
-\html_be_strict false
-\docbook_table_output 0
-\end_header
-
-\begin_body
-
-\begin_layout Title
-\SpecialChar LyX
-' detailliertes Mathe Handbuch
-\end_layout
-
-\begin_layout Section
-Grundlegende Funktionen
-\end_layout
-
-\begin_layout Subsection
-Fortsetzungspunkte
-\end_layout
-
-\begin_layout Standard
-Z.
-\begin_inset space \thinspace{}
-\end_inset
-
-B.
- ergibt der Befehl 
-\series bold
-A
-\backslash
-dotfill
-\begin_inset space \textvisiblespace{}
-\end_inset
-
-B
-\end_layout
-
-\begin_layout Standard
-\begin_inset Formula $A\dotfill B$
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Analog dazu gibt es für eine Linie den Befehl 
-\series bold
-
-\backslash
-hrulefill
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Befehle ! H ! 
-\backslash
-hrulefill
-\end_layout
-
-\end_inset
-
-:
-\end_layout
-
-\begin_layout Standard
-\begin_inset Formula $A\hrulefill B$
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Um die Befehle für Text zu verwenden, müssen sie im \SpecialChar TeX
--Modus eingegeben werden.
-\end_layout
-
-\end_body
-\end_document
diff --git a/autotests/export/docbook/doc_de_Math.xml b/autotests/export/docbook/doc_de_Math.xml
deleted file mode 100644 (file)
index 5f4a240..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- This DocBook file was created by LyX 2.4.0dev
-  See http://www.lyx.org/ for more information -->
-<article xml:lang="de_DE" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
-<title>LyX' detailliertes Mathe Handbuch</title>
-<section>
-<title>Grundlegende Funktionen</title>
-<section>
-<title>Fortsetzungspunkte</title>
-<para>Z.&#x2009;B. ergibt der Befehl <emphasis role='bold'>A\dotfill&#x2423;B</emphasis></para>
-<para><inlineequation>
-<alt role='tex'>A\dotfill B</alt>
-<mathphrase>MathML export failed. Please report this as a bug.</mathphrase>
-</inlineequation></para>
-<para>Analog dazu gibt es für eine Linie den Befehl <emphasis role='bold'>\hrulefill</emphasis><indexterm><primary>Befehle</primary><secondary>H</secondary><tertiary>\textbackslash hrulefill</tertiary></indexterm>:</para>
-<para><inlineequation>
-<alt role='tex'>A\hrulefill B</alt>
-<mathphrase>MathML export failed. Please report this as a bug.</mathphrase>
-</inlineequation></para>
-<para>Um die Befehle für Text zu verwenden, müssen sie im TeX-Modus eingegeben werden.</para>
-</section>
-</section>
-</article>
\ No newline at end of file
diff --git a/autotests/export/docbook/list_labeling_Development.lyx b/autotests/export/docbook/list_labeling_Development.lyx
new file mode 100644 (file)
index 0000000..996e96f
--- /dev/null
@@ -0,0 +1,524 @@
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 598
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin unavailable
+\textclass scrartcl
+\options BCOR8mm,captions=tableheading
+\use_default_options false
+\begin_modules
+logicalmkup
+\end_modules
+\maintain_unincluded_children no
+\language english
+\language_package default
+\inputencoding utf8
+\fontencoding auto
+\font_roman "lmodern" "default"
+\font_sans "lmss" "default"
+\font_typewriter "lmtt" "default"
+\font_math "auto" "auto"
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_roman_osf false
+\font_sans_osf false
+\font_typewriter_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 1
+\bibtex_command default
+\index_command default
+\paperfontsize 12
+\spacing single
+\use_hyperref true
+\pdf_title "LyX's Development manual"
+\pdf_author "LyX Team"
+\pdf_subject "LyX's development documentation"
+\pdf_keywords "LyX, Documentation, Development"
+\pdf_bookmarks true
+\pdf_bookmarksnumbered true
+\pdf_bookmarksopen true
+\pdf_bookmarksopenlevel 1
+\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 a4
+\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
+\use_lineno 0
+\notefontcolor #0000ff
+\index Index
+\shortcut idx
+\color #008000
+\end_index
+\secnumdepth 4
+\tocdepth 4
+\paragraph_separation indent
+\paragraph_indentation default
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
+\papercolumns 1
+\papersides 2
+\paperpagestyle headings
+\tablestyle default
+\tracking_changes false
+\output_changes false
+\change_bars false
+\postpone_fragile_content false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict true
+\docbook_table_output 0
+\end_header
+
+\begin_body
+
+\begin_layout Title
+Developing \SpecialChar LyX
+
+\end_layout
+
+\begin_layout Subtitle
+Version 2.3.x
+\end_layout
+
+\begin_layout Section
+File formats
+\end_layout
+
+\begin_layout Subsection
+When is an update of the .lyx file format number needed?
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:When-is-an"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+When you are working on a new feature you may ask yourself whether it needs
+ an update of the .lyx file format number.
+ Whether an update is needed or not is not always obvious.
+ Rule of thumb: 
+\end_layout
+
+\begin_layout Quote
+Whenever there is the danger that a previous version of LyX cannot open
+ a file using the new feature, a file format update is needed.
+\end_layout
+
+\begin_layout Standard
+The file format change allows lyx2lyx rules to implement backwards compatibility.
+ Below you can find a list of reasons for file format updates with explanations:
+\end_layout
+
+\begin_layout Description
+New
+\begin_inset space ~
+\end_inset
+
+document
+\begin_inset space ~
+\end_inset
+
+setting Whenever you introduce a new setting that is stored in the document
+ header, a file format update is needed.
+\end_layout
+
+\begin_layout Description
+Removed
+\begin_inset space ~
+\end_inset
+
+document
+\begin_inset space ~
+\end_inset
+
+setting If a certain setting becomes obsolete and gets removed, a file format
+ update is needed.
+\end_layout
+
+\begin_layout Description
+New
+\begin_inset space ~
+\end_inset
+
+valid
+\begin_inset space ~
+\end_inset
+
+value
+\begin_inset space ~
+\end_inset
+
+for
+\begin_inset space ~
+\end_inset
+
+an
+\begin_inset space ~
+\end_inset
+
+existing
+\begin_inset space ~
+\end_inset
+
+setting, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\end_layout
+
+\begin_deeper
+\begin_layout Description
+\paragraph_spacing single
+Automatically
+\begin_inset space ~
+\end_inset
+
+loaded
+\begin_inset space ~
+\end_inset
+
+math
+\begin_inset space ~
+\end_inset
+
+package The reason for this is that there is no true ERT inset for math
+ formulas: Each command is parsed, and if a user happens to define a local
+ command with the same name as a command that triggers an automatic load
+ of a package, they need to be able to switch off the automatic loading
+ of that package.
+ This switch is stored by the 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+use_package
+\end_layout
+
+\end_inset
+
+ header setting.
+\end_layout
+
+\begin_layout Description
+New
+\begin_inset space ~
+\end_inset
+
+language that is stored in 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+language
+\end_layout
+
+\end_inset
+
+.
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+This requirement is under discussion.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_deeper
+\begin_layout Description
+New
+\begin_inset space ~
+\end_inset
+
+inset Of course a new inset requires a file format update.
+\end_layout
+
+\begin_layout Description
+New
+\begin_inset space ~
+\end_inset
+
+style If a new style or inset layout is added to any layout file or module
+ shipped with \SpecialChar LyX
+, then a new file format is needed in the master (development)
+ branch.
+ It is possible to backport new styles to the stable version without a file
+ format change.
+\end_layout
+
+\begin_layout Description
+Removed
+\begin_inset space ~
+\end_inset
+
+style If a style or inset layout is removed in any layout file or module
+ shipped with \SpecialChar LyX
+, a new file format is required.
+\end_layout
+
+\begin_layout Standard
+However, 
+\series bold
+new
+\series default
+ layouts and modules do 
+\series bold
+not
+\series default
+ require a file format update (changed 03/16).
+\end_layout
+
+\begin_layout Standard
+If you are still unsure, please ask on the development list.
+\end_layout
+
+\begin_layout Paragraph
+\begin_inset CommandInset label
+LatexCommand label
+name "par:export-test-output-formats"
+
+\end_inset
+
+Output formats
+\end_layout
+
+\begin_layout Standard
+The following output formats are currently tested for each sample document:
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+LyX:
+\end_layout
+
+\begin_deeper
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+lyx16 LyX 1.6 file format (lyx2lyx)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+lyx21 LyX 2.1 file format (lyx2lyx)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+xhtml LyXHTML (native LyX HTML export)
+\end_layout
+
+\end_deeper
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+LyX
+\begin_inset space ~
+\end_inset
+
++
+\begin_inset space ~
+\end_inset
+
+LaTeX:
+\end_layout
+
+\begin_deeper
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+dvi DVI (8-bit latex)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+dvi3_texF DVI (LuaTeX with 8-bit TeX fonts)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+dvi3_systemF DVI (LuaTeX with Unicode fonts)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+pdf2 PDF (pdflatex)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+pdf4_texF PDF (XeTeX with 8-bit TeX fonts)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+pdf4_systemF PDF (XeTeX with Unicode fonts)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+pdf5_texF PDF (LuaTeX with 8-bit TeX fonts)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+pdf5_systemF PDF (LuaTeX with Unicode fonts)
+\end_layout
+
+\end_deeper
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+LyX
+\begin_inset space ~
+\end_inset
+
++
+\begin_inset space ~
+\end_inset
+
+LaTeX
+\begin_inset space ~
+\end_inset
+
++
+\begin_inset space ~
+\end_inset
+
+postprocessing:
+\end_layout
+
+\begin_deeper
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+pdf DVI -> PS (dvips) -> PDF (ps2pdf)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+pdf3 DVI -> PDF (dvipdfm)
+\end_layout
+
+\end_deeper
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+not
+\begin_inset space ~
+\end_inset
+
+tested: (or only if set as default output format in the document source)
+\end_layout
+
+\begin_deeper
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+latex LaTeX (plain)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+luatex LaTeX (LuaTeX)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+dviluatex LaTeX (dviluatex)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+pdflatex LaTeX (pdflatex)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+platex LaTeX (pLaTeX)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+xetex LaTeX (XeTeX) 
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+eps3 EPS (encapsulated Postscript) (cropped)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+ps DVI -> Postscript (dvips)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+odf
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+text (nor text2, ..., text4)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+textparagraph
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+word
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+word2
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring pdf5msystemFM
+wordhtml
+\end_layout
+
+\end_deeper
+\end_body
+\end_document
diff --git a/autotests/export/docbook/list_labeling_Development.xml b/autotests/export/docbook/list_labeling_Development.xml
new file mode 100644 (file)
index 0000000..9ec891d
--- /dev/null
@@ -0,0 +1,272 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This DocBook file was created by LyX 2.4.0dev
+  See http://www.lyx.org/ for more information -->
+<article xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
+<title>Developing LyX</title>
+<subtitle>Version 2.3.x</subtitle>
+<section>
+<title>File formats</title>
+<section xml:id="sec.When-is-an">
+<title>When is an update of the .lyx file format number needed?</title>
+<para>When you are working on a new feature you may ask yourself whether it needs an update of the .lyx file format number. Whether an update is needed or not is not always obvious. Rule of thumb: </para>
+<blockquote>
+<para>Whenever there is the danger that a previous version of LyX cannot open a file using the new feature, a file format update is needed.</para>
+</blockquote>
+<para>The file format change allows lyx2lyx rules to implement backwards compatibility. Below you can find a list of reasons for file format updates with explanations:</para>
+<variablelist>
+<varlistentry>
+<term>New&#xA0;document&#xA0;setting</term>
+<listitem>
+<para>Whenever you introduce a new setting that is stored in the document header, a file format update is needed.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>Removed&#xA0;document&#xA0;setting</term>
+<listitem>
+<para>If a certain setting becomes obsolete and gets removed, a file format update is needed.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>New&#xA0;valid&#xA0;value&#xA0;for&#xA0;an&#xA0;existing&#xA0;setting,</term>
+<listitem>
+<para>e.&#x2009;g.</para>
+<variablelist>
+<varlistentry>
+<term>Automatically&#xA0;loaded&#xA0;math&#xA0;package</term>
+<listitem>
+<para>The reason for this is that there is no true ERT inset for math formulas: Each command is parsed, and if a user happens to define a local command with the same name as a command that triggers an automatic load of a package, they need to be able to switch off the automatic loading of that package. This switch is stored by the use_package header setting.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>New&#xA0;language</term>
+<listitem>
+<para>that is stored in \language. </para>
+</listitem>
+</varlistentry>
+</variablelist>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>New&#xA0;inset</term>
+<listitem>
+<para>Of course a new inset requires a file format update.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>New&#xA0;style</term>
+<listitem>
+<para>If a new style or inset layout is added to any layout file or module shipped with LyX, then a new file format is needed in the master (development) branch. It is possible to backport new styles to the stable version without a file format change.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>Removed&#xA0;style</term>
+<listitem>
+<para>If a style or inset layout is removed in any layout file or module shipped with LyX, a new file format is required.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+<para>However, <emphasis role='bold'>new</emphasis> layouts and modules do <emphasis role='bold'>not</emphasis> require a file format update (changed 03/16). </para>
+<para>If you are still unsure, please ask on the development list.</para>
+<section xml:id="par.export-test-output-formats">
+<title>Output formats</title>
+<para>The following output formats are currently tested for each sample document:</para>
+<variablelist>
+<varlistentry>
+<term>LyX:</term>
+<listitem>
+<para />
+<variablelist>
+<varlistentry>
+<term>lyx16</term>
+<listitem>
+<para>LyX 1.6 file format (lyx2lyx)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>lyx21</term>
+<listitem>
+<para>LyX 2.1 file format (lyx2lyx)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>xhtml</term>
+<listitem>
+<para>LyXHTML (native LyX HTML export)</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>LyX&#xA0;+&#xA0;LaTeX:</term>
+<listitem>
+<para />
+<variablelist>
+<varlistentry>
+<term>dvi</term>
+<listitem>
+<para>DVI (8-bit latex)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>dvi3_texF</term>
+<listitem>
+<para>DVI (LuaTeX with 8-bit TeX fonts)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>dvi3_systemF</term>
+<listitem>
+<para>DVI (LuaTeX with Unicode fonts)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>pdf2</term>
+<listitem>
+<para>PDF (pdflatex)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>pdf4_texF</term>
+<listitem>
+<para>PDF (XeTeX with 8-bit TeX fonts)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>pdf4_systemF</term>
+<listitem>
+<para>PDF (XeTeX with Unicode fonts)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>pdf5_texF</term>
+<listitem>
+<para>PDF (LuaTeX with 8-bit TeX fonts)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>pdf5_systemF</term>
+<listitem>
+<para>PDF (LuaTeX with Unicode fonts)</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>LyX&#xA0;+&#xA0;LaTeX&#xA0;+&#xA0;postprocessing:</term>
+<listitem>
+<para />
+<variablelist>
+<varlistentry>
+<term>pdf</term>
+<listitem>
+<para>DVI -&gt; PS (dvips) -&gt; PDF (ps2pdf)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>pdf3</term>
+<listitem>
+<para>DVI -&gt; PDF (dvipdfm)</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>not&#xA0;tested:</term>
+<listitem>
+<para>(or only if set as default output format in the document source)</para>
+<variablelist>
+<varlistentry>
+<term>latex</term>
+<listitem>
+<para>LaTeX (plain)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>luatex</term>
+<listitem>
+<para>LaTeX (LuaTeX)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>dviluatex</term>
+<listitem>
+<para>LaTeX (dviluatex)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>pdflatex</term>
+<listitem>
+<para>LaTeX (pdflatex)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>platex</term>
+<listitem>
+<para>LaTeX (pLaTeX)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>xetex</term>
+<listitem>
+<para>LaTeX (XeTeX) </para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>eps3</term>
+<listitem>
+<para>EPS (encapsulated Postscript) (cropped)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>ps</term>
+<listitem>
+<para>DVI -&gt; Postscript (dvips)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>odf</term>
+<listitem>
+<para />
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>text</term>
+<listitem>
+<para>(nor text2, ..., text4)</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>textparagraph</term>
+<listitem>
+<para />
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>word</term>
+<listitem>
+<para />
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>word2</term>
+<listitem>
+<para />
+</listitem>
+</varlistentry>
+<varlistentry>
+<term>wordhtml</term>
+<listitem>
+<para />
+</listitem>
+</varlistentry>
+</variablelist>
+</listitem>
+</varlistentry>
+</variablelist>
+</section>
+</section>
+</section>
+</article>
\ No newline at end of file
diff --git a/autotests/export/docbook/lyxcode_Additional.lyx b/autotests/export/docbook/lyxcode_Additional.lyx
new file mode 100644 (file)
index 0000000..797e315
--- /dev/null
@@ -0,0 +1,535 @@
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 598
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin unavailable
+\textclass scrbook
+\begin_preamble
+% DO NOT ALTER THIS PREAMBLE!!!
+%
+% This preamble is designed to ensure that the manual prints
+% out as advertised. If you mess with this preamble,
+% parts of the manual may not print out as expected.  If you
+% have problems LaTeXing this file, please contact 
+% the documentation team
+% email: lyx-docs@lists.lyx.org
+
+% the pages of the TOC are numbered roman
+% and a PDF-bookmark for the TOC is added
+\pagenumbering{roman}
+\let\myTOC\tableofcontents
+\renewcommand{\tableofcontents}{%
+ \pdfbookmark[1]{\contentsname}{}
+ \myTOC
+ \cleardoublepage
+ \pagenumbering{arabic}}
+
+% extra space for tables
+\newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
+\end_preamble
+\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
+\use_default_options false
+\begin_modules
+logicalmkup
+theorems-ams
+theorems-ams-extended
+multicol
+shapepar
+\end_modules
+\maintain_unincluded_children no
+\language english
+\language_package default
+\inputencoding utf8
+\fontencoding auto
+\font_roman "lmodern" "default"
+\font_sans "lmss" "default"
+\font_typewriter "lmtt" "default"
+\font_math "auto" "auto"
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_roman_osf false
+\font_sans_osf false
+\font_typewriter_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
+\paperfontsize 12
+\spacing single
+\use_hyperref true
+\pdf_title "LyX's Additional Features manual"
+\pdf_author "LyX Team"
+\pdf_subject "LyX's additional features documentation"
+\pdf_keywords "LyX, Documentation, Additional"
+\pdf_bookmarks true
+\pdf_bookmarksnumbered true
+\pdf_bookmarksopen false
+\pdf_bookmarksopenlevel 1
+\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 a4
+\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
+\use_lineno 0
+\notefontcolor #0000ff
+\index Index
+\shortcut idx
+\color #008000
+\end_index
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\is_math_indent 1
+\math_indentation default
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
+\papercolumns 1
+\papersides 2
+\paperpagestyle headings
+\tablestyle default
+\tracking_changes false
+\output_changes false
+\change_bars false
+\postpone_fragile_content false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict true
+\docbook_table_output 0
+\end_header
+
+\begin_body
+
+\begin_layout Title
+Additional \SpecialChar LyX
+ Features
+\end_layout
+
+\begin_layout Subtitle
+Version 2.3.x
+\end_layout
+
+\begin_layout Author
+by the \SpecialChar LyX
+ Team
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\noindent
+Principal maintainer of this file is
+\noun on
+ Richard Heck
+\noun default
+.
+ If you have comments or error corrections, please send them to the \SpecialChar LyX
+ Documentati
+on mailing list, 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+<lyx-docs@lists.lyx.org>
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset toc
+LatexCommand tableofcontents
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Chapter
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Inserting-TeX-Code"
+
+\end_inset
+
+Inserting \SpecialChar TeX
+ Code into \SpecialChar LyX
+ Documents
+\end_layout
+
+\begin_layout Standard
+Anything you can do in \SpecialChar LaTeX
+ you can do in \SpecialChar LyX
+, for a very simple reason: You can
+ always insert \SpecialChar TeX
+ code into any \SpecialChar LyX
+ document.
+ \SpecialChar LyX
+ cannot, and will never be able to, display every possible \SpecialChar LaTeX
+ construct.
+ If ever you need to insert \SpecialChar LaTeX
+ commands into your \SpecialChar LyX
+ document, you can use the
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar TeX
+ Code
+\end_layout
+
+\end_inset
+
+ box, which you can insert into your document with 
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+Insert\SpecialChar menuseparator
+
+\family sans
+TeX
+\family default
+ Code
+\end_layout
+
+\end_inset
+
+ or the keyboard shortcut 
+\begin_inset Info
+type  "shortcut"
+arg   "ert-insert"
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Here's an example of inserting \SpecialChar LaTeX
+ commands in a \SpecialChar LyX
+ document.
+ The code looks like this:
+\end_layout
+
+\begin_layout LyX-Code
+
+\backslash
+begin{tabular}{ll}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+begin{minipage}{5cm}
+\begin_inset Newline newline
+\end_inset
+
+This is an example of a minipage environment.
+ You 
+\begin_inset Newline newline
+\end_inset
+
+can put nearly everything in it, even (non-floating) 
+\begin_inset Newline newline
+\end_inset
+
+figures and tables.
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+end{minipage}
+\begin_inset Newline newline
+\end_inset
+
+&
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+begin{minipage}{5cm}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+begin{verbatim}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+begin{minipage}{5cm}
+\begin_inset Newline newline
+\end_inset
+
+This ...
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+end{minipage}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+end{verbatim}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+end{minipage}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+end{tabular}
+\end_layout
+
+\begin_layout Section
+Cross-References Between Files
+\end_layout
+
+\begin_layout Standard
+\begin_inset Box Shadowbox
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+This section is somewhat out of date.
+ Need to describe default master documents and how children are opened when
+ the master is.
+ [[FIXME]]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+AMS \SpecialChar LaTeX
+
+\end_layout
+
+\begin_layout Standard
+These same environments are provided only in the starred versions by the
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Theorems (Starred)
+\end_layout
+
+\end_inset
+
+ module:
+\end_layout
+
+\begin_layout Theorem
+This is typically used for the statements of major results.
+\end_layout
+
+\begin_layout Corollary*
+This is used for statements which follow fairly directly from previous statement
+s.
+ Again, these can be major results.
+\end_layout
+
+\begin_layout Lemma
+These are smaller results needed to prove other statements.
+\end_layout
+
+\begin_layout Proposition
+These are less major results which (hopefully) add to the general theory
+ being discussed.
+\end_layout
+
+\begin_layout Conjecture
+These are statements provided without justification, which the author does
+ not know how to prove, but which seem to be true (to the author, at least).
+\end_layout
+
+\begin_layout Definition*
+Guess what this is for.
+ The font is different for this environment than for the previous ones.
+\end_layout
+
+\begin_layout Example*
+Used for examples illustrating proven results.
+\end_layout
+
+\begin_layout Problem
+It's not really known what this is for.
+ You should figure it out.
+\end_layout
+
+\begin_layout Exercise*
+Write a description for this one.
+\end_layout
+
+\begin_layout Remark
+This environment is also a type of theorem, usually a lesser sort of observation.
+\end_layout
+
+\begin_layout Claim*
+Often used in the course of giving a proof of a larger result.
+\end_layout
+
+\begin_layout Case
+Generally, these are used to break up long arguments, using specific instances
+ of some condition.
+\end_layout
+
+\begin_layout Case
+The numbering scheme for cases is on its own, not together with other numbered
+ statements.
+\end_layout
+
+\begin_layout Proof
+At the end of this environment, a QED symbol (usually a square, but it can
+ vary with different styles) is placed.
+ If you want to have other environments within this one—for example, Case
+ environments—and have the QED symbol appear only after them, then the other
+ environments need to be nested within the proof environment.
+ See the section 
+\emph on
+Nesting Environments
+\emph default
+ of the 
+\emph on
+User's Guide
+\emph default
+ for information on nesting.
+\end_layout
+
+\begin_layout Standard
+And these environments are provided by 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Theorems (AMS-Extended)
+\end_layout
+
+\end_inset
+
+:
+\end_layout
+
+\begin_layout Criterion*
+A required condition.
+\end_layout
+
+\begin_layout Algorithm*
+A general procedure to be used.
+\end_layout
+
+\begin_layout Axiom*
+This is a property or statement taken as true within the system being discussed.
+\end_layout
+
+\begin_layout Condition*
+Sometimes used to state a condition assumed within the present context of
+ discussion.
+\end_layout
+
+\begin_layout Note*
+Similar to a Remark.
+\end_layout
+
+\begin_layout Notation*
+Used for the explanation of, yes, notation.
+\end_layout
+
+\begin_layout Summary
+Do we really need to tell you? 
+\end_layout
+
+\begin_layout Acknowledgement*
+Acknowledgement.
+\end_layout
+
+\begin_layout Conclusion*
+Sometimes used at the end of a long train of argument.
+\end_layout
+
+\begin_layout Fact
+Used in a way similar to Proposition, though perhaps lower on the scale.
+\end_layout
+
+\begin_layout Standard
+In addition, the AMS classes automatically provide the AMS \SpecialChar LaTeX
+ and AMS fonts
+ packages.
+ They need to be available on your system in order to use these environments.
+\end_layout
+
+\end_body
+\end_document
diff --git a/autotests/export/docbook/lyxcode_Additional.xml b/autotests/export/docbook/lyxcode_Additional.xml
new file mode 100644 (file)
index 0000000..f42ac9f
--- /dev/null
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This DocBook file was created by LyX 2.4.0dev
+  See http://www.lyx.org/ for more information -->
+<book xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
+<info>
+<title>Additional LyX Features</title>
+<subtitle>Version 2.3.x</subtitle>
+<author>
+<personname>by the LyX Team<footnote>
+<para>Principal maintainer of this file is<personname> Richard Heck</personname>. If you have comments or error corrections, please send them to the LyX Documentation mailing list, <code>&lt;lyx-docs@lists.lyx.org&gt;</code>.</para>
+</footnote></personname>
+</author>
+</info>
+<chapter xml:id="sec.Inserting-TeX-Code">
+<title>Inserting TeX Code into LyX Documents</title>
+<para>Anything you can do in LaTeX you can do in LyX, for a very simple reason: You can always insert TeX code into any LyX document. LyX cannot, and will never be able to, display every possible LaTeX construct. If ever you need to insert LaTeX commands into your LyX document, you can use the <code>TeX Code</code> box, which you can insert into your document with <personname>Insert&#x21D2;TeX Code</personname> or the keyboard shortcut <keycap>Ctrl+L</keycap>.</para>
+<para>Here's an example of inserting LaTeX commands in a LyX document. The code looks like this:</para>
+<programlisting language='lyx'>\begin{tabular}{ll}
+\begin{minipage}{5cm}
+This is an example of a minipage environment. You 
+can put nearly everything in it, even (non-floating) 
+figures and tables. 
+\end{minipage}
+&amp;
+\begin{minipage}{5cm}
+\begin{verbatim}
+\begin{minipage}{5cm}
+This ... 
+\end{minipage}
+\end{verbatim}
+\end{minipage}
+\end{tabular}</programlisting>
+<section>
+<title>Cross-References Between Files</title>
+<sidebar role='shadowbox'>
+<para>This section is somewhat out of date. Need to describe default master documents and how children are opened when the master is. [[FIXME]]</para>
+</sidebar>
+</section>
+<section>
+<title>AMS LaTeX</title>
+<para>These same environments are provided only in the starred versions by the <code>Theorems (Starred)</code> module:</para>
+<para role='theorem'>This is typically used for the statements of major results. </para>
+<para role='corollary'>This is used for statements which follow fairly directly from previous statements. Again, these can be major results. </para>
+<para role='lemma'>These are smaller results needed to prove other statements.</para>
+<para role='proposition'>These are less major results which (hopefully) add to the general theory being discussed.</para>
+<para role='conjecture'>These are statements provided without justification, which the author does not know how to prove, but which seem to be true (to the author, at least).</para>
+<para role='definition'>Guess what this is for. The font is different for this environment than for the previous ones. </para>
+<informalexample>
+<para>Used for examples illustrating proven results.</para>
+</informalexample>
+<para role='problem'>It's not really known what this is for. You should figure it out.</para>
+<para role='exercise'>Write a description for this one.</para>
+<note role='theorem'>
+<para>This environment is also a type of theorem, usually a lesser sort of observation.</para>
+</note>
+<para role='claim'>Often used in the course of giving a proof of a larger result.</para>
+<para role='cases'>Generally, these are used to break up long arguments, using specific instances of some condition. The numbering scheme for cases is on its own, not together with other numbered statements. </para>
+<para role='proof'>At the end of this environment, a QED symbol (usually a square, but it can vary with different styles) is placed. If you want to have other environments within this one—for example, Case environments—and have the QED symbol appear only after them, then the other environments need to be nested within the proof environment. See the section <emphasis>Nesting Environments</emphasis> of the <emphasis>User's Guide</emphasis> for information on nesting.</para>
+<para>And these environments are provided by <code>Theorems (AMS-Extended)</code>:</para>
+<para role='criterion'>A required condition.</para>
+<para role='algorithm'>A general procedure to be used.</para>
+<para role='axiom'>This is a property or statement taken as true within the system being discussed.</para>
+<para role='condition'>Sometimes used to state a condition assumed within the present context of discussion.</para>
+<note role='theorem'>
+<para>Similar to a Remark.</para>
+</note>
+<para role='notation'>Used for the explanation of, yes, notation.</para>
+<para role='summary'>Do we really need to tell you? </para>
+<para role='acknowledgement'>Acknowledgement.</para>
+<para role='conclusion'>Sometimes used at the end of a long train of argument.</para>
+<para role='fact'>Used in a way similar to Proposition, though perhaps lower on the scale.</para>
+<para>In addition, the AMS classes automatically provide the AMS LaTeX and AMS fonts packages. They need to be available on your system in order to use these environments.</para>
+</section>
+</chapter>
+</book>
\ No newline at end of file
diff --git a/autotests/export/docbook/math_not_recognised_doc_de_Math.lyx b/autotests/export/docbook/math_not_recognised_doc_de_Math.lyx
new file mode 100644 (file)
index 0000000..a0e9bf2
--- /dev/null
@@ -0,0 +1,324 @@
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 599
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin unavailable
+\textclass scrartcl
+\begin_preamble
+% DO NOT ALTER THIS PREAMBLE!!!
+%
+% This preamble is designed to ensure that the file prints
+% out as advertised. If you mess with this preamble,
+% parts of this document may not print out as expected.  If you
+% have problems LaTeXing this file, please contact 
+% the documentation team
+% email: lyx-docs@lists.lyx.org
+
+% Folgendes Problem lösen:
+% Besteht die Kapitelnummer aus zu vielen Ziffern, wird  die
+% Kapitelüberschrift im Inhaltsverzeichnis direkt an oder über
+% die Kapitelnummer geschrieben.
+% Als Lösung wird mehr Platz zwischen Nummer und
+% Überschrift eingefügt.
+\renewcommand{\l@subsection}{\@dottedtocline{2}{1.5em}{2.8em}}
+\renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.3em}{3.6em}}
+
+% Linkfläche für Querverweise vergrößern und automatisch benennen,
+\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
+\@ifpackageloaded{babel}{
+ \addto\extrasngerman{%
+  \renewcommand*{\equationautorefname}[1]{}%
+  \renewcommand{\sectionautorefname}{Kap.\negthinspace}%
+  \renewcommand{\subsectionautorefname}{Kap.\negthinspace}%
+  \renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}%
+ }
+}{}
+
+% Makros damit Pakete nicht doppelt geladen werden.
+% siehe erste Fußnote in Kap. 9.3
+\@ifundefined{textcolor}{\usepackage{color}}{}
+
+% Die Seiten des Inhaltsverzeichnisses werden römisch numeriert,
+% ein PDF-Lesezeichen für das Inhaltsverzeichnis wird hinzugefügt
+\pagenumbering{roman}
+\let\myTOC\tableofcontents
+\renewcommand{\tableofcontents}{%
+ \vspace{1cm}
+ \pdfbookmark[1]{\contentsname}{}
+ \myTOC
+ \cleardoublepage
+ \pagenumbering{arabic}}
+
+% add 0.5 mm vertical space for table rows
+\@ifundefined{extrarowheight} {\usepackage{array}}{}
+\setlength{\extrarowheight}{0.5mm}
+
+% Damit die Fußnoten einen zusätzlichen vertikalen Abstand von 1,5 mm haben,
+\let\myFoot\footnote
+\renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
+
+% macht Beschriftungen fett
+\setkomafont{captionlabel}{\bfseries}
+
+% enables calculation of values
+\usepackage{calc}
+
+% für Mehrfachzeilen, benutzt in Kap. 24.7
+\usepackage{multicol}
+
+% benutzt in Kap. 19.4
+\usepackage{remreset}
+
+% für das Fourier-Transformationssymbol
+\usepackage{mathrsfs}
+
+% Farbdefinition aus Kap. 9.3
+\definecolor{dunkelgruen}{cmyk}{0.5, 0, 1, 0.5}
+
+% Operatoren deklarieren (siehe Kap. 10.4 und 15.2)
+\DeclareMathOperator*{\Raute}{\blacklozenge}
+\DeclareMathOperator{\sgn}{sgn}
+
+% Beispielbefehle aus Kap. 20.1 
+\newcommand{\gr}{\Longrightarrow}
+\newcommand{\us}[1]{\underline{#1}}
+\newcommand{\fb}[3]{\framebox#1#2{$#3$}}
+\newcommand{\cb}[3][white]{\fcolorbox{#2}{#1}{$#3$}}
+\newcommand{\fracS}[3][]{\genfrac{}{}{#1}{}{#2}{#3}}
+
+% Beispielmakro aus Kap. 19.4
+%\AtBeginDocument{
+%\def\tagform@#1{\maketag@@@{|#1|}}
+%}
+
+\@ifpackageloaded{babel}{
+ % Damit der Index einen anderen Namen erhält.
+ \addto\captionsngerman
+ {\renewcommand{\indexname}
+ {Stichwort- und Befehlsverzeichnis}}
+}{}
+
+% ------------------------------------
+% used to check for needed LaTeX packages
+\usepackage{ifthen}
+
+% testen ob das Paket undertilde installiert ist
+% wird benutzt für den Befehl \utilde
+\newboolean{undertilde}
+\IfFileExists{undertilde.sty}
+ {\usepackage{undertilde}
+  \setboolean{undertilde}{true}}
+ {\setboolean{undertilde}{false}}
+
+% testen ob das Paket eurosym installiert ist
+% wird benutzt für das Euro-Symbol
+\newboolean{eurosym}
+\IfFileExists{eurosym.sty}
+ {\usepackage[gennarrow]{eurosym}
+  \setboolean{eurosym}{true}}
+ {\setboolean{eurosym}{false}}
+
+% testen ob Paket braket installiert ist
+% benötigt für physikalische Vektoren
+\newboolean{braket}
+\IfFileExists{braket.sty}
+ {\usepackage{braket}
+  \setboolean{braket}{true}}
+ {\setboolean{braket}{false}}
+
+% testen ob Paket cancel installiert ist
+\newboolean{cancel}
+\IfFileExists{cancel.sty}
+ {\usepackage{cancel}
+  \setboolean{cancel}{true}}
+ {\setboolean{cancel}{false}}
+
+% testen ob Paket upgreek installiert ist
+\newboolean{upgreek}
+\IfFileExists{upgreek.sty}
+ {\usepackage{upgreek}
+  \setboolean{upgreek}{true}}
+ {\setboolean{upgreek}{false}}
+
+% benötigt für Kommas in Formeln, siehe Kap. 22.3
+\IfFileExists{icomma.sty}
+ {\usepackage{icomma}}{}
+% Added by lyx2lyx
+\setlength{\parskip}{\medskipamount}
+\setlength{\parindent}{0pt}
+\end_preamble
+\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
+\use_default_options false
+\begin_modules
+subequations
+\end_modules
+\maintain_unincluded_children no
+\language ngerman
+\language_package default
+\inputencoding utf8
+\fontencoding auto
+\font_roman "lmodern" "default"
+\font_sans "lmss" "default"
+\font_typewriter "lmtt" "default"
+\font_math "auto" "auto"
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_roman_osf false
+\font_sans_osf false
+\font_typewriter_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures false
+\graphics default
+\default_output_format pdf2
+\output_sync 0
+\bibtex_command default
+\index_command makeindex
+\paperfontsize 12
+\spacing single
+\use_hyperref true
+\pdf_title "LyXs Mathehandbuch"
+\pdf_author "LyX Team, Uwe Stöhr"
+\pdf_subject "LyX-Dokumentation der Mathefunktionen"
+\pdf_keywords "LyX, Mathed"
+\pdf_bookmarks true
+\pdf_bookmarksnumbered true
+\pdf_bookmarksopen true
+\pdf_bookmarksopenlevel 1
+\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 a4
+\use_geometry false
+\use_package amsmath 2
+\use_package amssymb 2
+\use_package cancel 1
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 2
+\use_package mhchem 1
+\use_package stackrel 1
+\use_package stmaryrd 1
+\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 true
+\use_refstyle 0
+\use_minted 0
+\use_lineno 0
+\notefontcolor #0000ff
+\index Stichwortverzeichnis
+\shortcut idx
+\color #008000
+\end_index
+\secnumdepth 4
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style german
+\dynamic_quotes 0
+\papercolumns 1
+\papersides 2
+\paperpagestyle plain
+\tablestyle default
+\bullet 1 0 6 -1
+\bullet 2 2 35 -1
+\bullet 3 2 7 -1
+\tracking_changes false
+\output_changes false
+\change_bars false
+\postpone_fragile_content false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\docbook_table_output 0
+\end_header
+
+\begin_body
+
+\begin_layout Title
+\SpecialChar LyX
+' detailliertes Mathe Handbuch
+\end_layout
+
+\begin_layout Section
+Grundlegende Funktionen
+\end_layout
+
+\begin_layout Subsection
+Fortsetzungspunkte
+\end_layout
+
+\begin_layout Standard
+Z.
+\begin_inset space \thinspace{}
+\end_inset
+
+B.
+ ergibt der Befehl 
+\series bold
+A
+\backslash
+dotfill
+\begin_inset space \textvisiblespace{}
+\end_inset
+
+B
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula $A\dotfill B$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Analog dazu gibt es für eine Linie den Befehl 
+\series bold
+
+\backslash
+hrulefill
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Befehle ! H ! 
+\backslash
+hrulefill
+\end_layout
+
+\end_inset
+
+:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula $A\hrulefill B$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Um die Befehle für Text zu verwenden, müssen sie im \SpecialChar TeX
+-Modus eingegeben werden.
+\end_layout
+
+\end_body
+\end_document
diff --git a/autotests/export/docbook/math_not_recognised_doc_de_Math.xml b/autotests/export/docbook/math_not_recognised_doc_de_Math.xml
new file mode 100644 (file)
index 0000000..5f4a240
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This DocBook file was created by LyX 2.4.0dev
+  See http://www.lyx.org/ for more information -->
+<article xml:lang="de_DE" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
+<title>LyX' detailliertes Mathe Handbuch</title>
+<section>
+<title>Grundlegende Funktionen</title>
+<section>
+<title>Fortsetzungspunkte</title>
+<para>Z.&#x2009;B. ergibt der Befehl <emphasis role='bold'>A\dotfill&#x2423;B</emphasis></para>
+<para><inlineequation>
+<alt role='tex'>A\dotfill B</alt>
+<mathphrase>MathML export failed. Please report this as a bug.</mathphrase>
+</inlineequation></para>
+<para>Analog dazu gibt es für eine Linie den Befehl <emphasis role='bold'>\hrulefill</emphasis><indexterm><primary>Befehle</primary><secondary>H</secondary><tertiary>\textbackslash hrulefill</tertiary></indexterm>:</para>
+<para><inlineequation>
+<alt role='tex'>A\hrulefill B</alt>
+<mathphrase>MathML export failed. Please report this as a bug.</mathphrase>
+</inlineequation></para>
+<para>Um die Befehle für Text zu verwenden, müssen sie im TeX-Modus eingegeben werden.</para>
+</section>
+</section>
+</article>
\ No newline at end of file
diff --git a/autotests/export/docbook/table_float_regression_Intro.lyx b/autotests/export/docbook/table_float_regression_Intro.lyx
new file mode 100644 (file)
index 0000000..c777391
--- /dev/null
@@ -0,0 +1,676 @@
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 599
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin unavailable
+\textclass article
+\begin_preamble
+% DO NOT ALTER THIS PREAMBLE!!!
+%
+%This preamble is designed to ensure that the document prints
+% out as advertised. If you mess with this preamble,
+% parts of the document may not print out as expected.  If you
+% have problems LaTeXing this file, please contact 
+% the documentation team
+% email: lyx-docs@lists.lyx.org
+
+% the pages of the TOC is numbered roman
+% and a pdf-bookmark for the TOC is added
+\pagenumbering{roman}
+\let\myTOC\tableofcontents
+\renewcommand\tableofcontents{%
+  \pdfbookmark[1]{\contentsname}{}
+  \myTOC
+  \cleardoublepage
+  \pagenumbering{arabic} }
+\end_preamble
+\use_default_options false
+\maintain_unincluded_children no
+\language french
+\language_package default
+\inputencoding utf8
+\fontencoding auto
+\font_roman "palatino" "default"
+\font_sans "helvet" "default"
+\font_typewriter "courier" "default"
+\font_math "auto" "auto"
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc true
+\font_roman_osf false
+\font_sans_osf false
+\font_typewriter_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures false
+\graphics default
+\default_output_format pdf2
+\output_sync 0
+\bibtex_command default
+\index_command default
+\paperfontsize 12
+\spacing single
+\use_hyperref true
+\pdf_title "Introduction à LyX"
+\pdf_author "L'équipe LyX, Traduction: Adrien Rebollo et Siegfried Meunier-Guttin-Cluzel"
+\pdf_subject "Documentation Introduction"
+\pdf_keywords "LyX, documentation"
+\pdf_bookmarks true
+\pdf_bookmarksnumbered true
+\pdf_bookmarksopen true
+\pdf_bookmarksopenlevel 2
+\pdf_breaklinks true
+\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 a4
+\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
+\use_lineno 0
+\index 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 swiss
+\dynamic_quotes 0
+\papercolumns 1
+\papersides 2
+\paperpagestyle default
+\tablestyle default
+\tracking_changes false
+\output_changes false
+\change_bars false
+\postpone_fragile_content false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\docbook_table_output 0
+\end_header
+
+\begin_body
+
+\begin_layout Title
+Introduction à \SpecialChar LyX
+
+\end_layout
+
+\begin_layout Section
+La philosophie de \SpecialChar LyX
+
+\end_layout
+
+\begin_layout Standard
+Le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Unités"
+
+\end_inset
+
+ décrit les unités utilisées dans \SpecialChar LyX
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Unités"
+
+\end_inset
+
+Unités
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="20" columns="2">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+unité
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+nom/description
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+mm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+millimètre
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+cm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+centimètre
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+in
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+inch/pouce (1
+\begin_inset space \thinspace{}
+\end_inset
+
+in = 2.54
+\begin_inset space \thinspace{}
+\end_inset
+
+cm)
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+pt
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+point (72.27
+\begin_inset space \thinspace{}
+\end_inset
+
+pt = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+in)
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+pc
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+pica (1
+\begin_inset space \thinspace{}
+\end_inset
+
+pc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sp
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+scaled point/point divisé (65536
+\begin_inset space \thinspace{}
+\end_inset
+
+sp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+bp
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+big point/point arrondi (72
+\begin_inset space \thinspace{}
+\end_inset
+
+bp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+in)
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+dd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+didot (72
+\begin_inset space \thinspace{}
+\end_inset
+
+dd 
+\begin_inset Formula $\approx$
+\end_inset
+
+ 37.6
+\begin_inset space \thinspace{}
+\end_inset
+
+mm)
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+cc
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+cicero (1
+\begin_inset space \thinspace{}
+\end_inset
+
+cc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+dd)
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Scale%
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% largeur originale
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text%
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% largeur du texte
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+col%
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% largeur de la colonne
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+page%
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% largeur du papier
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+line%
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% de la ligne
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+theight%
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% hauteur du texte
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+pheight%
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% hauteur du papier
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+ex
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+hauteur de la lettre 
+\emph on
+x
+\emph default
+ dans la police courante
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+em
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+largeur de la lettre 
+\emph on
+M
+\emph default
+ dans la police courante
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+mu
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+unité mathématique (1
+\begin_inset space \thinspace{}
+\end_inset
+
+mu = 1/18
+\begin_inset space \thinspace{}
+\end_inset
+
+em)
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_body
+\end_document
diff --git a/autotests/export/docbook/table_float_regression_Intro.xml b/autotests/export/docbook/table_float_regression_Intro.xml
new file mode 100644 (file)
index 0000000..28ddb2e
--- /dev/null
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This DocBook file was created by LyX 2.4.0dev
+  See http://www.lyx.org/ for more information -->
+<article xml:lang="fr_FR" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
+<title>Introduction à LyX</title>
+<section>
+<title>La philosophie de LyX</title>
+<para>Le tableau&#xA0;<xref linkend="tab.Unit-s" /> décrit les unités utilisées dans LyX.</para>
+<tbody>
+<tr>
+<td align='center' valign='top'>unité</td>
+<td align='center' valign='top'>nom/description</td>
+</tr>
+<tr>
+<td align='center' valign='top'>mm</td>
+<td align='center' valign='top'>millimètre</td>
+</tr>
+<tr>
+<td align='center' valign='top'>cm</td>
+<td align='center' valign='top'>centimètre</td>
+</tr>
+<tr>
+<td align='center' valign='top'>in</td>
+<td align='center' valign='top'>inch/pouce (1&#x2009;in = 2.54&#x2009;cm)</td>
+</tr>
+<tr>
+<td align='center' valign='top'>pt</td>
+<td align='center' valign='top'>point (72.27&#x2009;pt = 1&#x2009;in)</td>
+</tr>
+<tr>
+<td align='center' valign='top'>pc</td>
+<td align='center' valign='top'>pica (1&#x2009;pc = 12&#x2009;pt)</td>
+</tr>
+<tr>
+<td align='center' valign='top'>sp</td>
+<td align='center' valign='top'>scaled point/point divisé (65536&#x2009;sp = 1&#x2009;pt)</td>
+</tr>
+<tr>
+<td align='center' valign='top'>bp</td>
+<td align='center' valign='top'>big point/point arrondi (72&#x2009;bp = 1&#x2009;in)</td>
+</tr>
+<tr>
+<td align='center' valign='top'>dd</td>
+<td align='center' valign='top'>didot (72&#x2009;dd <inlineequation>
+<alt role='tex'>\approx</alt>
+ <m:math>
+ <m:mrow><m:mo>&#x2248;</m:mo>
+ </m:mrow>
+ </m:math>
+</inlineequation> 37.6&#x2009;mm)</td>
+</tr>
+<tr>
+<td align='center' valign='top'>cc</td>
+<td align='center' valign='top'>cicero (1&#x2009;cc = 12&#x2009;dd)</td>
+</tr>
+<tr>
+<td align='center' valign='top'>Scale%</td>
+<td align='center' valign='top'>% largeur originale</td>
+</tr>
+<tr>
+<td align='center' valign='top'>text%</td>
+<td align='center' valign='top'>% largeur du texte</td>
+</tr>
+<tr>
+<td align='center' valign='top'>col%</td>
+<td align='center' valign='top'>% largeur de la colonne</td>
+</tr>
+<tr>
+<td align='center' valign='top'>page%</td>
+<td align='center' valign='top'>% largeur du papier</td>
+</tr>
+<tr>
+<td align='center' valign='top'>line%</td>
+<td align='center' valign='top'>% de la ligne</td>
+</tr>
+<tr>
+<td align='center' valign='top'>theight%</td>
+<td align='center' valign='top'>% hauteur du texte</td>
+</tr>
+<tr>
+<td align='center' valign='top'>pheight%</td>
+<td align='center' valign='top'>% hauteur du papier</td>
+</tr>
+<tr>
+<td align='center' valign='top'>ex</td>
+<td align='center' valign='top'>hauteur de la lettre x dans la police courante</td>
+</tr>
+<tr>
+<td align='center' valign='top'>em</td>
+<td align='center' valign='top'>largeur de la lettre M dans la police courante</td>
+</tr>
+<tr>
+<td align='center' valign='top'>mu</td>
+<td align='center' valign='top'>unité mathématique (1&#x2009;mu = 1/18&#x2009;em)</td>
+</tr>
+</tbody>
+<table xml:id="tab.Unit-s">
+<caption>Unités</caption>
+<mediaobject>
+<textobject>
+<phrase>This figure is empty.</phrase>
+</textobject>
+</mediaobject>
+</table>
+</section>
+</article>
\ No newline at end of file