mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
ctests: add test cases for DocBook
Patch from Thibaut Cuvelier.
This commit is contained in:
parent
bf54b5671e
commit
1e63aebc3e
148
autotests/export/docbook/stray_emph.lyx
Normal file
148
autotests/export/docbook/stray_emph.lyx
Normal file
@ -0,0 +1,148 @@
|
|||||||
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
|
\lyxformat 619
|
||||||
|
\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 catalan
|
||||||
|
\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 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 default
|
||||||
|
\float_placement class
|
||||||
|
\float_alignment class
|
||||||
|
\paperfontsize 12
|
||||||
|
\spacing single
|
||||||
|
\use_hyperref true
|
||||||
|
\pdf_title "Introducció al LyX"
|
||||||
|
\pdf_author "LyX Team, translation: Joan Montané, Daniel Fernández"
|
||||||
|
\pdf_subject "LyX-documentation Introducció"
|
||||||
|
\pdf_keywords "LyX, Documentation"
|
||||||
|
\pdf_bookmarks true
|
||||||
|
\pdf_bookmarksnumbered true
|
||||||
|
\pdf_bookmarksopen true
|
||||||
|
\pdf_bookmarksopenlevel 2
|
||||||
|
\pdf_breaklinks false
|
||||||
|
\pdf_pdfborder false
|
||||||
|
\pdf_colorlinks true
|
||||||
|
\pdf_backref false
|
||||||
|
\pdf_pdfusetitle false
|
||||||
|
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
|
||||||
|
\papersize 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_formatted_ref 0
|
||||||
|
\use_minted 0
|
||||||
|
\use_lineno 0
|
||||||
|
\index Índex
|
||||||
|
\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 french
|
||||||
|
\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
|
||||||
|
\docbook_mathml_prefix 1
|
||||||
|
\end_header
|
||||||
|
|
||||||
|
\begin_body
|
||||||
|
|
||||||
|
\begin_layout Title
|
||||||
|
Introducció al \SpecialChar LyX
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
El LaTeX és un sistemaf
|
||||||
|
\begin_inset Foot
|
||||||
|
status open
|
||||||
|
|
||||||
|
\begin_layout Plain Layout
|
||||||
|
la bibliografia.
|
||||||
|
|
||||||
|
\emph on
|
||||||
|
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
.
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\end_body
|
||||||
|
\end_document
|
9
autotests/export/docbook/stray_emph.xml
Normal file
9
autotests/export/docbook/stray_emph.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- This DocBook file was created by LyX 2.4.0~RC1.devel
|
||||||
|
See https://www.lyx.org/ for more information -->
|
||||||
|
<article xml:lang="ca-ES" 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>Introducció al LyX</title>
|
||||||
|
<para>El LaTeX és un sistemaf<footnote>
|
||||||
|
<para>la bibliografia.<emphasis></emphasis> </para>
|
||||||
|
</footnote>.</para>
|
||||||
|
</article>
|
Loading…
Reference in New Issue
Block a user