Commit eb9f55dc authored by Denis Salem's avatar Denis Salem
Browse files

Include extra generated refs files

parent 5efa99b6
authors: ''
categories: ''
tags: ''
title: .:GetEntryTitle:.
display_title_in_entry: ''
---VENC-BEGIN-PREVIEW---
---VENC-END-PREVIEW---
With Tessellation you can tell VenC if it must display entry title or not.
By default, entry title are disabled.
On the user side, to display the entry title in the entry, one have to set up the above metadata "__.:DisableMarkup::display_title_in_entry:.__".
By looking the source of the Tessellation theme, in _entry.html_ you'll see that we are calling the following patterns to achieve the trick.
.:Escape::
<pre>.:GetEntryMetadataIfExists::display_title_in_entry::&lt;h1&gt;.:GetEntryTitle:.&lt;/h1&gt;:.</pre>
::EndEscape:.
authors: ''
categories: ''
tags: ''
title:
display_title_in_threads: ''
---VENC-BEGIN-PREVIEW---
---VENC-END-PREVIEW---
With Tessellation you can tell VenC if it must display entry title or not.
By default, entry title are disabled.
On the user side, to display the entry title in blog thread, one have to set up the above metadata "__.:DisableMarkup::display_title_in_threads:.__".
By looking the source of the Tessellation theme, in _entry.html_ you'll see that we are calling the following patterns to achieve the trick.
.:Escape::
<pre>.:GetEntryMetadataIfExists::display_title_in_threads::&lt;h1&gt;.:GetEntryTitle:.&lt;/h1&gt;:.</pre>
::EndEscape:.
......@@ -116,5 +116,5 @@ class PatternsMap():
"Video",
"GetEmbedContent",
"Table",
"DisableMarkup"
"DisableMarkup",
]
{"@context": "http://schema.org", "@type": ["Blog", "WebPage"], "name": "Theme Unit Test | 2019-08", "description": "Test blog output", "author": {"@type": "Person", "email": "venc@tuxfamily.org", "description": "VenC lead developper", "name": "Denis Salem"}, "keywords": "test, unittest, blog, venc", "inLanguage": "en", "license": {"@type": "CreativeWork", "name": "DWTFYWL"}, "breadcrumb": {"@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "http://127.0.0.1:8888/root.jsonld", "url": "http://127.0.0.1:8888", "name": "Theme Unit Test"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "http://127.0.0.1:8888/2019-08/archives.jsonld", "url": "http://127.0.0.1:8888/2019-08", "name": "Theme Unit Test | 2019-08"}}]}, "blogPost": [{"@type": ["BlogPosting", "WebPage"], "@id": "/entry2.jsonld", "headline": "CodeHighlight unit test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-13T18:18:00", "keywords": ",Templates > Patterns > CodeHighlight", "url": "http://127.0.0.1:8888/entry2.html"}, {"@type": ["BlogPosting", "WebPage"], "@id": "/entry4.jsonld", "headline": "Escape unit test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-13T18:58:00", "keywords": ",Templates > Patterns > Escape", "url": "http://127.0.0.1:8888/entry4.html"}, {"@type": ["BlogPosting", "WebPage"], "@id": "/entry1.jsonld", "headline": "Footnotes unit test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-13T08:09:00", "keywords": ",Templates > Footnotes", "url": "http://127.0.0.1:8888/entry1.html"}, {"@type": ["BlogPosting", "WebPage"], "@id": "/entry3.jsonld", "headline": "Latex2MathML unit test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-13T18:44:00", "keywords": ",Templates > Patterns > Latex2MathML", "url": "http://127.0.0.1:8888/entry3.html"}], "@id": "http://127.0.0.1:8888/2019-08/archives.jsonld", "url": "http://127.0.0.1:8888/2019-08"}
\ No newline at end of file
{"@context": "http://schema.org", "@type": ["Blog", "WebPage"], "name": "Theme Unit Test | 2019-08", "description": "Test blog output", "author": {"@type": "Person", "email": "venc@tuxfamily.org", "description": "VenC lead developper", "name": "Denis Salem"}, "keywords": "test, unittest, blog, venc", "inLanguage": "en", "license": {"@type": "CreativeWork", "name": "DWTFYWL"}, "breadcrumb": {"@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "item": {"@id": "http://127.0.0.1:8888/root.jsonld", "url": "http://127.0.0.1:8888", "name": "Theme Unit Test"}}, {"@type": "ListItem", "position": 2, "item": {"@id": "http://127.0.0.1:8888/2019-08/archives.jsonld", "url": "http://127.0.0.1:8888/2019-08", "name": "Theme Unit Test | 2019-08"}}]}, "blogPost": [{"@type": ["BlogPosting", "WebPage"], "@id": "/entry6.jsonld", "headline": "Display title in entry test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-22T08:20:00", "keywords": ",Layout Tricks", "url": "http://127.0.0.1:8888/entry6.html"}, {"@type": ["BlogPosting", "WebPage"], "@id": "/entry5.jsonld", "headline": "Display title in thread test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-22T07:36:00", "keywords": ",Templates > Layout Tricks", "url": "http://127.0.0.1:8888/entry5.html"}, {"@type": ["BlogPosting", "WebPage"], "@id": "/entry2.jsonld", "headline": "CodeHighlight unit test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-13T18:18:00", "keywords": ",Templates > Patterns > CodeHighlight", "url": "http://127.0.0.1:8888/entry2.html"}, {"@type": ["BlogPosting", "WebPage"], "@id": "/entry4.jsonld", "headline": "Escape unit test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-13T18:58:00", "keywords": ",Templates > Patterns > Escape", "url": "http://127.0.0.1:8888/entry4.html"}, {"@type": ["BlogPosting", "WebPage"], "@id": "/entry1.jsonld", "headline": "Footnotes unit test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-13T08:09:00", "keywords": ",Templates > Footnotes", "url": "http://127.0.0.1:8888/entry1.html"}, {"@type": ["BlogPosting", "WebPage"], "@id": "/entry3.jsonld", "headline": "Latex2MathML unit test", "author": [{"name": "Denis Salem", "@type": "Person"}], "publisher": [{"name": "Denis Salem", "@type": "Person"}], "datePublished": "2019-08-13T18:44:00", "keywords": ",Templates > Patterns > Latex2MathML", "url": "http://127.0.0.1:8888/entry3.html"}], "@id": "http://127.0.0.1:8888/2019-08/archives.jsonld", "url": "http://127.0.0.1:8888/2019-08"}
\ No newline at end of file
......@@ -33,7 +33,7 @@
</div>
</div>
<div id="blog-categories" class="__VENC_TREE_ROOT__">
<ul class="__VENC_TREE_NODE__"><li><a href="../Templates/" title="4 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
<ul class="__VENC_TREE_NODE__"><li><a href="../Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/" title="5 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
</div>
<div id="blog-chapters-header">
......@@ -51,7 +51,7 @@
</div>
<div id="blog-navigation" class="navigation">
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li></ul>
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index1.html"></a>
</div>
</aside>
......@@ -59,39 +59,31 @@
<header>
<h1><a href="http://127.0.0.1:8888"><img src="" alt="Theme Unit Test"></a></h1>
</header>
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry4" class="entry">
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry6" class="entry">
<div class="entry_header">
<h2><a href="../entry4.html">Escape unit test</a></h2>
<span class="entry-date">Tuesday 13. August 2019</span>
<h2><a href="../entry6.html">Display title in entry test</a></h2>
<span class="entry-date">Thursday 22. August 2019</span>
</div>
<div class="entry_content">
<p><em>As shown below Escape will disable parsing of both VenC patterns and markup language between the Escape/EndEscape pair.</em></p>
<p>With Tessellation you can tell VenC if it must display entry title or not.</p>
<p><strong>With Escape/EndEscape</strong></p>
<p>By default, entry title are disabled.</p>
<p>
- Hello VenC!
- Hello lovely user!
</p>
<p>On the user side, to display the entry title in the entry, one have to set up the above metadata "<strong>display_title_in_entry</strong>".</p>
<p> .:SetColor::This is red text!t::red:. </p>
<p>By looking the source of the Tessellation theme, in <em>entry.html</em> you'll see that we are calling the following patterns to achieve the trick.</p>
<p><strong>Without Escape/EndEscape</strong></p>
<p></p>
<ul>
<li>Hello VenC!</li>
<li>Hello lovely user!</li>
</ul>
<pre>.:GetEntryMetadataIfExists::display_title_in_entry::&lt;h1&gt;Display title in entry test&lt;/h1&gt;:.</pre>
<p><span style="color: red;">This is red text!</span></p>
<p>Please note that VenC syntax require you to close Escape pattern with ::EndEscape.</p>
<p></p>
</div>
</div>
</div> <footer class="navigation">
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li></ul>
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index1.html"></a>
</footer>
</div>
......
......@@ -33,7 +33,7 @@
</div>
</div>
<div id="blog-categories" class="__VENC_TREE_ROOT__">
<ul class="__VENC_TREE_NODE__"><li><a href="../Templates/" title="4 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
<ul class="__VENC_TREE_NODE__"><li><a href="../Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/" title="5 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
</div>
<div id="blog-chapters-header">
......@@ -51,7 +51,7 @@
</div>
<div id="blog-navigation" class="navigation">
<a class="navigation-previous" href="index.html"></a>·
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li></ul>
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index2.html"></a>
</div>
</aside>
......@@ -59,25 +59,31 @@
<header>
<h1><a href="http://127.0.0.1:8888"><img src="" alt="Theme Unit Test"></a></h1>
</header>
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry3" class="entry">
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry5" class="entry">
<div class="entry_header">
<h2><a href="../entry3.html">Latex2MathML unit test</a></h2>
<span class="entry-date">Tuesday 13. August 2019</span>
<h2><a href="../entry5.html">Display title in thread test</a></h2>
<span class="entry-date">Thursday 22. August 2019</span>
</div>
<div class="entry_content">
<p>Example of Latex2MathML usage for rendering complex number expression:</p>
<p>With Tessellation you can tell VenC if it must display entry title or not.</p>
<math><mrow><mover><mrow><msub><mi>z</mi><mn>1</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover><mi>.</mi><mover><mrow><msub><mi>z</mi><mn>2</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover><mo>&#x0003D;</mo><mover><mrow><msub><mi>z</mi><mn>1</mn></msub><mi>.</mi><msub><mi>z</mi><mn>2</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover></mrow></math>
<p>By default, entry title are disabled.</p>
<p>Another example combining Latex2MathML and Table for rendering lined up equation:</p>
<p>On the user side, to display the entry title in blog thread, one have to set up the above metadata "<strong>display_title_in_threads</strong>".</p>
<div class="__VENC_TABLE__"><table><tr><td><math><mrow><mover><mrow><msub><mi>z</mi><mn>1</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover><mi>.</mi><mover><mrow><msub><mi>z</mi><mn>2</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover></mrow></math></td><td>=</td><td><math><mrow><mover><mrow><mo>&#x00028;</mo><mi>a</mi><mo>&#x0002B;</mo><mi>i</mi><mi>b</mi><mo>&#x00029;</mo></mrow><mo stretchy="true">&#x000AF;</mo></mover><mover><mrow><mo>&#x00028;</mo><mi>c</mi><mo>&#x0002B;</mo><mi>i</mi><mi>d</mi><mo>&#x00029;</mo></mrow><mo stretchy="true">&#x000AF;</mo></mover></mrow></math></td></tr><tr><td></td><td>=</td><td><math><mrow><mo>&#x00028;</mo><mi>a</mi><mo>&#x02212;</mo><mi>i</mi><mi>b</mi><mo>&#x00029;</mo><mo>&#x00028;</mo><mi>c</mi><mo>&#x02212;</mo><mi>i</mi><mi>d</mi><mo>&#x00029;</mo></mrow></math></td></tr><tr><td></td><td>=</td><td><math><mrow><mi>a</mi><mi>c</mi><mo>&#x02212;</mo><mi>i</mi><mi>a</mi><mi>d</mi><mo>&#x02212;</mo><mi>i</mi><mi>b</mi><mi>c</mi><mo>&#x02212;</mo><mi>b</mi><mi>d</mi></mrow></math></td></tr><tr><td></td><td>=</td><td><math><mrow><mo>&#x00028;</mo><mi>a</mi><mi>c</mi><mo>&#x02212;</mo><mi>b</mi><mi>d</mi><mo>&#x00029;</mo><mo>&#x02212;</mo><mi>i</mi><mo>&#x00028;</mo><mi>a</mi><mi>d</mi><mo>&#x0002B;</mo><mi>b</mi><mi>c</mi><mo>&#x00029;</mo></mrow></math></td></tr></table></div>
<p>By looking the source of the Tessellation theme, in <em>entry.html</em> you'll see that we are calling the following patterns to achieve the trick.</p>
<p></p>
<pre>.:GetEntryMetadataIfExists::display_title_in_threads::&lt;h1&gt;.:GetEntryTitle:.&lt;/h1&gt;:.</pre>
<p></p>
</div>
</div>
</div> <footer class="navigation">
<a class="navigation-previous" href="index.html"></a>·
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li></ul>
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index2.html"></a>
</footer>
</div>
......
......@@ -33,7 +33,7 @@
</div>
</div>
<div id="blog-categories" class="__VENC_TREE_ROOT__">
<ul class="__VENC_TREE_NODE__"><li><a href="../Templates/" title="4 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
<ul class="__VENC_TREE_NODE__"><li><a href="../Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/" title="5 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
</div>
<div id="blog-chapters-header">
......@@ -51,7 +51,7 @@
</div>
<div id="blog-navigation" class="navigation">
<a class="navigation-previous" href="index1.html"></a>·
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li></ul>
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index3.html"></a>
</div>
</aside>
......@@ -59,67 +59,42 @@
<header>
<h1><a href="http://127.0.0.1:8888"><img src="" alt="Theme Unit Test"></a></h1>
</header>
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry2" class="entry">
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry4" class="entry">
<div class="entry_header">
<h2><a href="../entry2.html">CodeHighlight unit test</a></h2>
<h2><a href="../entry4.html">Escape unit test</a></h2>
<span class="entry-date">Tuesday 13. August 2019</span>
</div>
<div class="entry_content">
<p>Example of C++ syntax coloration with line number:</p>
<p><em>As shown below Escape will disable parsing of VenC patterns between Escape/EndEscape pair.
In the other hand, the behavior of DisableMarkup is pretty straightforward.</em></p>
<div class="__VENC_PYGMENTIZE_WRAPPER__"><table class="venc_source_CPlusPlustable"><tr><td class="linenos"><div class="linenodiv"><pre> 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15</pre></div></td><td class="code"><div class="venc_source_CPlusPlus"><pre><span></span><span class="cp">#include</span> <span class="cpf">&lt;iostream&gt;:</span><span class="cp"></span>
<p><strong>With Escape/EndEscape and DisableMarkup</strong></p>
<span class="k">class</span> <span class="nc">Example</span> <span class="p">{</span>
<span class="k">public</span><span class="o">:</span>
<span class="k">static</span> <span class="kt">void</span> <span class="n">do_something</span><span class="p">();</span>
<span class="p">};</span>
- Hello VenC!
- Hello lovely user!
<span class="kt">void</span> <span class="n">Example</span><span class="o">::</span><span class="n">do_something</span><span class="p">()</span> <span class="p">{</span>
<span class="n">std</span><span class="o">::</span><span class="n">cout</span> <span class="o">&lt;&lt;</span> <span class="s">&quot;Well, not really&quot;</span> <span class="o">&lt;&lt;</span> <span class="n">std</span><span class="o">::</span><span class="n">endl</span><span class="p">;</span>
<span class="p">}</span>
_Italic text for fun and non profit!_
<span class="kt">int</span> <span class="n">main</span><span class="p">(</span><span class="kt">int</span> <span class="n">argc</span><span class="p">,</span> <span class="kt">char</span> <span class="o">**</span> <span class="n">argv</span><span class="p">)</span> <span class="p">{</span>
<span class="n">Example</span><span class="o">::</span><span class="n">do_something</span><span class="p">();</span>
<span class="k">return</span> <span class="mi">0</span><span class="p">;</span>
<span class="p">}</span>
</pre></div>
</td></tr></table></div>
<p> .:SetColor::This is red text!t::red:. </p>
<p>Another example of Python syntax coloration without line number:</p>
<p><strong>Without Escape/EndEscape and DisableMarkup</strong></p>
<div class="__VENC_PYGMENTIZE_WRAPPER__"><div class="venc_source_Python"><pre><span></span><span class="k">def</span> <span class="nf">merge</span><span class="p">(</span><span class="n">iterable</span><span class="p">,</span> <span class="n">argv</span><span class="p">):</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">argv</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">2</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">PatternMissingArguments</span><span class="p">(</span><span class="n">expected</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span><span class="n">got</span><span class="o">=</span><span class="nb">len</span><span class="p">(</span><span class="n">argv</span><span class="p">))</span>
<span class="k">try</span><span class="p">:</span>
<span class="k">return</span> <span class="n">argv</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span><span class="o">.</span><span class="n">join</span><span class="p">([</span><span class="n">argv</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="o">**</span><span class="n">something</span><span class="p">)</span> <span class="k">for</span> <span class="n">something</span> <span class="ow">in</span> <span class="n">iterable</span><span class="p">])</span>
<span class="k">except</span> <span class="ne">IndexError</span> <span class="k">as</span> <span class="n">e</span><span class="p">:</span>
<span class="k">if</span> <span class="n">e</span><span class="o">.</span><span class="n">args</span> <span class="o">==</span> <span class="p">(</span><span class="s1">&#39;tuple index out of range&#39;</span><span class="p">,):</span>
<span class="k">raise</span> <span class="n">PatternInvalidArgument</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s2">&quot;string&quot;</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="n">argv</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span>
<span class="k">raise</span> <span class="n">e</span>
</pre></div>
</div>
<ul>
<li>Hello VenC!</li>
<li>Hello lovely user!</li>
</ul>
<p><em>Italic text for fun and non profit!</em></p>
<p><span style="color: red;">This is red text!</span></p>
<p>Please note that VenC syntax require you to close Escape pattern with ::EndEscape.</p>
</div>
</div>
</div> <footer class="navigation">
<a class="navigation-previous" href="index1.html"></a>·
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li></ul>
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index3.html"></a>
</footer>
</div>
......
......@@ -33,7 +33,7 @@
</div>
</div>
<div id="blog-categories" class="__VENC_TREE_ROOT__">
<ul class="__VENC_TREE_NODE__"><li><a href="../Templates/" title="4 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
<ul class="__VENC_TREE_NODE__"><li><a href="../Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/" title="5 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
</div>
<div id="blog-chapters-header">
......@@ -51,40 +51,34 @@
</div>
<div id="blog-navigation" class="navigation">
<a class="navigation-previous" href="index2.html"></a>·
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li></ul>
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index4.html"></a>
</div>
</aside>
<div id="blog-content">
<header>
<h1><a href="http://127.0.0.1:8888"><img src="" alt="Theme Unit Test"></a></h1>
</header>
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry1" class="entry">
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry3" class="entry">
<div class="entry_header">
<h2><a href="../entry1.html">Footnotes unit test</a></h2>
<h2><a href="../entry3.html">Latex2MathML unit test</a></h2>
<span class="entry-date">Tuesday 13. August 2019</span>
</div>
<div class="entry_content">
<p>This template is designed to work with defaults themes</p>
<p>The following<a href="#footnote_1">¹</a> will display aside if used with Academik theme. Otherwise,
it will be display below the current paragraphe.</p>
<p>Example of Latex2MathML usage for rendering complex number expression:</p>
<span id="footnote_1" class="footnote">A first footnote for the sake of the demonstration</span>
<math><mrow><mover><mrow><msub><mi>z</mi><mn>1</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover><mi>.</mi><mover><mrow><msub><mi>z</mi><mn>2</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover><mo>&#x0003D;</mo><mover><mrow><msub><mi>z</mi><mn>1</mn></msub><mi>.</mi><msub><mi>z</mi><mn>2</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover></mrow></math>
<p>You can go directly to <a href="#footnote_2">this</a> second footnote by clicking the link.
Do not forget to add a line break so the parser will know that the footnote
is not part of this paragraphe</p>
<p>Another example combining Latex2MathML and Table for rendering lined up equation:</p>
<span id="footnote_2" class="footnote">² The first argument is the css id name,
the second is the css class name</span>
<div class="__VENC_TABLE__"><table><tr><td><math><mrow><mover><mrow><msub><mi>z</mi><mn>1</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover><mi>.</mi><mover><mrow><msub><mi>z</mi><mn>2</mn></msub></mrow><mo stretchy="true">&#x000AF;</mo></mover></mrow></math></td><td>=</td><td><math><mrow><mover><mrow><mo>&#x00028;</mo><mi>a</mi><mo>&#x0002B;</mo><mi>i</mi><mi>b</mi><mo>&#x00029;</mo></mrow><mo stretchy="true">&#x000AF;</mo></mover><mover><mrow><mo>&#x00028;</mo><mi>c</mi><mo>&#x0002B;</mo><mi>i</mi><mi>d</mi><mo>&#x00029;</mo></mrow><mo stretchy="true">&#x000AF;</mo></mover></mrow></math></td></tr><tr><td></td><td>=</td><td><math><mrow><mo>&#x00028;</mo><mi>a</mi><mo>&#x02212;</mo><mi>i</mi><mi>b</mi><mo>&#x00029;</mo><mo>&#x00028;</mo><mi>c</mi><mo>&#x02212;</mo><mi>i</mi><mi>d</mi><mo>&#x00029;</mo></mrow></math></td></tr><tr><td></td><td>=</td><td><math><mrow><mi>a</mi><mi>c</mi><mo>&#x02212;</mo><mi>i</mi><mi>a</mi><mi>d</mi><mo>&#x02212;</mo><mi>i</mi><mi>b</mi><mi>c</mi><mo>&#x02212;</mo><mi>b</mi><mi>d</mi></mrow></math></td></tr><tr><td></td><td>=</td><td><math><mrow><mo>&#x00028;</mo><mi>a</mi><mi>c</mi><mo>&#x02212;</mo><mi>b</mi><mi>d</mi><mo>&#x00029;</mo><mo>&#x02212;</mo><mi>i</mi><mo>&#x00028;</mo><mi>a</mi><mi>d</mi><mo>&#x0002B;</mo><mi>b</mi><mi>c</mi><mo>&#x00029;</mo></mrow></math></td></tr></table></div>
</div>
</div>
</div> <footer class="navigation">
<a class="navigation-previous" href="index2.html"></a>·
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li></ul>
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index4.html"></a>
</footer>
</div>
</body>
......
<!DOCTYPE html>
<html>
<head>
<title>Theme Unit Test</title>
<meta charset="utf-8">
<script type="text/javascript" src="../VenC-Tree-0.0.0.js"></script>
<script type="text/javascript">
window.onload = VENC_TREE_ON_LOAD
</script>
<link rel="alternate" type="application/rss+xml" title="Theme Unit Test" href="feed.xml" />
<link rel="stylesheet" href="../venc_source_CPlusPlus.css" type="text/css" />
<link rel="stylesheet" href="../venc_source_Python.css" type="text/css" />
<link rel="stylesheet" href="../style.css" type="text/css" />
</head>
<body>
<aside>
<div id="blog-avatar" style="background-image: url('');">
</div>
<p id="blog-description">
Test blog output
</p>
<div id="social-network">
</div>
<div id="blog-categories-header">
<div id="blog-categories-header-wrapper">
<div></div><span>Categories</span><div></div>
</div>
</div>
<div id="blog-categories" class="__VENC_TREE_ROOT__">
<ul class="__VENC_TREE_NODE__"><li><a href="../Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/" title="5 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
</div>
<div id="blog-chapters-header">
<div id="blog-chapters-header-wrapper">
<div></div><span>Chapters</span><div></div>
</div>
</div>
<div id="blog-chapters" class="__VENC_TREE_ROOT__">
<ul class="chapter-level0 __VENC_TREE_NODE__"><li>1. <a href="../chapters/Footnotes%20unit%20test">Footnotes unit test</a><ul class="chapter-level1 __VENC_TREE_NODE__"><li>1.2. <a href="../chapters/CodeHighlight%20unit%20test">CodeHighlight unit test</a><ul class="chapter-level2 __VENC_TREE_NODE__"><li>1.2.3. <a href="../chapters/Latex2MathML%20unit%20test">Latex2MathML unit test</a></li></ul></li></ul></li><li>2. <a href="../chapters/Escape%20unit%20test">Escape unit test</a></li></ul>
</div>
<div id="blog-navigation-header">
<div id="blog-navigation-header-wrapper">
<div></div><span>Navigation</span><div></div>
</div>
</div>
<div id="blog-navigation" class="navigation">
<a class="navigation-previous" href="index3.html"></a>·
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index5.html"></a>
</div>
</aside>
<div id="blog-content">
<header>
<h1><a href="http://127.0.0.1:8888"><img src="" alt="Theme Unit Test"></a></h1>
</header>
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry2" class="entry">
<div class="entry_header">
<h2><a href="../entry2.html">CodeHighlight unit test</a></h2>
<span class="entry-date">Tuesday 13. August 2019</span>
</div>
<div class="entry_content">
<p>Example of C++ syntax coloration with line number:</p>
<div class="__VENC_PYGMENTIZE_WRAPPER__"><table class="venc_source_CPlusPlustable"><tr><td class="linenos"><div class="linenodiv"><pre> 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15</pre></div></td><td class="code"><div class="venc_source_CPlusPlus"><pre><span></span><span class="cp">#include</span> <span class="cpf">&lt;iostream&gt;:</span><span class="cp"></span>
<span class="k">class</span> <span class="nc">Example</span> <span class="p">{</span>
<span class="k">public</span><span class="o">:</span>
<span class="k">static</span> <span class="kt">void</span> <span class="n">do_something</span><span class="p">();</span>
<span class="p">};</span>
<span class="kt">void</span> <span class="n">Example</span><span class="o">::</span><span class="n">do_something</span><span class="p">()</span> <span class="p">{</span>
<span class="n">std</span><span class="o">::</span><span class="n">cout</span> <span class="o">&lt;&lt;</span> <span class="s">&quot;Well, not really&quot;</span> <span class="o">&lt;&lt;</span> <span class="n">std</span><span class="o">::</span><span class="n">endl</span><span class="p">;</span>
<span class="p">}</span>
<span class="kt">int</span> <span class="n">main</span><span class="p">(</span><span class="kt">int</span> <span class="n">argc</span><span class="p">,</span> <span class="kt">char</span> <span class="o">**</span> <span class="n">argv</span><span class="p">)</span> <span class="p">{</span>
<span class="n">Example</span><span class="o">::</span><span class="n">do_something</span><span class="p">();</span>
<span class="k">return</span> <span class="mi">0</span><span class="p">;</span>
<span class="p">}</span>
</pre></div>
</td></tr></table></div>
<p>Another example of Python syntax coloration without line number:</p>
<div class="__VENC_PYGMENTIZE_WRAPPER__"><div class="venc_source_Python"><pre><span></span><span class="k">def</span> <span class="nf">merge</span><span class="p">(</span><span class="n">iterable</span><span class="p">,</span> <span class="n">argv</span><span class="p">):</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">argv</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">2</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">PatternMissingArguments</span><span class="p">(</span><span class="n">expected</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span><span class="n">got</span><span class="o">=</span><span class="nb">len</span><span class="p">(</span><span class="n">argv</span><span class="p">))</span>
<span class="k">try</span><span class="p">:</span>
<span class="k">return</span> <span class="n">argv</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span><span class="o">.</span><span class="n">join</span><span class="p">([</span><span class="n">argv</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="o">**</span><span class="n">something</span><span class="p">)</span> <span class="k">for</span> <span class="n">something</span> <span class="ow">in</span> <span class="n">iterable</span><span class="p">])</span>
<span class="k">except</span> <span class="ne">IndexError</span> <span class="k">as</span> <span class="n">e</span><span class="p">:</span>
<span class="k">if</span> <span class="n">e</span><span class="o">.</span><span class="n">args</span> <span class="o">==</span> <span class="p">(</span><span class="s1">&#39;tuple index out of range&#39;</span><span class="p">,):</span>
<span class="k">raise</span> <span class="n">PatternInvalidArgument</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s2">&quot;string&quot;</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="n">argv</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span>
<span class="k">raise</span> <span class="n">e</span>
</pre></div>
</div>
</div>
</div>
</div> <footer class="navigation">
<a class="navigation-previous" href="index3.html"></a>·
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
·<a class="navigation-next" href="index5.html"></a>
</footer>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Theme Unit Test</title>
<meta charset="utf-8">
<script type="text/javascript" src="../VenC-Tree-0.0.0.js"></script>
<script type="text/javascript">
window.onload = VENC_TREE_ON_LOAD
</script>
<link rel="alternate" type="application/rss+xml" title="Theme Unit Test" href="feed.xml" />
<link rel="stylesheet" href="../venc_source_CPlusPlus.css" type="text/css" />
<link rel="stylesheet" href="../venc_source_Python.css" type="text/css" />
<link rel="stylesheet" href="../style.css" type="text/css" />
</head>
<body>
<aside>
<div id="blog-avatar" style="background-image: url('');">
</div>
<p id="blog-description">
Test blog output
</p>
<div id="social-network">
</div>
<div id="blog-categories-header">
<div id="blog-categories-header-wrapper">
<div></div><span>Categories</span><div></div>
</div>
</div>
<div id="blog-categories" class="__VENC_TREE_ROOT__">
<ul class="__VENC_TREE_NODE__"><li><a href="../Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/" title="5 publications">Templates</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Footnotes/" title="1 publications">Footnotes</a></li><li><a href="../Templates/Layout-Tricks/" title="1 publications">Layout Tricks</a></li><li><a href="../Templates/Patterns/" title="3 publications">Patterns</a><ul class="__VENC_TREE_NODE__"><li><a href="../Templates/Patterns/CodeHighlight/" title="1 publications">CodeHighlight</a></li><li><a href="../Templates/Patterns/Escape/" title="1 publications">Escape</a></li><li><a href="../Templates/Patterns/Latex2MathML/" title="1 publications">Latex2MathML</a></li></ul></li></ul></li></ul>
</div>
<div id="blog-chapters-header">
<div id="blog-chapters-header-wrapper">
<div></div><span>Chapters</span><div></div>
</div>
</div>
<div id="blog-chapters" class="__VENC_TREE_ROOT__">
<ul class="chapter-level0 __VENC_TREE_NODE__"><li>1. <a href="../chapters/Footnotes%20unit%20test">Footnotes unit test</a><ul class="chapter-level1 __VENC_TREE_NODE__"><li>1.2. <a href="../chapters/CodeHighlight%20unit%20test">CodeHighlight unit test</a><ul class="chapter-level2 __VENC_TREE_NODE__"><li>1.2.3. <a href="../chapters/Latex2MathML%20unit%20test">Latex2MathML unit test</a></li></ul></li></ul></li><li>2. <a href="../chapters/Escape%20unit%20test">Escape unit test</a></li></ul>
</div>
<div id="blog-navigation-header">
<div id="blog-navigation-header-wrapper">
<div></div><span>Navigation</span><div></div>
</div>
</div>
<div id="blog-navigation" class="navigation">
<a class="navigation-previous" href="index4.html"></a>·
<ul class="navigation-pages-list"><li><a href="index.html">0</a></li>·<li><a href="index1.html">1</a></li>·<li><a href="index2.html">2</a></li>·<li><a href="index3.html">3</a></li>·<li><a href="index4.html">4</a></li>·<li><a href="index5.html">5</a></li></ul>
</div>
</aside>
<div id="blog-content">
<header>
<h1><a href="http://127.0.0.1:8888"><img src="" alt="Theme Unit Test"></a></h1>
</header>
<div id="__VENC_COLUMN_0__" class="__VENC_COLUMN__"> <div id="entry1" class="entry">
<div class="entry_header">
<h2><a href="../entry1.html">Footnotes unit test</a></h2>
<span class="entry-date">Tuesday 13. August 2019</span>
</div>
<div class="entry_content">
&l