mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
XHTML: add new test case that uses the new NONE HTML tag (Verbatim environment).
Excerpt from https://www.lyx.org/trac/ticket/10553.
This commit is contained in:
parent
3925809170
commit
e6af50108a
125
autotests/export/xhtml/verbatim_validity.lyx
Normal file
125
autotests/export/xhtml/verbatim_validity.lyx
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
|
\lyxformat 612
|
||||||
|
\begin_document
|
||||||
|
\begin_header
|
||||||
|
\save_transient_properties true
|
||||||
|
\origin unavailable
|
||||||
|
\textclass article
|
||||||
|
\use_default_options true
|
||||||
|
\maintain_unincluded_children no
|
||||||
|
\language english
|
||||||
|
\language_package default
|
||||||
|
\inputencoding auto-legacy
|
||||||
|
\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 true
|
||||||
|
\graphics default
|
||||||
|
\default_output_format default
|
||||||
|
\output_sync 0
|
||||||
|
\bibtex_command default
|
||||||
|
\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 1
|
||||||
|
\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 true
|
||||||
|
\docbook_table_output 0
|
||||||
|
\docbook_mathml_prefix 1
|
||||||
|
\end_header
|
||||||
|
|
||||||
|
\begin_body
|
||||||
|
|
||||||
|
\begin_layout Section*
|
||||||
|
A section
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
A text
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Quote
|
||||||
|
A quote
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Quotation
|
||||||
|
A quotation
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
More text
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Verse
|
||||||
|
a verse
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
Much more text
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Verbatim*
|
||||||
|
And verbatim
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
And finally more text
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\end_body
|
||||||
|
\end_document
|
74
autotests/export/xhtml/verbatim_validity.xhtml
Normal file
74
autotests/export/xhtml/verbatim_validity.xhtml
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta name="GENERATOR" content="LyX 2.4.0dev" />
|
||||||
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
|
||||||
|
<title>LyX Document</title>
|
||||||
|
<style type='text/css'>
|
||||||
|
/* Layout-provided Styles */
|
||||||
|
h2.section_ {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: x-large;
|
||||||
|
margin-top: 1.3ex;
|
||||||
|
margin-bottom: 0.7ex;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
|
}
|
||||||
|
div.standard {
|
||||||
|
margin-bottom: 2ex;
|
||||||
|
}
|
||||||
|
blockquote.quote {
|
||||||
|
margin-top: 0.5ex;
|
||||||
|
margin-bottom: 0.5ex;
|
||||||
|
margin-left: 3ex;
|
||||||
|
margin-right: 3ex;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
|
}
|
||||||
|
blockquote.quotation {
|
||||||
|
margin-top: 0.5ex;
|
||||||
|
margin-bottom: 0.5ex;
|
||||||
|
margin-left: 3ex;
|
||||||
|
margin-right: 3ex;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
|
}
|
||||||
|
blockquote.verse {
|
||||||
|
margin-top: 0.7ex;
|
||||||
|
margin-bottom: 0.7ex;
|
||||||
|
margin-left: 4ex;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
|
}
|
||||||
|
pre.verbatim_ {
|
||||||
|
font-family: monospace;
|
||||||
|
margin-top: 0.7ex;
|
||||||
|
margin-bottom: 0.7ex;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body dir="auto">
|
||||||
|
<h2 class='section_' id='magicparlabel-10'>A section</h2>
|
||||||
|
<div class='standard' id='magicparlabel-11'>A text</div>
|
||||||
|
<blockquote class='quote' id='magicparlabel-12'>
|
||||||
|
<div class="quote_item">A quote</div>
|
||||||
|
</blockquote>
|
||||||
|
<blockquote class='quotation' id='magicparlabel-13'>
|
||||||
|
<div class="quotation_item">A quotation</div>
|
||||||
|
</blockquote>
|
||||||
|
<div class='standard' id='magicparlabel-14'>More text</div>
|
||||||
|
<blockquote class='verse' id='magicparlabel-15'>
|
||||||
|
<p class="verse_item">a verse</p>
|
||||||
|
</blockquote>
|
||||||
|
<div class='standard' id='magicparlabel-16'>Much more text</div>
|
||||||
|
<pre class='verbatim_' id='magicparlabel-17'>
|
||||||
|
And verbatim
|
||||||
|
</pre>
|
||||||
|
<div class='standard' id='magicparlabel-18'>And finally more text</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user