Skip to content

Commit

Permalink
Update test output
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellingman committed May 19, 2024
1 parent 3ccfd95 commit ad15676
Show file tree
Hide file tree
Showing 9 changed files with 285 additions and 205 deletions.
2 changes: 1 addition & 1 deletion test/ePub/test-alignFirst.xhtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title/><meta charset="utf-8"/><meta name="generator" content="tei2html.xsl, see https://github.com/jhellingman/tei2html"/><link rel="coverpage" href="images/cover500.jpg"/><link rel="icon" href="images/cover500.jpg" type="image/x-cover"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"/><meta name="DC.Language" content="en-US"/><meta name="DC.Format" content="text/html"/><meta name="DC.Rights" content="This book is not copyrighted in the United States. If you live elsewhere please check the laws of your country before downloading this book."/><meta name="DC.Identifier" content="https://www.gutenberg.org/ebooks/12345"/><link href="test.css" rel="stylesheet" type="text/css"/></head><body><div class="body"><div id="alignFirst" class="div1 last-child"><table class="alignedText"><tr><td class="first" lang="en-US"><h2 id="xd36e1754" class="label">Chapter IX</h2><h2 id="xd36e1756" class="main">Text Alignments</h2></td><td class="second" lang="nl"><h2 id="xd36e1775" class="label">Hoofdstuk IX</h2><h2 id="xd36e1777" class="main">Tekstsynchronisatie</h2></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1757" class="first">This is a test of printing translated paragraphs side-by-side</p></td><td class="second" lang="nl"><p id="xd36e1778" class="first">Dit is een test van het naast elkaar afdrukken van vertaalde alinea’s</p></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1759">The paragraphs will be numbered using the <i id="xd36e1761">n</i> attribute.</p></td><td class="second" lang="nl"><p id="xd36e1780">De alinea’s worden genummerd met het <i id="xd36e1782">n</i> attribuut.</p></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1763">That way, the style sheet knows which paragraphs belong together.</p></td><td class="second" lang="nl"><p id="xd36e1784">Op die manier weet de stylesheet welke alinea’s bij elkaar horen.</p><p id="xd36e1786">Als er af en toe een extra alinea tussendoor komt, maakt dat niet uit.</p><div id="lg5" class="lgouter"><p id="xd36e1788" class="line">Hebban olla vogala nestas hagunnan hinase hic enda thu. Wat unbidan we nu.</p></div></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1765">This makes it easy to verify translations.</p></td><td class="second" lang="nl"><p id="xd36e1790" class="first">Dit maakt het eenvoudig vertalingen te controleren.</p></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1767">An extra paragraph, with the translation next to it.</p><p id="xd36e1769">And yet another paragraph.</p></td><td class="second" lang="nl"><p id="xd36e1792">Een extra alinea, met de vertaling ernaast.</p></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1771">And the final paragraph.</p></td><td class="second" lang="nl"><p id="xd36e1794">En de laatste alinea.</p></td></tr><tr><td class="first"/><td class="second"/></tr></table></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title/><meta charset="utf-8"/><meta name="generator" content="tei2html.xsl, see https://github.com/jhellingman/tei2html"/><link rel="coverpage" href="images/cover500.jpg"/><link rel="icon" href="images/cover500.jpg" type="image/x-cover"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"/><meta name="DC.Language" content="en-US"/><meta name="DC.Format" content="text/html"/><meta name="DC.Rights" content="This book is not copyrighted in the United States. If you live elsewhere please check the laws of your country before downloading this book."/><meta name="DC.Identifier" content="https://www.gutenberg.org/ebooks/12345"/><link href="test.css" rel="stylesheet" type="text/css"/></head><body><div class="body"><div id="alignFirst" class="div1 last-child"><div class="divHead"><h2 id="xd36e1754" class="label">Chapter IX</h2><h2 id="xd36e1756" class="main">Text Alignments</h2></div><div class="divBody"><p id="xd36e1757" class="first">This is a test of printing translated paragraphs side-by-side</p><p id="xd36e1759">The paragraphs will be numbered using the <i id="xd36e1761">n</i> attribute.</p><p id="xd36e1763">That way, the style sheet knows which paragraphs belong together.</p><p id="xd36e1765">This makes it easy to verify translations.</p><p id="xd36e1767">An extra paragraph, with the translation next to it.</p><p id="xd36e1769">And yet another paragraph.</p><p id="xd36e1771">And the final paragraph.</p></div></div></div></body></html>
2 changes: 1 addition & 1 deletion test/ePub/test-alignThird.xhtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title/><meta charset="utf-8"/><meta name="generator" content="tei2html.xsl, see https://github.com/jhellingman/tei2html"/><link rel="coverpage" href="images/cover500.jpg"/><link rel="icon" href="images/cover500.jpg" type="image/x-cover"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"/><meta name="DC.Language" content="en-US"/><meta name="DC.Format" content="text/html"/><meta name="DC.Rights" content="This book is not copyrighted in the United States. If you live elsewhere please check the laws of your country before downloading this book."/><meta name="DC.Identifier" content="https://www.gutenberg.org/ebooks/12345"/><link href="test.css" rel="stylesheet" type="text/css"/></head><body><div class="body"><div id="alignThird" class="div1 last-child"><table class="alignedText"><tr><td class="first" lang="en-US"/><td class="second"><h2 id="xd4023e5" class="main">Nogmaals een test</h2></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1797" class="first">This is a test of printing translated paragraphs side-by-side, this time the translation is pulled-in from another source.</p></td><td class="second"><p id="xd4023e7" class="first">Dit is een test van het naast elkaar afdrukken van vertaalde alinea’s</p><p id="xd4023e10">Deze alinea staat in een externe bron.</p></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1799">The paragraphs will be numbered using the <i id="xd36e1801">n</i> attribute.</p></td><td class="second"><p id="xd4023e12">De alinea’s worden genummerd met het <i id="xd4023e14">n</i> attribuut.</p></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1803">That way, the style sheet knows which paragraphs belong together.</p></td><td class="second"><p id="xd4023e17">Op die manier weet de stylesheet welke alinea’s bij elkaar horen.</p><p id="xd4023e21">Als er af en toe een extra alinea tussendoor komt, maakt dat niet uit.</p></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1805">This makes it easy to verify translations.</p></td><td class="second"><p id="xd4023e23">Dit maakt het eenvoudig vertalingen te controleren.</p></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1807">An extra paragraph, with the translation next to it.</p><p id="xd36e1809">And yet another paragraph.</p></td><td class="second"><p id="xd4023e26">Een extra alinea, met de vertaling ernaast.</p></td></tr><tr><td class="first" lang="en-US"><p id="xd36e1811">And the final paragraph.</p></td><td class="second"><p id="xd4023e29">En de laatste alinea.</p></td></tr><tr><td class="first"/><td class="second"/></tr></table></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title/><meta charset="utf-8"/><meta name="generator" content="tei2html.xsl, see https://github.com/jhellingman/tei2html"/><link rel="coverpage" href="images/cover500.jpg"/><link rel="icon" href="images/cover500.jpg" type="image/x-cover"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"/><meta name="DC.Language" content="en-US"/><meta name="DC.Format" content="text/html"/><meta name="DC.Rights" content="This book is not copyrighted in the United States. If you live elsewhere please check the laws of your country before downloading this book."/><meta name="DC.Identifier" content="https://www.gutenberg.org/ebooks/12345"/><link href="test.css" rel="stylesheet" type="text/css"/></head><body><div class="body"><div id="alignThird" class="div1 last-child"><div class="divBody"><p id="xd36e1797" class="first">This is a test of printing translated paragraphs side-by-side, this time the translation is pulled-in from another source.</p><p id="xd36e1799">The paragraphs will be numbered using the <i id="xd36e1801">n</i> attribute.</p><p id="xd36e1803">That way, the style sheet knows which paragraphs belong together.</p><p id="xd36e1805">This makes it easy to verify translations.</p><p id="xd36e1807">An extra paragraph, with the translation next to it.</p><p id="xd36e1809">And yet another paragraph.</p><p id="xd36e1811">And the final paragraph.</p></div></div></div></body></html>
Loading

0 comments on commit ad15676

Please sign in to comment.