Skip to content

Commit

Permalink
Updated test results
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Oct 20, 2024
1 parent 0a06cf3 commit ae30774
Show file tree
Hide file tree
Showing 251 changed files with 342 additions and 341 deletions.
6 changes: 3 additions & 3 deletions src/test/resources/expected/address.001.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Article wrapper</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/><script src="./js/copy-verbatim.js" defer="defer"></script></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Article wrapper</h1></header><p>An address:</p><div class="pre-wrap"><pre class="address verbatim"><span class="first-last personname">Santa Clause</span>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Article wrapper</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/><script src="./js/copy-verbatim.js" defer="defer"></script></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Article wrapper</h1></header><p>An address:</p><div class="pre-wrap address-wrap"><pre class="address verbatim"><span class="first-last personname">Santa Clause</span>
<span class="street">1 Main Street</span>
<span class="city">North Pole</span>, <span class="state">AK</span>
<span class="postcode">12345</span>
<span class="country">US</span></pre></div><p>Other address fields:</p><div class="pre-wrap"><pre class="address verbatim">Information:
<span class="country">US</span></pre></div><p>Other address fields:</p><div class="pre-wrap address-wrap"><pre class="address verbatim">Information:
<span class="phone">+1-914-555-1212</span>
<span class="fax">+1-213-555-1212</span>
<code class="email">[email protected]</code>
<code class="uri">http://www.example.com/</code></pre></div><p>With a PO Box:</p><div class="pre-wrap"><pre class="address verbatim"><span class="otheraddr whynotorgname">Some Company</span>
<code class="uri">http://www.example.com/</code></pre></div><p>With a PO Box:</p><div class="pre-wrap address-wrap"><pre class="address verbatim"><span class="otheraddr whynotorgname">Some Company</span>
<span class="pob">P.O. Box 123</span>
<span class="city">Anytown</span>, <span class="state">XX</span>
<span class="postcode">12345</span></pre></div></article></main><nav class="bottom"></nav></body></html>
6 changes: 3 additions & 3 deletions src/test/resources/expected/address.002.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Test: address.002</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/><script src="./js/copy-verbatim.js" defer="defer"></script></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Test: address.002</h1></header><p>An address (in table style):</p><div class="pre-wrap"><table class="verbatim"><tr><td><pre class="address verbatim verblines"><span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Test: address.002</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/><script src="./js/copy-verbatim.js" defer="defer"></script></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Test: address.002</h1></header><p>An address (in table style):</p><div class="pre-wrap address-wrap"><table class="verbatim"><tr><td><pre class="address verbatim verblines"><span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
Expand All @@ -8,7 +8,7 @@
<span class="line"><span class="ld"><span class="city">North Pole</span>, <span class="state">AK</span></span></span>
<span class="line"><span class="ld"><span class="postcode">12345</span></span></span>
<span class="line"><span class="ld"><span class="country">US</span></span></span>
</pre></td></tr></table></div><p>Other address fields:</p><div class="pre-wrap"><table class="verbatim"><tr><td><pre class="address verbatim verblines"><span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
</pre></td></tr></table></div><p>Other address fields:</p><div class="pre-wrap address-wrap"><table class="verbatim"><tr><td><pre class="address verbatim verblines"><span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
Expand All @@ -18,7 +18,7 @@
<span class="line"><span class="ld"><span class="fax">+1-213-555-1212</span></span></span>
<span class="line"><span class="ld"><code class="email">[email protected]</code></span></span>
<span class="line"><span class="ld"><code class="uri">http://www.example.com/</code></span></span>
</pre></td></tr></table></div><p>With a PO Box:</p><div class="pre-wrap"><table class="verbatim"><tr><td><pre class="address verbatim verblines"><span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
</pre></td></tr></table></div><p>With a PO Box:</p><div class="pre-wrap address-wrap"><table class="verbatim"><tr><td><pre class="address verbatim verblines"><span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
<span class="line"><span class="ln"> <span class="nsep">|</span></span></span>
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/expected/book.003.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
Blah blah blah blah blah blah blah blah. Blah blah blah blah.
Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
</p><div id="figduck" class="figure formalobject"><div class="pre-wrap" db-startinglinenumber="1" db-numberoflines="1"><pre class="language-none numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>A figure. Just to test the numeration.</code></span></span>
</pre></div><header><div class="title">Figure <span class="label">1<span class="sep">.</span>1</span><span class="sep"></span>A Test Figure</div></header></div></div><section id="chap1_s1" class="section"><header><h2><span class="label">1</span><span class="sep"></span>First Section</h2></header><div id="figduck2" class="figure formalobject"><div class="pre-wrap" db-startinglinenumber="1" db-numberoflines="1"><pre class="language-none numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>A figure. Just to test the numeration.</code></span></span>
</p><div id="figduck" class="figure formalobject"><div class="pre-wrap programlisting-wrap" db-startinglinenumber="1" db-numberoflines="1"><pre class="language-none numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>A figure. Just to test the numeration.</code></span></span>
</pre></div><header><div class="title">Figure <span class="label">1<span class="sep">.</span>1</span><span class="sep"></span>A Test Figure</div></header></div></div><section id="chap1_s1" class="section"><header><h2><span class="label">1</span><span class="sep"></span>First Section</h2></header><div id="figduck2" class="figure formalobject"><div class="pre-wrap programlisting-wrap" db-startinglinenumber="1" db-numberoflines="1"><pre class="language-none numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>A figure. Just to test the numeration.</code></span></span>
</pre></div><header><div class="title">Figure <span class="label">1<span class="sep">.</span>2</span><span class="sep"></span>Another Test Figure</div></header></div><p>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
Blah blah blah blah blah blah blah blah. Blah blah blah blah.
Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
Expand All @@ -53,7 +53,7 @@
Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
Blah blah blah blah blah blah blah blah. Blah blah blah blah.
Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
</p><div id="example" class="example formalobject"><div class="pre-wrap" db-startinglinenumber="1" db-numberoflines="1"><pre class="language-none numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>An example.</code></span></span>
</p><div id="example" class="example formalobject"><div class="pre-wrap programlisting-wrap" db-startinglinenumber="1" db-numberoflines="1"><pre class="language-none numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>An example.</code></span></span>
</pre></div><header><div class="title">Example <span class="label">1<span class="sep">.</span>1</span><span class="sep"></span>Test Example</div></header></div><section id="chap1_s1_s1" class="section"><header><h3><span class="label">1<span class="sep">.</span>1</span><span class="sep"></span>First Subsection</h3></header><p>Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
Blah blah blah blah blah blah blah blah. Blah blah blah blah.
Blah. Blah blah blah blah. Blah blah. Blah blah blah blah.
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/expected/book.021.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
But you can fix it changing the <code>self::db:article</code> template in the
“title-numbered” part of the localization to:

<div class="pre-wrap highlight" db-startinglinenumber="1" db-numberoflines="1"><pre class="language-xml numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code><span class="nt">&lt;template</span><span class="w"> </span><span class="na">match=</span><span class="s">"self::db:article"</span><span class="nt">&gt;</span>%l%.%c<span class="nt">&lt;/template&gt;</span></code></span></span>
<div class="pre-wrap programlisting-wrap highlight" db-startinglinenumber="1" db-numberoflines="1"><pre class="language-xml numbered programlisting verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code><span class="nt">&lt;template</span><span class="w"> </span><span class="na">match=</span><span class="s">"self::db:article"</span><span class="nt">&gt;</span>%l%.%c<span class="nt">&lt;/template&gt;</span></code></span></span>
</pre></div>
</p></section><section id="R_art1" class="article component"><header><h1>First Article</h1></header><div class="db-bfs"><p>This article is numbered, so are its sections.</p></div><section id="R_art1_s1" class="section"><header><h2><span class="label">1</span><span class="sep"></span>First section</h2></header><section id="R_art1_s1_s1" class="section"><header><h3><span class="label">1<span class="sep">.</span>1</span><span class="sep"></span>Second section</h3></header><p></p></section></section></section><section id="R_art2" class="article component"><header><h1>Second Article</h1></header><div class="db-bfs"><p>This article is not numbered, neither are its sections.</p></div><section id="R_art2_s1" class="section"><header><h2>First section</h2></header><section id="R_art2_s1_s1" class="section"><header><h3>Second section</h3></header></section></section></section><section id="R_art3" class="article component"><header><h1>Third Article</h1></header><div class="db-bfs"><p>This article is numbered, its sections are not.</p></div><section id="R_art3_s1" class="section"><header><h2>First section</h2></header><section id="R_art3_s1_s1" class="section"><header><h3>Second section</h3></header><p></p></section></section></section><section id="R_art4" class="article component"><header><h1>Fourth Article</h1></header><div class="db-bfs"><p>This article is not numbered, but its sections are.</p></div><section id="R_art4_s1" class="section"><header><h2><span class="label">1</span><span class="sep"></span>First section</h2></header><section id="R_art4_s1_s1" class="section"><header><h3><span class="label">1<span class="sep">.</span>1</span><span class="sep"></span>Second section</h3></header></section></section></section></article></main><nav class="bottom"></nav></body></html>
2 changes: 1 addition & 1 deletion src/test/resources/expected/calloutlist.001.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Article wrapper</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/><script src="./js/copy-verbatim.js" defer="defer"></script></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Article wrapper</h1></header><p>Callouts using <code class="tag tag-element">co</code>:</p><div class="pre-wrap"><pre class="screen verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>(let <a class="co" id="dl1"></a>loopvar <a class="co" id="dl2"></a>((count 1))</code></span></span>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Article wrapper</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/><script src="./js/copy-verbatim.js" defer="defer"></script></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Article wrapper</h1></header><p>Callouts using <code class="tag tag-element">co</code>:</p><div class="pre-wrap screen-wrap"><pre class="screen verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>(let <a class="co" id="dl1"></a>loopvar <a class="co" id="dl2"></a>((count 1))</code></span></span>
<span class="line" db-line="2"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code> <a class="co" id="dl3"></a>(if (&gt; count 10)</code></span></span>
<span class="line" db-line="3"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code> <a class="co" id="dl4"></a>#t</code></span></span>
<span class="line" db-line="4"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code> (<a class="co" id="dl5"></a>loopvar <a class="co" id="dl6"></a>(+ count 1))))</code></span></span>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/expected/calloutlist.002.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Article wrapper</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/><script src="./js/copy-verbatim.js" defer="defer"></script></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Article wrapper</h1></header><p>Callouts using <code class="tag tag-element">co</code>:</p><div class="pre-wrap"><pre class="screen verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>(let <a class="co" id="dl1"></a>loopvar <a class="co" id="dl2"></a>((count 1))</code></span></span>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" class="no-js"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><title>Article wrapper</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link href="https://purl.org/dc/elements/1.1/" rel="schema.dc"/><meta content="2011-04-22T17:02:00-06:00" name="dc.modified"/><meta content="DocBook xslTNG" name="generator"/><link href="./css/docbook.css" rel="stylesheet" media="screen"/><script src="./js/copy-verbatim.js" defer="defer"></script></head><body class="home"><nav class="top"></nav><main><article class="article component"><header><h1>Article wrapper</h1></header><p>Callouts using <code class="tag tag-element">co</code>:</p><div class="pre-wrap screen-wrap"><pre class="screen verbatim verblines"><span class="line" db-line="1"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code>(let <a class="co" id="dl1"></a>loopvar <a class="co" id="dl2"></a>((count 1))</code></span></span>
<span class="line" db-line="2"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code> <a class="co" id="dl3"></a>(if (&gt; count 10)</code></span></span>
<span class="line" db-line="3"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code> <a class="co" id="dl4"></a>#t</code></span></span>
<span class="line" db-line="4"><span class="ln"> <span class="nsep">|</span></span><span class="ld"><code> (<a class="co" id="dl5"></a>loopvar <a class="co" id="dl6"></a>(+ count 1))))</code></span></span>
Expand Down
Loading

0 comments on commit ae30774

Please sign in to comment.