all repos — h3rald @ f52c8f0457f3c6090e66ba1de2e82d272ae7438f

The sources of https://h3rald.com

Recompiled glyph book.
h3rald h3rald@h3rald.com
Thu, 26 Dec 2013 22:36:53 +0100
commit

f52c8f0457f3c6090e66ba1de2e82d272ae7438f

parent

7c392647836be1fb022aea53f448c3c8508ae3d3

60 files changed, 7968 insertions(+), 468 deletions(-)

jump to
M content/glyph/book/acknowledgements.htmlcontent/glyph/book/acknowledgements.html

@@ -1,10 +1,91 @@

------ -permalink: t_2 -title: Glyph &ndash; Acknowledgements -type: page ------ -<nav class="navigation"><a href="/glyph/book/license.html">← License</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/create_project.html">Creating your first Glyph Project →</a></nav> -<p>Glyph was designed and developed by <a href="http://www.h3rald.com">Fabio Cevasco</a> (h3rald).</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Acknowledgements - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Acknowledgements</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/license.html">← License</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/create_project.html">Creating your first Glyph Project →</a></nav> + <p>Glyph was designed and developed by <a href="http://www.h3rald.com">Fabio Cevasco</a> (h3rald).</p> <p>Special thanks to the following individuals who contributed to Glyph by reporting and fixing issues, proposing and implementing new features or provided Glyph-related resources and plugins:</p> <ul> <li><a href="http://www.jabbslad.com">Jamie Atkinson</a> (Jabbslad)</li>

@@ -15,4 +96,48 @@ <li>Eric Givens (darthzippy)</li>

<li><a href="http://www.taylored-software.com/">Tammy Cravit</a> (tammycravit)</li> </ul> -<nav class="navigation"><a href="/glyph/book/license.html">← License</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/create_project.html">Creating your first Glyph Project →</a></nav>+ <nav class="navigation"><a href="/glyph/book/license.html">← License</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/create_project.html">Creating your first Glyph Project →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/changelog.htmlcontent/glyph/book/changelog.html

@@ -1,10 +1,91 @@

------ -permalink: t_58 -title: Glyph &ndash; Changelog -type: page ------ -<nav class="navigation"><a href="/glyph/book/config/output.html">← <code>output.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | </nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Changelog - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Changelog</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/config/output.html">← <code>output.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | </nav> +

@@ -864,4 +945,48 @@ <header><h1 id="h_320" class="toc">v0.1.0 &ndash; April 8th 2010</h1></header>

Initial release. </section> -<nav class="navigation"><a href="/glyph/book/config/output.html">← <code>output.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | </nav>+ <nav class="navigation"><a href="/glyph/book/config/output.html">← <code>output.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | </nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/compiling/compiling.htmlcontent/glyph/book/compiling/compiling.html

@@ -1,10 +1,91 @@

------ -permalink: compile -title: Glyph &ndash; Compiling a project -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/evaluation.html">← Simple Programming and Code Evaluation</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/lite_mode.html">Compiling single Glyph files →</a></nav> -<p>By default, a Glyph project can be &#8220;compiled&#8221; into an <span class="caps">HTML</span> document. Additionally, Glyph can also be used to produce documents in the following formats:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Compiling a project - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Compiling a project</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/evaluation.html">← Simple Programming and Code Evaluation</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/lite_mode.html">Compiling single Glyph files →</a></nav> + <p>By default, a Glyph project can be &#8220;compiled&#8221; into an <span class="caps">HTML</span> document. Additionally, Glyph can also be used to produce documents in the following formats:</p> <ul> <li>HTML5</li> <li><span class="caps">PDF</span> (generated from <span class="caps">HTML</span> using a third-party generator like <a href="http://www.princexml.com/">Prince</a> or <a href="http://code.google.com/p/wkhtmltopdf/">wkhtmltopdf</a>)</li>

@@ -80,4 +161,48 @@

</aside> </section> -<nav class="navigation"><a href="/glyph/book/text_editing/evaluation.html">← Simple Programming and Code Evaluation</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/lite_mode.html">Compiling single Glyph files →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/evaluation.html">← Simple Programming and Code Evaluation</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/lite_mode.html">Compiling single Glyph files →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/compiling/lite_mode.htmlcontent/glyph/book/compiling/lite_mode.html

@@ -1,10 +1,91 @@

------ -permalink: lite_mode -title: Glyph &ndash; Compiling single Glyph files -type: page ------ -<nav class="navigation"><a href="/glyph/book/compiling/compiling.html">← Compiling a project</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/programmatic_usage.html">Using Glyph programmatically →</a></nav> - <p>Glyph's primary goal is to author complex documents like books or manuals. In order to do so, a Glyph project is required to keep everything organized and automated via a set of predefined conventions, exactly like Ruby on Rails or other similar frameworks do.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Compiling single Glyph files - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Compiling single Glyph files</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/compiling/compiling.html">← Compiling a project</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/programmatic_usage.html">Using Glyph programmatically →</a></nav> + <p>Glyph's primary goal is to author complex documents like books or manuals. In order to do so, a Glyph project is required to keep everything organized and automated via a set of predefined conventions, exactly like Ruby on Rails or other similar frameworks do.</p> <p>If you want to write a one-page article or a short draft, however, creating and managing Glyph projects can be an unnecessary burden. Luckily, you don't have to: you can use Glyph to compile single files containing Glyph code, by adding one parameter (or two if you want to specify a custom destination file) to the <a href="/glyph/book/ref_commands.html#c_compile"><code>compile</code></a> command, like this:</p> <p> <code>glyph compile source.glyph destination.htm</code>

@@ -23,4 +104,48 @@ <li>The files included through the <a href="/glyph/book/macros/macros_core.html#m_include"><code>include</code></a> macro must be referenced with their absolute path, or a path relative to the current directory.</li>

</ul> </section> -<nav class="navigation"><a href="/glyph/book/compiling/compiling.html">← Compiling a project</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/programmatic_usage.html">Using Glyph programmatically →</a></nav>+ <nav class="navigation"><a href="/glyph/book/compiling/compiling.html">← Compiling a project</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/programmatic_usage.html">Using Glyph programmatically →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/compiling/programmatic_usage.htmlcontent/glyph/book/compiling/programmatic_usage.html

@@ -1,10 +1,91 @@

------ -permalink: t_25 -title: Glyph &ndash; Using Glyph programmatically -type: page ------ -<nav class="navigation"><a href="/glyph/book/compiling/lite_mode.html">← Compiling single Glyph files</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/stats.html">Using the stats command →</a></nav> - <p>Besides using Glyph from the command line, you can also use it straight from your code. Glyph&#8217;s public <a href="http://rubydoc.info/gems/glyph"><span class="caps">API</span></a> is simple and can be used to:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Using Glyph programmatically - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Using Glyph programmatically</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/compiling/lite_mode.html">← Compiling single Glyph files</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/stats.html">Using the stats command →</a></nav> + <p>Besides using Glyph from the command line, you can also use it straight from your code. Glyph&#8217;s public <a href="http://rubydoc.info/gems/glyph"><span class="caps">API</span></a> is simple and can be used to:</p> <ul> <li>Retrieve and update configuration settings (using <code>Glyph[]</code> and <code>Glyph[]=</code>)</li> <li>Filter text to <span class="caps">HTML</span> (using <code>Glyph#filter</code>)</li>

@@ -97,4 +178,48 @@ </tr>

</table> </section> -<nav class="navigation"><a href="/glyph/book/compiling/lite_mode.html">← Compiling single Glyph files</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/stats.html">Using the stats command →</a></nav>+ <nav class="navigation"><a href="/glyph/book/compiling/lite_mode.html">← Compiling single Glyph files</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/stats.html">Using the stats command →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/config/document.htmlcontent/glyph/book/config/document.html

@@ -1,10 +1,91 @@

------ -permalink: cfg_document -title: Glyph &ndash; <code>document.*</code> -type: page ------ -<nav class="navigation"><a href="/glyph/book/macros/macros_structure.html">← Structure Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/filters.html"><code>filters.*</code> →</a></nav> -The following configuration settings are related to the current Glyph document. Therefore, you should update them right after creating a project. +<!DOCTYPE html> +<html lang="en"> + <head> + <title><code>document.*</code> - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1><code>document.*</code></h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/macros/macros_structure.html">← Structure Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/filters.html"><code>filters.*</code> →</a></nav> + The following configuration settings are related to the current Glyph document. Therefore, you should update them right after creating a project. <table> <tr>

@@ -170,4 +251,48 @@ </code>

</td> </tr> </table> -<nav class="navigation"><a href="/glyph/book/macros/macros_structure.html">← Structure Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/filters.html"><code>filters.*</code> →</a></nav>+ <nav class="navigation"><a href="/glyph/book/macros/macros_structure.html">← Structure Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/filters.html"><code>filters.*</code> →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/config/filters.htmlcontent/glyph/book/config/filters.html

@@ -1,10 +1,91 @@

------ -permalink: cfg_filters -title: Glyph &ndash; <code>filters.*</code> -type: page ------ -<nav class="navigation"><a href="/glyph/book/config/document.html">← <code>document.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/options.html"><code>options.*</code> →</a></nav> -These settings are used to configure some special options related to output filters and highlighters. +<!DOCTYPE html> +<html lang="en"> + <head> + <title><code>filters.*</code> - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1><code>filters.*</code></h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/config/document.html">← <code>document.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/options.html"><code>options.*</code> →</a></nav> + These settings are used to configure some special options related to output filters and highlighters. <table> <tr>

@@ -98,4 +179,48 @@ </code>

</td> </tr> </table> -<nav class="navigation"><a href="/glyph/book/config/document.html">← <code>document.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/options.html"><code>options.*</code> →</a></nav>+ <nav class="navigation"><a href="/glyph/book/config/document.html">← <code>document.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/options.html"><code>options.*</code> →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/config/options.htmlcontent/glyph/book/config/options.html

@@ -1,10 +1,91 @@

------ -permalink: cfg_options -title: Glyph &ndash; <code>options.*</code> -type: page ------ -<nav class="navigation"><a href="/glyph/book/config/filters.html">← <code>filters.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/output.html"><code>output.*</code> →</a></nav> -The following configuration settings are used to enable or disable specific Glyph functionalities and behaviors. +<!DOCTYPE html> +<html lang="en"> + <head> + <title><code>options.*</code> - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1><code>options.*</code></h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/config/filters.html">← <code>filters.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/output.html"><code>output.*</code> →</a></nav> + The following configuration settings are used to enable or disable specific Glyph functionalities and behaviors. <table> <tr>

@@ -109,4 +190,48 @@ </code>

</td> </tr> </table> -<nav class="navigation"><a href="/glyph/book/config/filters.html">← <code>filters.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/output.html"><code>output.*</code> →</a></nav>+ <nav class="navigation"><a href="/glyph/book/config/filters.html">← <code>filters.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/output.html"><code>output.*</code> →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/config/output.htmlcontent/glyph/book/config/output.html

@@ -1,10 +1,91 @@

------ -permalink: cfg_output -title: Glyph &ndash; <code>output.*</code> -type: page ------ -<nav class="navigation"><a href="/glyph/book/config/options.html">← <code>options.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/changelog.html">Changelog →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title><code>output.*</code> - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1><code>output.*</code></h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/config/options.html">← <code>options.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/changelog.html">Changelog →</a></nav> +

@@ -640,4 +721,48 @@ </tr>

</table> </section> -<nav class="navigation"><a href="/glyph/book/config/options.html">← <code>options.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/changelog.html">Changelog →</a></nav>+ <nav class="navigation"><a href="/glyph/book/config/options.html">← <code>options.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/changelog.html">Changelog →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/bookmarks_headers.htmlcontent/glyph/book/extending/bookmarks_headers.html

@@ -1,10 +1,91 @@

------ -permalink: t_34 -title: Glyph &ndash; Bookmarks and Headers -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/params_attrs.html">← Parameters and Attributes</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/placeholders.html">Using Placeholders →</a></nav> - <p>The <a href="http://rubydoc.info/gems/glyph/Macro"><code>Glyph::Macro</code></a> class also includes a few methods to check and store bookmarks and headers. Consider for example the following source code for the <a href="/glyph/book/macros/macros_inline.html#m_anchor"><code>anchor</code></a> macro:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Bookmarks and Headers - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Bookmarks and Headers</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/params_attrs.html">← Parameters and Attributes</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/placeholders.html">Using Placeholders →</a></nav> + <p>The <a href="http://rubydoc.info/gems/glyph/Macro"><code>Glyph::Macro</code></a> class also includes a few methods to check and store bookmarks and headers. Consider for example the following source code for the <a href="/glyph/book/macros/macros_inline.html#m_anchor"><code>anchor</code></a> macro:</p> <div class="CodeRay"> <div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span>macro <span class="symbol">:anchor</span> <span class="keyword">do</span>

@@ -19,4 +100,48 @@ </div>

<p>The <code>bookmark?</code> method can be used to check the existance of a particular ID within the whole document, while the <code>bookmark</code> method is used to store bookmark IDs and titles. In a similar way, you can use <code>header?</code> and <code>header</code> methods to check the existance of headers within the documents or store new ones.</p> -<nav class="navigation"><a href="/glyph/book/extending/params_attrs.html">← Parameters and Attributes</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/placeholders.html">Using Placeholders →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/params_attrs.html">← Parameters and Attributes</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/placeholders.html">Using Placeholders →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/command.htmlcontent/glyph/book/extending/command.html

@@ -1,10 +1,91 @@

------ -permalink: custom_command -title: Glyph &ndash; Defining Custom Commands -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/output_format.html">← Custom Output Formats</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_generic.html">Generic Errors →</a></nav> -<p>Glyph relies on <a href="http://davetron5000.github.com/gli/"><span class="caps">GLI</span></a> for defining commands. This useful library provides a high-level framework for creating command-line interface similar to <a href="http://git-scm.com/">Git</a>, its <span class="caps">DSL</span> takes care of pretty much everything, from managing command line arguments and options to providing an interactive help system.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Defining Custom Commands - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Defining Custom Commands</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/output_format.html">← Custom Output Formats</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_generic.html">Generic Errors →</a></nav> + <p>Glyph relies on <a href="http://davetron5000.github.com/gli/"><span class="caps">GLI</span></a> for defining commands. This useful library provides a high-level framework for creating command-line interface similar to <a href="http://git-scm.com/">Git</a>, its <span class="caps">DSL</span> takes care of pretty much everything, from managing command line arguments and options to providing an interactive help system.</p> <section class="section"> <header><h1 id="h_108" class="toc">Creating a 'glyph generate' command</h1></header> <p>Consider the custom task defined in <a href="/glyph/book/extending/task.html#custom_generate_task">Creating a &#8216;custom:generate&#8217; task</a>. Creating a custom command to call it is fairly straightforward.</p>

@@ -28,7 +109,7 @@ <p>That&#8217;s it. If you try to run <code>glyph help</code> within your project directory, notice that there&#8217;s a new entry for the generate command:</p>

<div class="CodeRay"> <div class="code"><pre><span class="line-numbers"> <a href="#n1" name="n1">1</a></span>$ glyph help <span class="line-numbers"> <a href="#n2" name="n2">2</a></span>===================================== -<span class="line-numbers"> <a href="#n3" name="n3">3</a></span>Glyph v/0.5.3 +<span class="line-numbers"> <a href="#n3" name="n3">3</a></span>Glyph v/0.5.2 <span class="line-numbers"> <a href="#n4" name="n4">4</a></span>===================================== <span class="line-numbers"> <a href="#n5" name="n5">5</a></span>usage: glyph command [options] <span class="line-numbers"> <a href="#n6" name="n6">6</a></span>

@@ -55,4 +136,48 @@ <span class="line-numbers"><a href="#n3" name="n3">3</a></span>-- Done.</pre></div>

</div> </section> -<nav class="navigation"><a href="/glyph/book/extending/output_format.html">← Custom Output Formats</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_generic.html">Generic Errors →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/output_format.html">← Custom Output Formats</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_generic.html">Generic Errors →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/commands_tasks.htmlcontent/glyph/book/extending/commands_tasks.html

@@ -1,10 +1,91 @@

------ -permalink: t_40 -title: Glyph &ndash; Defining Custom Commands and Tasks -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/further_reading.html">← Further Reading</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/task.html">Defining Custom Tasks →</a></nav> -<p>In most cases, you can extend Glyph just by creating your own <a href="/glyph/book/extending/macro_def.html#macro_def">custom macros</a>. In some cases though, you may want to further customize Glyph to fit the needs of your project, in terms of creating <a href="/glyph/book/extending/command.html#custom_command">custom commands</a> and <a href="/glyph/book/extending/task.html#custom_task">custom tasks</a>.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Defining Custom Commands and Tasks - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Defining Custom Commands and Tasks</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/further_reading.html">← Further Reading</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/task.html">Defining Custom Tasks →</a></nav> + <p>In most cases, you can extend Glyph just by creating your own <a href="/glyph/book/extending/macro_def.html#macro_def">custom macros</a>. In some cases though, you may want to further customize Glyph to fit the needs of your project, in terms of creating <a href="/glyph/book/extending/command.html#custom_command">custom commands</a> and <a href="/glyph/book/extending/task.html#custom_task">custom tasks</a>.</p> <p>Glyph&#8217;s modular architecture (and the Ruby language itself) lets you to add <em>arbitrary</em> functionality to its core, simply by creating a few Ruby files and putting them in the right places.</p> <section class="section"> <header><h1 id="cmd_tasks_arch" class="toc">How Commands and Tasks work</h1></header>

@@ -41,4 +122,48 @@

</aside> </section> -<nav class="navigation"><a href="/glyph/book/extending/further_reading.html">← Further Reading</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/task.html">Defining Custom Tasks →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/further_reading.html">← Further Reading</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/task.html">Defining Custom Tasks →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/further_reading.htmlcontent/glyph/book/extending/further_reading.html

@@ -1,10 +1,91 @@

------ -permalink: t_39 -title: Glyph &ndash; Further Reading -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/layouts.html">← Layouts</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/commands_tasks.html">Defining Custom Commands and Tasks →</a></nav> - <p>For more examples on how to create more complex macros, have a look at the <a href="http://github.com/h3rald/glyph/tree/master/macros/">source code</a> of the existing ones.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Further Reading - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Further Reading</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/layouts.html">← Layouts</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/commands_tasks.html">Defining Custom Commands and Tasks →</a></nav> + <p>For more examples on how to create more complex macros, have a look at the <a href="http://github.com/h3rald/glyph/tree/master/macros/">source code</a> of the existing ones.</p> <p>To gain a deeper understanding on how macros are executed, have a look at the following Glyph classes:</p> <ul> <li><a href="http://rubydoc.info/gems/glyph/Glyph/Parser"><code>Glyph::Parser</code></a></li>

@@ -13,4 +94,48 @@ <li><a href="http://rubydoc.info/gems/glyph/Glyph/Interpreter"><code>Glyph::Interpreter</code></a></li>

<li><a href="http://rubydoc.info/gems/glyph/Glyph/Document"><code>Glyph::Document</code></a></li> <li><a href="http://rubydoc.info/gems/glyph/Glyph/Macro"><code>Glyph::Macro</code></a></li> </ul> -<nav class="navigation"><a href="/glyph/book/extending/layouts.html">← Layouts</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/commands_tasks.html">Defining Custom Commands and Tasks →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/layouts.html">← Layouts</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/commands_tasks.html">Defining Custom Commands and Tasks →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/internals.htmlcontent/glyph/book/extending/internals.html

@@ -1,10 +1,91 @@

------ -permalink: t_31 -title: Glyph &ndash; A quick look at Glyph's internals -type: page ------ -<nav class="navigation"><a href="/glyph/book/stats/links.html">← Link Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/macro_def.html">Defining Custom Macros →</a></nav> - <p>If you plan on extending Glyph, knowing how it works inside helps. It is not mandatory by any means, but it definitely helps, especially when creating complex macros.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>A quick look at Glyph's internals - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>A quick look at Glyph's internals</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/stats/links.html">← Link Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/macro_def.html">Defining Custom Macros →</a></nav> + <p>If you plan on extending Glyph, knowing how it works inside helps. It is not mandatory by any means, but it definitely helps, especially when creating complex macros.</p> <p>What happens behind the scenes when you call <code>glyph compile</code>? Glyph's code is parsed, analyzed and then translated into text, and here's how:</p> <figure><img src="/glyph/book/images/glyph/document_generation.png" /><figcaption>A sequence diagram for document generation</figcaption></figure> <p>From the diagram, it is possible to divide the document generation process into three phases:</p>

@@ -86,4 +167,48 @@ <span class="line-numbers"><a href="#n8" name="n8">8</a></span><span class="tag">&lt;/div&gt;</span></pre></div>

</div> </section> -<nav class="navigation"><a href="/glyph/book/stats/links.html">← Link Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/macro_def.html">Defining Custom Macros →</a></nav>+ <nav class="navigation"><a href="/glyph/book/stats/links.html">← Link Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/macro_def.html">Defining Custom Macros →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/interpreting.htmlcontent/glyph/book/extending/interpreting.html

@@ -1,10 +1,91 @@

------ -permalink: interpreting -title: Glyph &ndash; Interpreting Glyph Code -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/validators.html">← Using Validators</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/layouts.html">Layouts →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Interpreting Glyph Code - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Interpreting Glyph Code</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/extending/validators.html">← Using Validators</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/layouts.html">Layouts →</a></nav> + <p>What if you need to evaluate some Glyph code <em>within</em> a macro? Say for example you want to transform a parameter in a link, and you want to make sure that link gets validated exactly like the others, in this case, you can use the <code>interpret</code> method, as follows:</p> <div class="CodeRay">

@@ -89,4 +170,48 @@ <p>Within the <a href="/glyph/book/macros/macros_core.html#m_define_"><code>define:</code></a> macro, it is possible to use a special syntax to call the <code>raw_attr</code> or <code>raw_param</code> methods: <br />

<code>{{</code><em>parameter_number</em> or <em>attribute_name</em><code>}}</code></p> </section> -<nav class="navigation"><a href="/glyph/book/extending/validators.html">← Using Validators</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/layouts.html">Layouts →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/validators.html">← Using Validators</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/layouts.html">Layouts →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/layouts.htmlcontent/glyph/book/extending/layouts.html

@@ -1,10 +1,91 @@

------ -permalink: layouts -title: Glyph &ndash; Layouts -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/interpreting.html">← Interpreting Glyph Code</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/further_reading.html">Further Reading →</a></nav> -<p>When generating <a href="/glyph/book/text_editing/topics.html#topics">topic</a>-based outputs, Glyph uses <em>layouts</em> to render topics as standalone documents. By default, the following two layout are used:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Layouts - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Layouts</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/interpreting.html">← Interpreting Glyph Code</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/further_reading.html">Further Reading →</a></nav> + <p>When generating <a href="/glyph/book/text_editing/topics.html#topics">topic</a>-based outputs, Glyph uses <em>layouts</em> to render topics as standalone documents. By default, the following two layout are used:</p> <ul> <li><code>topic</code> &#8212; used to render standard topics.</li> <li><code>index</code> &#8212; used to render the index page of your document.</li>

@@ -79,4 +160,48 @@ </aside>

</section> -<nav class="navigation"><a href="/glyph/book/extending/interpreting.html">← Interpreting Glyph Code</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/further_reading.html">Further Reading →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/interpreting.html">← Interpreting Glyph Code</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/further_reading.html">Further Reading →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/macro_def.htmlcontent/glyph/book/extending/macro_def.html

@@ -1,10 +1,91 @@

------ -permalink: macro_def -title: Glyph &ndash; Defining Custom Macros -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/internals.html">← A quick look at Glyph's internals</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/params_attrs.html">Parameters and Attributes →</a></nav> - <p>Glyph was created wih extensibility in mind. You can freely extend Glyph Language by creating or overriding macros, to do whatever you like. Macro definitions are written in pure Ruby code and placed in <code>.rb</code> files within the <code>lib/macros/</code> folder of your project.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Defining Custom Macros - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Defining Custom Macros</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/internals.html">← A quick look at Glyph's internals</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/params_attrs.html">Parameters and Attributes →</a></nav> + <p>Glyph was created wih extensibility in mind. You can freely extend Glyph Language by creating or overriding macros, to do whatever you like. Macro definitions are written in pure Ruby code and placed in <code>.rb</code> files within the <code>lib/macros/</code> folder of your project.</p> <aside class="box"> <div class="box-title">Alternative Ways to Define Macros</div> <p>You can also define macros:</p>

@@ -113,4 +194,48 @@

Note the different tags used to render the note. </section> -<nav class="navigation"><a href="/glyph/book/extending/internals.html">← A quick look at Glyph's internals</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/params_attrs.html">Parameters and Attributes →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/internals.html">← A quick look at Glyph's internals</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/params_attrs.html">Parameters and Attributes →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/output_format.htmlcontent/glyph/book/extending/output_format.html

@@ -1,10 +1,91 @@

------ -permalink: t_42 -title: Glyph &ndash; Custom Output Formats -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/task.html">← Defining Custom Tasks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/command.html">Defining Custom Commands →</a></nav> -<p>As shown in <a href="/glyph/book/extending/commands_tasks.html#cmd_tasks_arch">How Commands and Tasks work</a>, the <a href="/glyph/book/ref_commands.html#c_compile"><code>compile</code></a> command command calls specific tasks defined in the <code>generate:</code> Rake namespace to generate output files in a particular format.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Custom Output Formats - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Custom Output Formats</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/task.html">← Defining Custom Tasks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/command.html">Defining Custom Commands →</a></nav> + <p>As shown in <a href="/glyph/book/extending/commands_tasks.html#cmd_tasks_arch">How Commands and Tasks work</a>, the <a href="/glyph/book/ref_commands.html#c_compile"><code>compile</code></a> command command calls specific tasks defined in the <code>generate:</code> Rake namespace to generate output files in a particular format.</p> <p>More specifically, when a <code>--format</code> option is specified, the command looks for a task with the same name within the <code>generate:</code> namespace. This makes adding new output formats to Glyph a fairly easy task, without the need to specify custom commands or similar.</p> <p>The following sections explain how the <code>h3rald</code> output format was created to integrate this book into the <a href="http://www.h3rald.com">H3RALD.com</a> website.</p> <section class="section">

@@ -75,4 +156,48 @@ <p>In this case, this task does not actually renders files in a different format, it just moves the files generated by the @generate:web5@ task in different subdirectories.</p>

<p>Additionally, it also generates the <a href="http://www.h3rald.com/glyph/">Glyph project page</a> from the book's introduction (note the usage of a raw custom layout macro).</p> </section> -<nav class="navigation"><a href="/glyph/book/extending/task.html">← Defining Custom Tasks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/command.html">Defining Custom Commands →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/task.html">← Defining Custom Tasks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/command.html">Defining Custom Commands →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/params_attrs.htmlcontent/glyph/book/extending/params_attrs.html

@@ -1,10 +1,91 @@

------ -permalink: t_33 -title: Glyph &ndash; Parameters and Attributes -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/macro_def.html">← Defining Custom Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/bookmarks_headers.html">Bookmarks and Headers →</a></nav> - <p>Perhaps the most common things to do in a macro definition is accessing parameters and attributes. When doing so, it is important to consider whether we want to retrieve the <em>raw value</em> of and attribute or parameter or its <em>expanded value</em>. The difference between the two will become clearer in the following sections and also in the <a href="/glyph/book/extending/interpreting.html#interpreting">Interpreting Glyph Code</a> section.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Parameters and Attributes - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Parameters and Attributes</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/macro_def.html">← Defining Custom Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/bookmarks_headers.html">Bookmarks and Headers →</a></nav> + <p>Perhaps the most common things to do in a macro definition is accessing parameters and attributes. When doing so, it is important to consider whether we want to retrieve the <em>raw value</em> of and attribute or parameter or its <em>expanded value</em>. The difference between the two will become clearer in the following sections and also in the <a href="/glyph/book/extending/interpreting.html#interpreting">Interpreting Glyph Code</a> section.</p> <section class="section"> <header><h1 id="expanded_values" class="toc">Accessing Expanded Values</h1></header> <p>Normally, you just want to get the value of an attribute or parameter and use it in the macro. This means, in other words, its <em>expanded</em> value, i.e. the value resulting from the expansion of the macros (if any) within the attribute or parameter.</p>

@@ -72,4 +153,48 @@ <li><code>raw_attribute</code> (or <code>raw_attr</code>): Returns the attribute value of the attribute specified by name.</li>

</ul> </section> -<nav class="navigation"><a href="/glyph/book/extending/macro_def.html">← Defining Custom Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/bookmarks_headers.html">Bookmarks and Headers →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/macro_def.html">← Defining Custom Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/bookmarks_headers.html">Bookmarks and Headers →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/placeholders.htmlcontent/glyph/book/extending/placeholders.html

@@ -1,10 +1,91 @@

------ -permalink: t_35 -title: Glyph &ndash; Using Placeholders -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/bookmarks_headers.html">← Bookmarks and Headers</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/validators.html">Using Validators →</a></nav> - <p>Sometimes you may need to access some data that will not be available until the entire document has been fully parsed and analyzed. For example, in order to be able to validate internal links, it is necessary to know in advance if the bookmark ID referenced in the link exists or not, either before (that&#8217;s easy) or even <em>after</em> the link.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Using Placeholders - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Using Placeholders</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/bookmarks_headers.html">← Bookmarks and Headers</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/validators.html">Using Validators →</a></nav> + <p>Sometimes you may need to access some data that will not be available until the entire document has been fully parsed and analyzed. For example, in order to be able to validate internal links, it is necessary to know in advance if the bookmark ID referenced in the link exists or not, either before (that&#8217;s easy) or even <em>after</em> the link.</p> <p>Here&#8217;s the source code of the <a href="/glyph/book/macros/macros_inline.html#m_link"><code>link</code></a> macro:</p> <div class="CodeRay"> <div class="code"><pre><span class="line-numbers"> <a href="#n1" name="n1">1</a></span>macro <span class="symbol">:link</span> <span class="keyword">do</span>

@@ -41,4 +122,48 @@ </div>

<p>If there&#8217;s already a bookmark stored in the current document, then it is possible to retrieve its title and use it as link text. Otherwise, it is necessary to wait until the entire document has been fully processed and then check if the bookmark exists. To do so, use the <code>placeholder</code> method. When called, this method returns an unique placeholder, which is then substituted with the value of the block, right before the document is finalized.</p> <p>Within the <code>placeholder</code> block, the <code>document</code> parameter is, by all means, the fully analyzed document.</p> -<nav class="navigation"><a href="/glyph/book/extending/bookmarks_headers.html">← Bookmarks and Headers</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/validators.html">Using Validators →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/bookmarks_headers.html">← Bookmarks and Headers</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/validators.html">Using Validators →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/task.htmlcontent/glyph/book/extending/task.html

@@ -1,10 +1,91 @@

------ -permalink: custom_task -title: Glyph &ndash; Defining Custom Tasks -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/commands_tasks.html">← Defining Custom Commands and Tasks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/output_format.html">Custom Output Formats →</a></nav> -<p>Glyph relies on <a href="http://rake.rubyforge.org/">Rake</a> to perform most of its core operations. Typically, Rake tasks are used do define the high level logic that is used by Glyph commands to, for example, compile a project or load configuration files.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Defining Custom Tasks - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Defining Custom Tasks</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/commands_tasks.html">← Defining Custom Commands and Tasks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/output_format.html">Custom Output Formats →</a></nav> + <p>Glyph relies on <a href="http://rake.rubyforge.org/">Rake</a> to perform most of its core operations. Typically, Rake tasks are used do define the high level logic that is used by Glyph commands to, for example, compile a project or load configuration files.</p> <p>Furthermore, Rake provides an easy mechanism to create dependencies among tasks: for example, to make sure that Glyph&#8217;s configuration files are loaded before everything else happens.</p> <section class="section"> <header><h1 id="custom_generate_task" class="toc">Creating a 'custom:generate' task</h1></header>

@@ -44,4 +125,48 @@ <p>That&#8217;s it. Note that this task is pretty useless without a command that calls it, and it won&#8217;t even show up if you run <code>rake -T</code> within your project directory. <span class="fmi">for more information on <mark>creating custom commands</mark>, see <a href="/glyph/book/extending/command.html#custom_command">Defining Custom Commands</a></span>.</p>

</section> -<nav class="navigation"><a href="/glyph/book/extending/commands_tasks.html">← Defining Custom Commands and Tasks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/output_format.html">Custom Output Formats →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/commands_tasks.html">← Defining Custom Commands and Tasks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/output_format.html">Custom Output Formats →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/extending/validators.htmlcontent/glyph/book/extending/validators.html

@@ -1,10 +1,91 @@

------ -permalink: t_36 -title: Glyph &ndash; Using Validators -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/placeholders.html">← Using Placeholders</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/interpreting.html">Interpreting Glyph Code →</a></nav> - <p>If you need to make sure that a macro is used properly, consider using <a href="http://rubydoc.info/gems/glyph/Glyph/Macro/Validators">validators</a>. These methods can be used anywhere within the macro code to check whether certain conditions are met or not. Some default validators are provided to check the number of parameters of a macro, and they are actually used in some system macros.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Using Validators - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Using Validators</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/placeholders.html">← Using Placeholders</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/interpreting.html">Interpreting Glyph Code →</a></nav> + <p>If you need to make sure that a macro is used properly, consider using <a href="http://rubydoc.info/gems/glyph/Glyph/Macro/Validators">validators</a>. These methods can be used anywhere within the macro code to check whether certain conditions are met or not. Some default validators are provided to check the number of parameters of a macro, and they are actually used in some system macros.</p> <p>If you want to create your own validators, you can call the generic <code>validate</code> method which takes the message to display in case of error, a Hash of options and a block containing the validation to perform.</p> <aside class="box"> <div class="box-title">Validating macro placement</div>

@@ -18,4 +99,48 @@ <p>Even if you consider all the possibilities within the scope of the default macros provided with Glyph, this could still make the <code>box</code> macro unusable within custom macros.</p>

<p>For the specific cases where a macro does not make sense unless is within another (e.g. the <a href="/glyph/book/macros/macros_core.html#m_eq"><code>eq</code></a> macro), a <code>within</code> validator is used. Note though, that this validator only checks that the macro is used within another, but it is not necessarily its child.</p> </aside> -<nav class="navigation"><a href="/glyph/book/extending/placeholders.html">← Using Placeholders</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/interpreting.html">Interpreting Glyph Code →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/placeholders.html">← Using Placeholders</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/interpreting.html">Interpreting Glyph Code →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/getting_started/configuration.htmlcontent/glyph/book/getting_started/configuration.html

@@ -1,10 +1,91 @@

------ -permalink: cfg -title: Glyph &ndash; Project Configuration -type: page ------ -<nav class="navigation"><a href="/glyph/book/getting_started/structure.html">← Document Structure</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/glyph_files.html"><code>.glyph</code> files →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Project Configuration - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Project Configuration</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/getting_started/structure.html">← Document Structure</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/glyph_files.html"><code>.glyph</code> files →</a></nav> + <p>Glyph stores configuration settings in the following <span class="caps">YAML</span> files:</p> <ol> <li>Your <em>Project Configuration</em> is stored in the <code>config.yml</code> file, included in each Glyph Project.</li>

@@ -42,4 +123,48 @@ <p>Note that this guessing is far from being foolproof: If you type something like <em>{:test, 2}</em>, for example, you&#8217;ll get an error.</p>

</aside> <p>There are plenty of configuration settings that can be modified, but most of them are best if left alone (and in the System Configuration file).</p> <p>For a complete reference, see <a href="/glyph/book/document.html#cfg_ref">Configuration Reference</a>. For everyday use, you may just want to change the settings defined in the <a href="/glyph/book/config/document.html#cfg_document"><code>document.*</code></a> namespace.</p> -<nav class="navigation"><a href="/glyph/book/getting_started/structure.html">← Document Structure</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/glyph_files.html"><code>.glyph</code> files →</a></nav>+ <nav class="navigation"><a href="/glyph/book/getting_started/structure.html">← Document Structure</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/glyph_files.html"><code>.glyph</code> files →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/getting_started/create_project.htmlcontent/glyph/book/getting_started/create_project.html

@@ -1,10 +1,91 @@

------ -permalink: t_3 -title: Glyph &ndash; Creating your first Glyph Project -type: page ------ -<nav class="navigation"><a href="/glyph/book/acknowledgements.html">← Acknowledgements</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/structure.html">Document Structure →</a></nav> -<p>To install Glyph, simply run <code>gem install glyph</code>, like with any other Ruby gem. Then, create a new directory and initialize a new Glyph project, like so:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Creating your first Glyph Project - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Creating your first Glyph Project</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/acknowledgements.html">← Acknowledgements</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/structure.html">Document Structure →</a></nav> + <p>To install Glyph, simply run <code>gem install glyph</code>, like with any other Ruby gem. Then, create a new directory and initialize a new Glyph project, like so:</p> <p><code>mkdir</code> <em>test_document</em></p> <p><code>cd</code> <em>test_document</em></p> <p><code>glyph init</code></p>

@@ -39,4 +120,48 @@ <ul>

<li><code>config.yml</code> &#8212; containing your <a href="/glyph/book/getting_started/configuration.html#cfg">Project Configuration</a>.</li> <li><code>document.glyph</code> &#8212; containing the <a href="/glyph/book/getting_started/structure.html#struct">structure</a> of your document.</li> </ul> -<nav class="navigation"><a href="/glyph/book/acknowledgements.html">← Acknowledgements</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/structure.html">Document Structure →</a></nav>+ <nav class="navigation"><a href="/glyph/book/acknowledgements.html">← Acknowledgements</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/structure.html">Document Structure →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/getting_started/structure.htmlcontent/glyph/book/getting_started/structure.html

@@ -1,10 +1,91 @@

------ -permalink: struct -title: Glyph &ndash; Document Structure -type: page ------ -<nav class="navigation"><a href="/glyph/book/getting_started/create_project.html">← Creating your first Glyph Project</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/configuration.html">Project Configuration →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Document Structure - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Document Structure</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/getting_started/create_project.html">← Creating your first Glyph Project</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/configuration.html">Project Configuration →</a></nav> + <p>Every Glyph project contains a <code>document.glyph</code> file that is typically used to define the document structure. The default <code>document.glyph</code> generated automatically when creating a new project is the following:</p> <div class="CodeRay">

@@ -55,4 +136,48 @@ <li>The <a href="/glyph/book/macros/macros_structure.html#m_book"><code>book</code></a> macro wraps every other macro and is used to create the document header and default title page.</li>

<li>Then, the <code>@frontmatter</code>, <code>@bodymatter</code>, and <code>@backmatter</code> attributes are used to divide the portions of your document according to the rules of <a href="http://en.wikipedia.org/wiki/Book_design">book design</a>. They are not mandatory, but they can be used, for example, to number your appendixes with letters instead of numbers and similar.</li> <li><code>preface</code>, <code>chapter</code>, <code>appendix</code> are just a way to wrap content in <code>&lt;div&gt;</code> tags, from an <span class="caps">HTML</span> point of view (or <code>&lt;section&gt;</code> tags, in HTML5), but they are also necessary to nest the content of your document and generate the Table of Contents automatically, together through <code>@title</code> attributes.</li> </ul> -<nav class="navigation"><a href="/glyph/book/getting_started/create_project.html">← Creating your first Glyph Project</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/configuration.html">Project Configuration →</a></nav>+ <nav class="navigation"><a href="/glyph/book/getting_started/create_project.html">← Creating your first Glyph Project</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/getting_started/configuration.html">Project Configuration →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/index.htmlcontent/glyph/book/index.html

@@ -1,9 +1,90 @@

------ -permalink: index -title: Glyph Documentation -type: page ------ -<nav class="contents"> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Glyph - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Glyph - Document Authoring Framework</h1> + <h2>Documentation</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="contents"> <h1 class="toc-header" id="toc">Table of Contents</h1> <ol class="toc"> <li class="frontmatter introduction"><a href="/glyph/book/introduction.html#h_1">Introduction</a></li><li><ol><li class="frontmatter section"><a href="/glyph/book/license.html#h_12">License</a></li><li class="frontmatter section">Resources</li></ol></li>

@@ -22,4 +103,48 @@ <li class="backmatter appendix"><a href="/glyph/book/ref_commands.html#cmd_ref">Command Reference</a></li><li class="backmatter appendix">Macro Reference</li><li><ol><li class="appendix section"><a href="/glyph/book/macros/macros_core.html#h_139">Core Macros</a></li><li class="appendix section"><a href="/glyph/book/macros/macros_block.html#h_215">Block Macros</a></li><li class="appendix section"><a href="/glyph/book/macros/macros_inline.html#h_240">Inline Macros</a></li><li class="appendix section"><a href="/glyph/book/macros/macros_filters.html#f_macros">Filter Macros</a></li><li class="appendix section"><a href="/glyph/book/macros/macros_structure.html#h_266">Structure Macros</a></li></ol></li>

<li class="backmatter appendix">Configuration Reference</li><li><ol><li class="appendix section"><a href="/glyph/book/config/document.html#cfg_document"><code>document.*</code></a></li><li class="appendix section"><a href="/glyph/book/config/filters.html#cfg_filters"><code>filters.*</code></a></li><li class="appendix section"><a href="/glyph/book/config/options.html#cfg_options"><code>options.*</code></a></li><li class="appendix section"><a href="/glyph/book/config/output.html#cfg_output"><code>output.*</code></a></li></ol></li> <li class="backmatter appendix"><a href="/glyph/book/changelog.html#h_297">Changelog</a></li> </ol> -</nav>+</nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/introduction.htmlcontent/glyph/book/introduction.html

@@ -1,10 +1,91 @@

------ -permalink: t_0 -title: Glyph &ndash; Introduction -type: page ------ -<nav class="navigation"> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/license.html">License →</a></nav> -<section class="section"> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Introduction - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Introduction</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/license.html">License →</a></nav> + <section class="section"> <p>Glyph is a <em>Rapid Document Authoring Framework</em>.</p> <p>With Glyph, creating and maintaining any kind of document becomes as easy as&#8230; <em>programming</em>. Glyph enables you to minimize text duplication, focus on content rather than presentation, manage references seamlessly and automate tedious tasks through a simple but effective macro language, specifically geared towards customization and extensibility.</p>

@@ -150,4 +231,48 @@

</section> </section> -<nav class="navigation"> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/license.html">License →</a></nav>+ <nav class="navigation"> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/license.html">License →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/license.htmlcontent/glyph/book/license.html

@@ -1,10 +1,91 @@

------ -permalink: t_1 -title: Glyph &ndash; License -type: page ------ -<nav class="navigation"><a href="/glyph/book/introduction.html">← Introduction</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/acknowledgements.html">Acknowledgements →</a></nav> -<p>Copyright &copy; 2010-2012 <strong>Fabio Cevasco</strong>, <a href="http://www.h3rald.com">http://www.h3rald.com</a></p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>License - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>License</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/introduction.html">← Introduction</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/acknowledgements.html">Acknowledgements →</a></nav> + <p>Copyright &copy; 2010-2012 <strong>Fabio Cevasco</strong>, <a href="http://www.h3rald.com">http://www.h3rald.com</a></p> <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights

@@ -21,4 +102,48 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </p> -<nav class="navigation"><a href="/glyph/book/introduction.html">← Introduction</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/acknowledgements.html">Acknowledgements →</a></nav>+ <nav class="navigation"><a href="/glyph/book/introduction.html">← Introduction</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/acknowledgements.html">Acknowledgements →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/macros/macros_block.htmlcontent/glyph/book/macros/macros_block.html

@@ -1,10 +1,91 @@

------ -permalink: t_50 -title: Glyph &ndash; Block Macros -type: page ------ -<nav class="navigation"><a href="/glyph/book/macros/macros_core.html">← Core Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_inline.html">Inline Macros →</a></nav> - +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Block Macros - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Block Macros</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/macros/macros_core.html">← Core Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_inline.html">Inline Macros →</a></nav> + <section class="section"> <header><h1 id="m_box" class="toc"><code>box</code></h1></header> <p>Creates a titled box (<code>&lt;div&gt;</code> tag).</p>

@@ -318,4 +399,48 @@ <p><strong>Example:</strong> <code>title[]</code></p>

</section> -<nav class="navigation"><a href="/glyph/book/macros/macros_core.html">← Core Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_inline.html">Inline Macros →</a></nav>+ <nav class="navigation"><a href="/glyph/book/macros/macros_core.html">← Core Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_inline.html">Inline Macros →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/macros/macros_core.htmlcontent/glyph/book/macros/macros_core.html

@@ -1,10 +1,91 @@

------ -permalink: t_49 -title: Glyph &ndash; Core Macros -type: page ------ -<nav class="navigation"><a href="/glyph/book/ref_commands.html">← Command Reference</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_block.html">Block Macros →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Core Macros - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Core Macros</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/ref_commands.html">← Command Reference</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_block.html">Block Macros →</a></nav> + <section class="section"> <header><h1 id="m_add" class="toc"><code>add</code></h1></header>

@@ -1095,4 +1176,48 @@ </section>

</section> -<nav class="navigation"><a href="/glyph/book/ref_commands.html">← Command Reference</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_block.html">Block Macros →</a></nav>+ <nav class="navigation"><a href="/glyph/book/ref_commands.html">← Command Reference</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_block.html">Block Macros →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/macros/macros_filters.htmlcontent/glyph/book/macros/macros_filters.html

@@ -1,10 +1,91 @@

------ -permalink: f_macros -title: Glyph &ndash; Filter Macros -type: page ------ -<nav class="navigation"><a href="/glyph/book/macros/macros_inline.html">← Inline Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_structure.html">Structure Macros →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Filter Macros - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Filter Macros</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/macros/macros_inline.html">← Inline Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_structure.html">Structure Macros →</a></nav> + <section class="section"> <header><h1 id="m_markdown" class="toc"><code>markdown</code></h1></header>

@@ -241,4 +322,48 @@ </section>

</section> -<nav class="navigation"><a href="/glyph/book/macros/macros_inline.html">← Inline Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_structure.html">Structure Macros →</a></nav>+ <nav class="navigation"><a href="/glyph/book/macros/macros_inline.html">← Inline Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_structure.html">Structure Macros →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/macros/macros_inline.htmlcontent/glyph/book/macros/macros_inline.html

@@ -1,10 +1,91 @@

------ -permalink: t_51 -title: Glyph &ndash; Inline Macros -type: page ------ -<nav class="navigation"><a href="/glyph/book/macros/macros_block.html">← Block Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_filters.html">Filter Macros →</a></nav> - +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Inline Macros - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Inline Macros</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/macros/macros_block.html">← Block Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_filters.html">Filter Macros →</a></nav> + <section class="section"> <header><h1 id="m_anchor" class="toc"><code>anchor</code></h1></header> <p>Creates a named anchor (or bookmark).</p>

@@ -139,4 +220,48 @@ <p><strong>Example:</strong> <code>todo[Remember to do this.]</code></p>

</section> -<nav class="navigation"><a href="/glyph/book/macros/macros_block.html">← Block Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_filters.html">Filter Macros →</a></nav>+ <nav class="navigation"><a href="/glyph/book/macros/macros_block.html">← Block Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_filters.html">Filter Macros →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/macros/macros_structure.htmlcontent/glyph/book/macros/macros_structure.html

@@ -1,10 +1,91 @@

------ -permalink: t_53 -title: Glyph &ndash; Structure Macros -type: page ------ -<nav class="navigation"><a href="/glyph/book/macros/macros_filters.html">← Filter Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/document.html"><code>document.*</code> →</a></nav> - +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Structure Macros - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Structure Macros</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/macros/macros_filters.html">← Filter Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/document.html"><code>document.*</code> →</a></nav> + <section class="section"> <header><h1 id="m_article" class="toc"><code>article</code></h1></header> <p>Used to create a simple article. By default, it includes the following macros:</p>

@@ -369,4 +450,48 @@ </section>

</section> -<nav class="navigation"><a href="/glyph/book/macros/macros_filters.html">← Filter Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/document.html"><code>document.*</code> →</a></nav>+ <nav class="navigation"><a href="/glyph/book/macros/macros_filters.html">← Filter Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/config/document.html"><code>document.*</code> →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/ref_commands.htmlcontent/glyph/book/ref_commands.html

@@ -1,10 +1,91 @@

------ -permalink: cmd_ref -title: Glyph &ndash; Command Reference -type: page ------ -<nav class="navigation"><a href="/glyph/book/troubleshooting/errors_macro.html">← Macro Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_core.html">Core Macros →</a></nav> -<p>Glyph&#8217;s command-line interface has been built using the <a href="http://github.com/davetron5000/gli">gli</a> (Git-like interface) gem. Therefore, Glyph commands are all written like this:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Command Reference - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Command Reference</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/troubleshooting/errors_macro.html">← Macro Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_core.html">Core Macros →</a></nav> + <p>Glyph&#8217;s command-line interface has been built using the <a href="http://github.com/davetron5000/gli">gli</a> (Git-like interface) gem. Therefore, Glyph commands are all written like this:</p> <p><strong>glyph</strong> <em>global_options</em> <strong>command</strong> <em>options</em> <em>parameters</em></p> <p>Where:</p> <ul>

@@ -363,4 +444,48 @@ Prints all the todo items saved using the <a href="/glyph/book/macros/macros_inline.html#m_todo"><code>todo</code></a> macro.

<p><strong>Example:</strong> <code>glyph todo</code></p> </section> -<nav class="navigation"><a href="/glyph/book/troubleshooting/errors_macro.html">← Macro Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_core.html">Core Macros →</a></nav>+ <nav class="navigation"><a href="/glyph/book/troubleshooting/errors_macro.html">← Macro Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/macros/macros_core.html">Core Macros →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/stats/bookmarks.htmlcontent/glyph/book/stats/bookmarks.html

@@ -1,10 +1,91 @@

------ -permalink: stats_bookmarks -title: Glyph &ndash; Bookmark Statistics -type: page ------ -<nav class="navigation"><a href="/glyph/book/stats/snippets.html">← Snippet Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/links.html">Link Statistics →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Bookmark Statistics - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Bookmark Statistics</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/stats/snippets.html">← Snippet Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/links.html">Link Statistics →</a></nav> + <section class="section"> <header><h1 id="h_72" class="toc">Displaying stats about all bookmarks</h1></header> <p>To display statistics about all bookmarks, execute <code>glyph stats --bookmarks</code>. Glyph displays something like this:</p>

@@ -65,4 +146,48 @@

</section> </section> -<nav class="navigation"><a href="/glyph/book/stats/snippets.html">← Snippet Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/links.html">Link Statistics →</a></nav>+ <nav class="navigation"><a href="/glyph/book/stats/snippets.html">← Snippet Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/links.html">Link Statistics →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/stats/links.htmlcontent/glyph/book/stats/links.html

@@ -1,10 +1,91 @@

------ -permalink: stats_links -title: Glyph &ndash; Link Statistics -type: page ------ -<nav class="navigation"><a href="/glyph/book/stats/bookmarks.html">← Bookmark Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/internals.html">A quick look at Glyph's internals →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Link Statistics - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Link Statistics</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/stats/bookmarks.html">← Bookmark Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/internals.html">A quick look at Glyph's internals →</a></nav> + <section class="section"> <header><h1 id="h_77" class="toc">Displaying stats about all links</h1></header> <p>To display statistics about all links, execute <code>glyph stats --links</code>. Glyph displays something like this:</p>

@@ -106,4 +187,48 @@

</section> </section> -<nav class="navigation"><a href="/glyph/book/stats/bookmarks.html">← Bookmark Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/internals.html">A quick look at Glyph's internals →</a></nav>+ <nav class="navigation"><a href="/glyph/book/stats/bookmarks.html">← Bookmark Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/extending/internals.html">A quick look at Glyph's internals →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/stats/macros.htmlcontent/glyph/book/stats/macros.html

@@ -1,10 +1,91 @@

------ -permalink: stats_macros -title: Glyph &ndash; Macro Statistics -type: page ------ -<nav class="navigation"><a href="/glyph/book/stats/stats.html">← Using the stats command</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/snippets.html">Snippet Statistics →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Macro Statistics - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Macro Statistics</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/stats/stats.html">← Using the stats command</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/snippets.html">Snippet Statistics →</a></nav> + <section class="section"> <header><h1 id="h_62" class="toc">Displaying stats about all macros</h1></header> <p>To display statistics about all macros, execute <code>glyph stats --macros</code>. Glyph displays something like this:</p>

@@ -89,4 +170,48 @@

</section> </section> -<nav class="navigation"><a href="/glyph/book/stats/stats.html">← Using the stats command</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/snippets.html">Snippet Statistics →</a></nav>+ <nav class="navigation"><a href="/glyph/book/stats/stats.html">← Using the stats command</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/snippets.html">Snippet Statistics →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/stats/snippets.htmlcontent/glyph/book/stats/snippets.html

@@ -1,10 +1,91 @@

------ -permalink: stats_snippets -title: Glyph &ndash; Snippet Statistics -type: page ------ -<nav class="navigation"><a href="/glyph/book/stats/macros.html">← Macro Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/bookmarks.html">Bookmark Statistics →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Snippet Statistics - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Snippet Statistics</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/stats/macros.html">← Macro Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/bookmarks.html">Bookmark Statistics →</a></nav> + <section class="section"> <header><h1 id="h_67" class="toc">Displaying stats about all snippets</h1></header> <p>To display statistics about all snippets, execute <code>glyph stats --snippets</code>. Glyph displays something like this:</p>

@@ -66,4 +147,48 @@

</section> </section> -<nav class="navigation"><a href="/glyph/book/stats/macros.html">← Macro Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/bookmarks.html">Bookmark Statistics →</a></nav>+ <nav class="navigation"><a href="/glyph/book/stats/macros.html">← Macro Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/bookmarks.html">Bookmark Statistics →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/stats/stats.htmlcontent/glyph/book/stats/stats.html

@@ -1,10 +1,91 @@

------ -permalink: t_26 -title: Glyph &ndash; Using the stats command -type: page ------ -<nav class="navigation"><a href="/glyph/book/compiling/programmatic_usage.html">← Using Glyph programmatically</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/macros.html">Macro Statistics →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Using the stats command - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Using the stats command</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/compiling/programmatic_usage.html">← Using Glyph programmatically</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/macros.html">Macro Statistics →</a></nav> + <p>Glyph includes a <a href="/glyph/book/ref_commands.html#c_stats"><code>stats</code></a> command that can be used to display useful statistics about your Glyph project. If you try running Glyph's command help, you'll see that this command can take quite a few options: </p> <div class="CodeRay">

@@ -69,4 +150,48 @@ <span class="line-numbers"><strong><a href="#n30" name="n30">30</a></strong></span>-- Total Internal Links: 87

<span class="line-numbers"><a href="#n31" name="n31">31</a></span>-- Total External Links: 97</pre></div> </div> -<nav class="navigation"><a href="/glyph/book/compiling/programmatic_usage.html">← Using Glyph programmatically</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/macros.html">Macro Statistics →</a></nav>+ <nav class="navigation"><a href="/glyph/book/compiling/programmatic_usage.html">← Using Glyph programmatically</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/macros.html">Macro Statistics →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/attribute_intro.htmlcontent/glyph/book/text_editing/attribute_intro.html

@@ -1,10 +1,91 @@

------ -permalink: attribute_intro -title: Glyph &ndash; Macro attributes -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/macro_intro.html">← Introducing Glyph Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/macro_composition.html">Macro Composition →</a></nav> - <p>Although a macro can take any number of parameters, they are often no more than two or three, for readibility reasons: parameters have no name, but their position within a macro is significant.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Macro attributes - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Macro attributes</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/macro_intro.html">← Introducing Glyph Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/macro_composition.html">Macro Composition →</a></nav> + <p>Although a macro can take any number of parameters, they are often no more than two or three, for readibility reasons: parameters have no name, but their position within a macro is significant.</p> <p>If you have something like this:</p> <div class="CodeRay">

@@ -30,4 +111,48 @@ <aside class="note">

<span class="note-title">Note</span>Like parameters, attributes can contain other macros, too. </aside> -<nav class="navigation"><a href="/glyph/book/text_editing/macro_intro.html">← Introducing Glyph Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/macro_composition.html">Macro Composition →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/macro_intro.html">← Introducing Glyph Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/macro_composition.html">Macro Composition →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/code.htmlcontent/glyph/book/text_editing/code.html

@@ -1,10 +1,91 @@

------ -permalink: source_code -title: Glyph &ndash; Source Code -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/images.html">← Images and Figures</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/raw_html.html">Textile or Markdown →</a></nav> - <p>If you&#8217;re a programmer, chances are that you&#8217;re going to include some source code in your articles and books. Glyph offers two ways to format code blocks effortlessly: the <a href="/glyph/book/macros/macros_block.html#m_codeblock"><code>codeblock</code></a> macro, which simply wraps text into <code>&lt;pre&gt;</code> and <code>&lt;code&gt;</code> tags, or the <a href="/glyph/book/macros/macros_filters.html#m_highlight"><code>highlight</code></a> macro. The last one requires either <a href="http://coderay.rubychan.de/">Coderay</a> or <a href="http://ultraviolet.rubyforge.org/">Ultraviolet</a>, but it provides syntax highlighting for the most common programming languages.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Source Code - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Source Code</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/images.html">← Images and Figures</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/raw_html.html">Textile or Markdown →</a></nav> + <p>If you&#8217;re a programmer, chances are that you&#8217;re going to include some source code in your articles and books. Glyph offers two ways to format code blocks effortlessly: the <a href="/glyph/book/macros/macros_block.html#m_codeblock"><code>codeblock</code></a> macro, which simply wraps text into <code>&lt;pre&gt;</code> and <code>&lt;code&gt;</code> tags, or the <a href="/glyph/book/macros/macros_filters.html#m_highlight"><code>highlight</code></a> macro. The last one requires either <a href="http://coderay.rubychan.de/">Coderay</a> or <a href="http://ultraviolet.rubyforge.org/">Ultraviolet</a>, but it provides syntax highlighting for the most common programming languages.</p> <p>Cosider the following piece of ruby code:</p> <div class="CodeRay"> <div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span>def find_child(&amp;block)

@@ -52,4 +133,48 @@ <li>You must always escape pipes (<code>|</code>) with the code or the highlight macro.</li>

</ul> </aside> -<nav class="navigation"><a href="/glyph/book/text_editing/images.html">← Images and Figures</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/raw_html.html">Textile or Markdown →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/images.html">← Images and Figures</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/raw_html.html">Textile or Markdown →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/conditionals.htmlcontent/glyph/book/text_editing/conditionals.html

@@ -1,10 +1,91 @@

------ -permalink: cond_macros -title: Glyph &ndash; Conditional Macros -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/inclusions.html">← Content Reuse</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/evaluation.html">Simple Programming and Code Evaluation →</a></nav> - <p>Sometimes you may want text to be included in a document only if certain conditions are satisfied. For example, you may want to display a disclaimer section only if the document is a draft (see the <a href="/glyph/book/config/document.html#s_document_draft"><code>document.draft</code></a> setting), or use a particular stylesheet only if when you generate a <span class="caps">PDF</span> document.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Conditional Macros - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Conditional Macros</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/inclusions.html">← Content Reuse</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/evaluation.html">Simple Programming and Code Evaluation →</a></nav> + <p>Sometimes you may want text to be included in a document only if certain conditions are satisfied. For example, you may want to display a disclaimer section only if the document is a draft (see the <a href="/glyph/book/config/document.html#s_document_draft"><code>document.draft</code></a> setting), or use a particular stylesheet only if when you generate a <span class="caps">PDF</span> document.</p> <p>To do so, you can use the <a href="/glyph/book/macros/macros_core.html#m_condition"><code>condition</code></a> macro (aliased by <code>?</code>), and a set of additional macros that can be used as conditional operators i.e.:</p> <ul> <li><a href="/glyph/book/macros/macros_core.html#m_eq"><code>eq</code></a> macro</li>

@@ -47,4 +128,48 @@ <li>A conditional expression is not satisfied if it evaluates to an empty string or the string &#8220;false&#8221;.</li>

</ul> </section> -<nav class="navigation"><a href="/glyph/book/text_editing/inclusions.html">← Content Reuse</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/evaluation.html">Simple Programming and Code Evaluation →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/inclusions.html">← Content Reuse</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/evaluation.html">Simple Programming and Code Evaluation →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/esc_quot.htmlcontent/glyph/book/text_editing/esc_quot.html

@@ -1,10 +1,91 @@

------ -permalink: esc_quot -title: Glyph &ndash; Escaping and Quoting -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/macro_composition.html">← Macro Composition</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/sections.html">Sections and Headers →</a></nav> - <p>Glyph doesn&#8217;t require any special control characters like LaTeX, and its macro syntax is very straightforward and liberal. This however comes with a price: because square brackets are used as delimiters, you must escape any square bracket in your text with a backslash. That&#8217;s not <em>too</em> bad if you think about it, unless you&#8217;re writing programming code, in which case escaping every single square bracket can be painful.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Escaping and Quoting - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Escaping and Quoting</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/macro_composition.html">← Macro Composition</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/sections.html">Sections and Headers →</a></nav> + <p>Glyph doesn&#8217;t require any special control characters like LaTeX, and its macro syntax is very straightforward and liberal. This however comes with a price: because square brackets are used as delimiters, you must escape any square bracket in your text with a backslash. That&#8217;s not <em>too</em> bad if you think about it, unless you&#8217;re writing programming code, in which case escaping every single square bracket can be painful.</p> <p>If a portion of your text contains an excessive amount of square brackets, you may consider using the <a href="/glyph/book/macros/macros_core.html#m_escape"><code>escape</code></a> macro (or its alias <code>.</code>) with the <code>[=</code> and <code>=]</code> delimiters. By itself, the escape macro doesn&#8217;t do anything: it just evaluates to its contents, but the special delimiters act as an escape for any square bracket within them. As a consequence, any macro within <code>[=</code> and <code>=]</code> will <em>not</em> be evaluated.</p> <p>You can use the quoting delimiters with <em>any</em> macro identifier. Obviously, using them as delimiters for things like <a href="/glyph/book/macros/macros_structure.html#m_section"><code>section</code></a> macros may not be a good idea, but they should be more or less mandatory with the <a href="/glyph/book/macros/macros_block.html#m_codeblock"><code>codeblock</code></a> macro or the <a href="/glyph/book/macros/macros_filters.html#m_highlight"><code>highlight</code></a> macro, especially when it contains square brackets or even Glyph code, like this:</p>

@@ -94,4 +175,48 @@ <td>An escaped dot evaluates to nothing. Useful to separate macro identifiers from other characters: <br /><code>_\/=>[#link|This link is emphasized using Textile]_ </code>

</td> </tr> </table> -<nav class="navigation"><a href="/glyph/book/text_editing/macro_composition.html">← Macro Composition</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/sections.html">Sections and Headers →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/macro_composition.html">← Macro Composition</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/sections.html">Sections and Headers →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/evaluation.htmlcontent/glyph/book/text_editing/evaluation.html

@@ -1,10 +1,91 @@

------ -permalink: t_22 -title: Glyph &ndash; Simple Programming and Code Evaluation -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/conditionals.html">← Conditional Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/compiling.html">Compiling a project →</a></nav> - <section class="section"> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Simple Programming and Code Evaluation - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Simple Programming and Code Evaluation</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/conditionals.html">← Conditional Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/compiling.html">Compiling a project →</a></nav> + <section class="section"> <header><h1 id="h_44" class="toc">Turing-completeness</h1></header> <p>As of version 0.5.0, Glyph can be considered <em>Turing-complete</em>, as it satisfies the following <a href="http://c2.com/cgi/wiki?LanguageRequirementsForTuringCompleteness">requirements for Turing-completeness</a>:</p> <ul>

@@ -61,11 +142,55 @@ <header><h1 id="h_47" class="toc">Evaluating Ruby code</h1></header>

<p>For anything more complex than what described in the previous sections you can also evaluate simple ruby code snippets using the <code>ruby</code> macro (aliased to <code>%</code>), like this:</p> <ul> <li><code>%[2 + 2]</code> &rarr; 4</li> - <li><code>%[Time.now]</code> &rarr; 2013-12-26 13:43:25 +0100</li> - <li><code>%[Glyph::VERSION]</code> &rarr; 0.5.3</li> + <li><code>%[Time.now]</code> &rarr; 2013-12-26 22:35:42 +0100</li> + <li><code>%[Glyph::VERSION]</code> &rarr; 0.5.2</li> </ul> <p>The scope for the code evaluation is the Kernel module, (with all inclusions required by Glyph itself).</p> <p>Although it is possible to retrieve Glyph configuration settings in this way (e.g. <code>%[cfg('document.author')]</code>), the <a href="/glyph/book/macros/macros_core.html#m_config"><code>config</code></a> macro (aliased to <code>$</code>) makes things slightly simpler (e.g. <code>$[document.author]</code>).</p> </section> -<nav class="navigation"><a href="/glyph/book/text_editing/conditionals.html">← Conditional Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/compiling.html">Compiling a project →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/conditionals.html">← Conditional Macros</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/compiling/compiling.html">Compiling a project →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/glyph_files.htmlcontent/glyph/book/text_editing/glyph_files.html

@@ -1,10 +1,135 @@

------ -permalink: t_6 -title: Glyph &ndash; <code>.glyph</code> files -type: page ------ -<nav class="navigation"><a href="/glyph/book/getting_started/configuration.html">← Project Configuration</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/macro_intro.html">Introducing Glyph Macros →</a></nav> - <p>The <code>text</code> folder of any Glyph folder contains all the text source files used to produce a document. Although there are no restrictions on the extension of the files in this folder, you may want to use <code>.glyph</code>, especially if <a href="http://www.vim.org">Vim</a> is your favorite text editor.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title><code>.glyph</code> files - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1><code>.glyph</code> files</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/getting_started/configuration.html">← Project Configuration</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/macro_intro.html">Introducing Glyph Macros →</a></nav> + <p>The <code>text</code> folder of any Glyph folder contains all the text source files used to produce a document. Although there are no restrictions on the extension of the files in this folder, you may want to use <code>.glyph</code>, especially if <a href="http://www.vim.org">Vim</a> is your favorite text editor.</p> <p>The reason is simple: a Glyph syntax file is <a href="http://www.vim.org/scripts/script.php?script_id=3086">available on vim.org</a>. Although not essential, syntax highlighting does help when editing Glyph files.</p> <p>If you use TextMate, you may want to check out Eric Givens&#8217; <a href="http://github.com/darthzippy/glyph.tmbundle">Glyph TextMate Bundle</a>.</p> -<nav class="navigation"><a href="/glyph/book/getting_started/configuration.html">← Project Configuration</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/macro_intro.html">Introducing Glyph Macros →</a></nav>+ <nav class="navigation"><a href="/glyph/book/getting_started/configuration.html">← Project Configuration</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/macro_intro.html">Introducing Glyph Macros →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/images.htmlcontent/glyph/book/text_editing/images.html

@@ -1,10 +1,91 @@

------ -permalink: img_fig -title: Glyph &ndash; Images and Figures -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/links.html">← Links and Bookmarks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/code.html">Source Code →</a></nav> - <p>Same as for <a href="/glyph/book/text_editing/links.html#links">links</a>, you can also include images and figures using Textile or Markdown. If you want additional features, you can use the <a href="/glyph/book/macros/macros_block.html#m_image"><code>image</code></a> macro and the <a href="/glyph/book/macros/macros_block.html#m_figure"><code>figure</code></a> macro, as shown in the following example:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Images and Figures - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Images and Figures</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/links.html">← Links and Bookmarks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/code.html">Source Code →</a></nav> + <p>Same as for <a href="/glyph/book/text_editing/links.html#links">links</a>, you can also include images and figures using Textile or Markdown. If you want additional features, you can use the <a href="/glyph/book/macros/macros_block.html#m_image"><code>image</code></a> macro and the <a href="/glyph/book/macros/macros_block.html#m_figure"><code>figure</code></a> macro, as shown in the following example:</p> <aside class="box"> <div class="box-title">Example</div>

@@ -39,4 +120,48 @@ <aside class="note">

<span class="note-title">Note</span>In future releases, figures will be numbered automatically and included in a <em>List of Figures</em> section. </aside> -<nav class="navigation"><a href="/glyph/book/text_editing/links.html">← Links and Bookmarks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/code.html">Source Code →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/links.html">← Links and Bookmarks</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/code.html">Source Code →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/inclusions.htmlcontent/glyph/book/text_editing/inclusions.html

@@ -1,10 +1,91 @@

------ -permalink: incl -title: Glyph &ndash; Content Reuse -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/stylesheets.html">← Adding Stylesheets</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/conditionals.html">Conditional Macros →</a></nav> - <section class="section"> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Content Reuse - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Content Reuse</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/stylesheets.html">← Adding Stylesheets</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/conditionals.html">Conditional Macros →</a></nav> + <section class="section"> <header><h1 id="file-inclusions" class="toc">File inclusions</h1></header> <p>If you&#8217;re authoring a user manual, a long article, or a book, writing everything inside a single <code>document.glyph</code> file may not be optimal. For this reason, Glyph provides an <a href="/glyph/book/macros/macros_core.html#m_include"><code>include</code></a> macro that can be used to include the contents of any file within the <code>text/</code> directory:</p> <p><code>include[general/introduction.textile]</code></p>

@@ -43,4 +124,48 @@ <span class="note-title">Tip</span>Snippets (or any other macro) can be nested within other snippets. Glyph takes care of checking if you nested snippets or macros mutually and warns you as necessary.

</aside> -<nav class="navigation"><a href="/glyph/book/text_editing/stylesheets.html">← Adding Stylesheets</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/conditionals.html">Conditional Macros →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/stylesheets.html">← Adding Stylesheets</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/conditionals.html">Conditional Macros →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/links.htmlcontent/glyph/book/text_editing/links.html

@@ -1,10 +1,91 @@

------ -permalink: links -title: Glyph &ndash; Links and Bookmarks -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/topics.html">← Topics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/images.html">Images and Figures →</a></nav> - <p>Lightweight markups let you create internal and external links in a very easy way, and you can still do so in Glyph. However, if you do so:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Links and Bookmarks - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Links and Bookmarks</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/topics.html">← Topics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/images.html">Images and Figures →</a></nav> + <p>Lightweight markups let you create internal and external links in a very easy way, and you can still do so in Glyph. However, if you do so:</p> <ul> <li>you can&#8217;t check if they are valid</li> <li>you can&#8217;t infer the link title automatically</li>

@@ -64,4 +145,48 @@ <aside class="important">

<span class="note-title">Important</span>Enabling URL validation may significantly slow down compilation if a lot of external links are present. </aside> -<nav class="navigation"><a href="/glyph/book/text_editing/topics.html">← Topics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/images.html">Images and Figures →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/topics.html">← Topics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/images.html">Images and Figures →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/macro_composition.htmlcontent/glyph/book/text_editing/macro_composition.html

@@ -1,10 +1,91 @@

------ -permalink: composition -title: Glyph &ndash; Macro Composition -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/attribute_intro.html">← Macro attributes</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/esc_quot.html">Escaping and Quoting →</a></nav> -<p>Glyph macros can be <em>composed</em> with other using the <code>/</code> character. Macro composition can be used instead of nesting, provided that macro containers (also called <em>dispatchers</em> in certain situations) take only one parameter and no attributes.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Macro Composition - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Macro Composition</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/attribute_intro.html">← Macro attributes</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/esc_quot.html">Escaping and Quoting →</a></nav> + <p>Glyph macros can be <em>composed</em> with other using the <code>/</code> character. Macro composition can be used instead of nesting, provided that macro containers (also called <em>dispatchers</em> in certain situations) take only one parameter and no attributes.</p> <p>For example, the following code:</p> <div class="CodeRay"> <div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span>?[

@@ -30,4 +111,48 @@ <ul>

<li>The <a href="/glyph/book/macros/macros_core.html#m_s"><code>s</code></a> macro, used to call almost any method of the Ruby String class.</li> <li>The <a href="/glyph/book/macros/macros_core.html#m_xml"><code>xml</code></a> macro, used to render raw <span class="caps">XML</span> tags.</li> </ul> -<nav class="navigation"><a href="/glyph/book/text_editing/attribute_intro.html">← Macro attributes</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/esc_quot.html">Escaping and Quoting →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/attribute_intro.html">← Macro attributes</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/esc_quot.html">Escaping and Quoting →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/macro_intro.htmlcontent/glyph/book/text_editing/macro_intro.html

@@ -1,10 +1,91 @@

------ -permalink: macro_intro -title: Glyph &ndash; Introducing Glyph Macros -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/glyph_files.html">← <code>.glyph</code> files</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/attribute_intro.html">Macro attributes →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Introducing Glyph Macros - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Introducing Glyph Macros</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/text_editing/glyph_files.html">← <code>.glyph</code> files</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/attribute_intro.html">Macro attributes →</a></nav> + <p>The most important concept to grasp about Glyph is the concept of <em>macro</em>.</p> <p>A Glyph macro is, in a nutshell, an identifier of some kind that wraps a value or parameters within square brackets. More specifically:</p> <ul>

@@ -18,4 +99,48 @@ <ul>

<li><code>=&gt;[#test|Test Section]</code></li> <li><code>link[#test|Test Section]</code></li> </ul> -<nav class="navigation"><a href="/glyph/book/text_editing/glyph_files.html">← <code>.glyph</code> files</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/attribute_intro.html">Macro attributes →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/glyph_files.html">← <code>.glyph</code> files</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/attribute_intro.html">Macro attributes →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/raw_html.htmlcontent/glyph/book/text_editing/raw_html.html

@@ -1,10 +1,91 @@

------ -permalink: t_17 -title: Glyph &ndash; Textile or Markdown -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/code.html">← Source Code</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/xml_fallback.html">XML Fallback →</a></nav> - <p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Textile or Markdown - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Textile or Markdown</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/code.html">← Source Code</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/xml_fallback.html">XML Fallback →</a></nav> + <p> Textile or Markdown are very easy and intuitive to use, and they can produce HTML markup with almost no effort. Using them with Glyph is as simple as using the <a href="/glyph/book/macros/macros_filters.html#m_textile"><code>textile</code></a> macro (aliased to <code>txt</code>) and the <a href="/glyph/book/macros/macros_filters.html#m_markdown"><code>markdown</code></a> macro (aliased to <code>md</code>). </p> <aside class="box">

@@ -37,4 +118,48 @@ <aside class="important">

<span class="note-title">Important</span>Be careful when using block-level HTML with Textile and Markdown: sometimes it may be necessary to add extra empty lines or escape tags. </aside> -<nav class="navigation"><a href="/glyph/book/text_editing/code.html">← Source Code</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/xml_fallback.html">XML Fallback →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/code.html">← Source Code</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/xml_fallback.html">XML Fallback →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/section_aliases.htmlcontent/glyph/book/text_editing/section_aliases.html

@@ -1,10 +1,91 @@

------ -permalink: t_12 -title: Glyph &ndash; Section Aliases -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/sections.html">← Sections and Headers</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/topics.html">Topics →</a></nav> - <p>There are <em>a lot</em> of macros that can be used in the same way as <code>section</code>, one for each element commonly used in <a href="http://en.wikipedia.org/wiki/Book_design">book design</a>.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Section Aliases - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Section Aliases</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/sections.html">← Sections and Headers</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/topics.html">Topics →</a></nav> + <p>There are <em>a lot</em> of macros that can be used in the same way as <code>section</code>, one for each element commonly used in <a href="http://en.wikipedia.org/wiki/Book_design">book design</a>.</p> <p>The following table lists the identifiers of all section-like macros, divided according to the part of the book they should be placed in:</p> <table> <tr>

@@ -44,4 +125,48 @@ <aside class="note">

<span class="note-title">Note</span><code>frontmatter</code>, <code>bodymatter</code> and <code>backmatter</code> are also macro identifiers, but they are also exposed as attributes for the <a href="/glyph/book/macros/macros_structure.html#m_book"><code>book</code></a> macro and the <a href="/glyph/book/macros/macros_structure.html#m_article"><code>article</code></a> macro, so if you're using either of these two macros as your root macro for your document, there's no need to use them explicitly. </aside> -<nav class="navigation"><a href="/glyph/book/text_editing/sections.html">← Sections and Headers</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/topics.html">Topics →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/sections.html">← Sections and Headers</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/topics.html">Topics →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/sections.htmlcontent/glyph/book/text_editing/sections.html

@@ -1,10 +1,91 @@

------ -permalink: sec_head -title: Glyph &ndash; Sections and Headers -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/esc_quot.html">← Escaping and Quoting</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/section_aliases.html">Section Aliases →</a></nav> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Sections and Headers - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Sections and Headers</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + <nav class="navigation"><a href="/glyph/book/text_editing/esc_quot.html">← Escaping and Quoting</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/section_aliases.html">Section Aliases →</a></nav> + <p>Glyph documents are normally organized as a hierarchical tree of nested chapters, appendixes, sections, etc. To define a section, use the <a href="/glyph/book/macros/macros_structure.html#m_section"><code>section</code></a> macro (aliased by <code>§</code>), like so:</p> <div class="CodeRay">

@@ -62,4 +143,48 @@

</aside> </section> -<nav class="navigation"><a href="/glyph/book/text_editing/esc_quot.html">← Escaping and Quoting</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/section_aliases.html">Section Aliases →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/esc_quot.html">← Escaping and Quoting</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/section_aliases.html">Section Aliases →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/stylesheets.htmlcontent/glyph/book/text_editing/stylesheets.html

@@ -1,10 +1,91 @@

------ -permalink: stylesheets -title: Glyph &ndash; Adding Stylesheets -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/xml_fallback.html">← XML Fallback</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/inclusions.html">Content Reuse →</a></nav> - <p>Currently, Glyph does not provide any native way to format text and pages. The reason is that there's absolutely no need for that: CSS does the job just fine. In particular, CSS3 offers specific attributes and elements that can be used specifically for paginated documents. That's no replacement for LaTeX by any means, but it is enough if you're not looking for advanced typographical features.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Adding Stylesheets - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Adding Stylesheets</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/xml_fallback.html">← XML Fallback</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/inclusions.html">Content Reuse →</a></nav> + <p>Currently, Glyph does not provide any native way to format text and pages. The reason is that there's absolutely no need for that: CSS does the job just fine. In particular, CSS3 offers specific attributes and elements that can be used specifically for paginated documents. That's no replacement for LaTeX by any means, but it is enough if you're not looking for advanced typographical features.</p> <p>You can embed CSS files using the <a href="/glyph/book/macros/macros_structure.html#m_style"><code>style</code></a> macro, like this:</p> <p> <code> style[default.css] </code>

@@ -51,4 +132,48 @@ </tr>

</table> </section> -<nav class="navigation"><a href="/glyph/book/text_editing/xml_fallback.html">← XML Fallback</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/inclusions.html">Content Reuse →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/xml_fallback.html">← XML Fallback</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/inclusions.html">Content Reuse →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/topics.htmlcontent/glyph/book/text_editing/topics.html

@@ -1,10 +1,91 @@

------ -permalink: topics -title: Glyph &ndash; Topics -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/section_aliases.html">← Section Aliases</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/links.html">Links and Bookmarks →</a></nav> -<p>Sections can also be used to create <em>topics</em>. In a technical writing context, the term topic identifies a single page of an online help (e.g. a Compiled <span class="caps">HTML</span> file, or <span class="caps">CHM</span>). Topics should generally be:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Topics - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Topics</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/section_aliases.html">← Section Aliases</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/links.html">Links and Bookmarks →</a></nav> + <p>Sections can also be used to create <em>topics</em>. In a technical writing context, the term topic identifies a single page of an online help (e.g. a Compiled <span class="caps">HTML</span> file, or <span class="caps">CHM</span>). Topics should generally be:</p> <ul> <li>self-contained, in the sense that they should make sense on their own, ideally without the need to be read in sequence</li> <li>be used for either <em>concepts</em>, <em>tasks</em> or <em>references</em></li>

@@ -36,4 +117,48 @@ <li>The topic file is rendered according to a specific <a href="/glyph/book/extending/layouts.html#layouts">layout</a>.</li>

<li>The location of the topic is the same as the location of the included file, mirrored in the output folder.</li> <li>Glyph takes care of changing the file extensions and resolving links automatically, regardless of the output target.</li> </ul> -<nav class="navigation"><a href="/glyph/book/text_editing/section_aliases.html">← Section Aliases</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/links.html">Links and Bookmarks →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/section_aliases.html">← Section Aliases</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/links.html">Links and Bookmarks →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/text_editing/xml_fallback.htmlcontent/glyph/book/text_editing/xml_fallback.html

@@ -1,10 +1,91 @@

------ -permalink: t_18 -title: Glyph &ndash; XML Fallback -type: page ------ -<nav class="navigation"><a href="/glyph/book/text_editing/raw_html.html">← Textile or Markdown</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/stylesheets.html">Adding Stylesheets →</a></nav> - <p>Sure Textile and Markdown are great, but sometimes you may want to just use HTML, without the extra verbosity, of course. Take tables for example: Textile offers an easy way to create them, but things may get dirty when you need to have multiple paragraphs or lists within cells.</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>XML Fallback - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>XML Fallback</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/text_editing/raw_html.html">← Textile or Markdown</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/stylesheets.html">Adding Stylesheets →</a></nav> + <p>Sure Textile and Markdown are great, but sometimes you may want to just use HTML, without the extra verbosity, of course. Take tables for example: Textile offers an easy way to create them, but things may get dirty when you need to have multiple paragraphs or lists within cells.</p> <p>Very early versions of Glyph used to offered some simple <code>table</code>, <code>tr</code>, <code>tr</code>, <code>td</code> macros just for that. Of course the problem was that thy didn't offer any way to customize the markup by adding, for example, CSS classes.</p> <p>Instead, by default, Glyph can convert any unrecognized macro to the corresponding XML element and macro attributes to XML attributes.</p> <aside class="box">

@@ -100,4 +181,48 @@ <p><span class="note-title">Tip</span>You can change this list by modifying the <a href="/glyph/book/config/options.html#s_options_xml_blacklist"><code>options.xml_blacklist</code></a> setting.</p>

</aside> </section> -<nav class="navigation"><a href="/glyph/book/text_editing/raw_html.html">← Textile or Markdown</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/stylesheets.html">Adding Stylesheets →</a></nav>+ <nav class="navigation"><a href="/glyph/book/text_editing/raw_html.html">← Textile or Markdown</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/text_editing/stylesheets.html">Adding Stylesheets →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/troubleshooting/errors_command.htmlcontent/glyph/book/troubleshooting/errors_command.html

@@ -1,10 +1,91 @@

------ -permalink: t_46 -title: Glyph &ndash; Command Errors -type: page ------ -<nav class="navigation"><a href="/glyph/book/troubleshooting/errors_parser.html">← Parsing Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_macro.html">Macro Errors →</a></nav> - +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Command Errors - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Command Errors</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/troubleshooting/errors_parser.html">← Parsing Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_macro.html">Macro Errors →</a></nav> + <table style="width:100%;"> <tr> <th style="width:30%">Error Message</th>

@@ -74,4 +155,48 @@ <td>Returned by the <a href="/glyph/book/ref_commands.html#c_config"><code>config</code></a> command when attempting to override a setting in the <code>system.*</code> namespace.</td>

</tr> </table> -<nav class="navigation"><a href="/glyph/book/troubleshooting/errors_parser.html">← Parsing Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_macro.html">Macro Errors →</a></nav>+ <nav class="navigation"><a href="/glyph/book/troubleshooting/errors_parser.html">← Parsing Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_macro.html">Macro Errors →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/troubleshooting/errors_generic.htmlcontent/glyph/book/troubleshooting/errors_generic.html

@@ -1,10 +1,91 @@

------ -permalink: t_44 -title: Glyph &ndash; Generic Errors -type: page ------ -<nav class="navigation"><a href="/glyph/book/extending/command.html">← Defining Custom Commands</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_parser.html">Parsing Errors →</a></nav> - +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Generic Errors - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Generic Errors</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/extending/command.html">← Defining Custom Commands</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_parser.html">Parsing Errors →</a></nav> + <table style="width:100%;"> <tr> <th style="width:30%">Error Message</th>

@@ -106,4 +187,48 @@ <td>Returned by the <a href="/glyph/book/ref_commands.html#c_stats"><code>stats</code></a> command if the specified snippet is defined but unused.</td>

</tr> </table> -<nav class="navigation"><a href="/glyph/book/extending/command.html">← Defining Custom Commands</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_parser.html">Parsing Errors →</a></nav>+ <nav class="navigation"><a href="/glyph/book/extending/command.html">← Defining Custom Commands</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_parser.html">Parsing Errors →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/troubleshooting/errors_macro.htmlcontent/glyph/book/troubleshooting/errors_macro.html

@@ -1,10 +1,91 @@

------ -permalink: t_47 -title: Glyph &ndash; Macro Errors -type: page ------ -<nav class="navigation"><a href="/glyph/book/troubleshooting/errors_command.html">← Command Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/ref_commands.html">Command Reference →</a></nav> - <p>The following errors are displayed in the form:</p> +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Macro Errors - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Macro Errors</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/troubleshooting/errors_command.html">← Command Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/ref_commands.html">Command Reference →</a></nav> + <p>The following errors are displayed in the form:</p> <p><em>message</em><br /> &nbsp; source: <em>macro_source</em><br /> &nbsp; path: <em>macro_path</em></p>

@@ -184,4 +265,48 @@ <td>Returned if a macro was used in the wrong place.</td>

</tr> </table> -<nav class="navigation"><a href="/glyph/book/troubleshooting/errors_command.html">← Command Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/ref_commands.html">Command Reference →</a></nav>+ <nav class="navigation"><a href="/glyph/book/troubleshooting/errors_command.html">← Command Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/ref_commands.html">Command Reference →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>
M content/glyph/book/troubleshooting/errors_parser.htmlcontent/glyph/book/troubleshooting/errors_parser.html

@@ -1,10 +1,91 @@

------ -permalink: t_45 -title: Glyph &ndash; Parsing Errors -type: page ------ -<nav class="navigation"><a href="/glyph/book/troubleshooting/errors_generic.html">← Generic Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_command.html">Command Errors →</a></nav> - +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Parsing Errors - H3RALD</title> + <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> + + + + <meta charset="utf-8" /> + <meta name="author" content="Fabio Cevasco" /> + <meta name="robots" content="all, follow" /> + <meta name="Revisit-After" content="2 Days" /> + <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <meta name="keywords" content="h3rald, fabio cevasco, glyph, ruby" /> + <link rel="shortcut icon" href="/favicon.png" type="image/png" /> + <meta content="44.388041;9.073248" name="ICBM" /> + + <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" /> + <link rel="stylesheet" type="text/css" href="/styles/github.css" /> + <link rel="stylesheet" type="text/css" href="/styles/style.css" /> + <!--[if lt IE 9]> + <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script src="https://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script> + <script src="/js/sevenup.js" type="text/javascript"></script> + <script src="/js/sevenup_black.js" type="text/javascript"></script> + <script src="https://code.jquery.com/jquery-latest.js" type="text/javascript"></script> + <script src="/js/jquery-timeago.js" type="text/javascript"></script> + <script src="/js/date.js" type="text/javascript"></script> + <script src="/js/hyphenator.js" type="text/javascript"></script> + <script src="/js/init.js" type="text/javascript"></script> + <script src="/js/search.js" type="text/javascript"></script> + <script src="/js/highlight.js" type="text/javascript"></script> + <script src="/js/bootstrap.js" type="text/javascript"></script> + </head> + <body> + + <div class="container"> + <div class="row" id="header-row"> + <div class="col-md-6 main-title"> + <h1> + + <a href="/"><img src="/img/h3rald.png" alt="H3RALD" /></a> + + </h1> + </div> + <div class="col-md-4 col-md-offset-2"> + <div class="gcse-searchbox" data-enableAutoComplete="true"></div> + </div> + </div> + <div id="search_results"> + <div class="gcse-searchresults" data-linkTarget="_top"></div> + </div> + <div id="main-navbar" class="navbar navbar-inverse" role="navigation"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="/"><i class="fa fa-home"></i> HOME</a></li> + <li><a href="/projects/"><i class="fa fa-briefcase"></i> PROJECTS</a></li> + <li><a href="/tags/"><i class="fa fa-tags"></i> TAGS</a></li> + <li><a href="/archives/"><i class="fa fa-archive"></i> ARCHIVES</a></li> + <li><a href="/about/"><i class="fa fa-question-circle"></i> ABOUT</a></li> + <li><a href="/contact/"><i class="fa fa-envelope"></i> CONTACT</a></li> + </ul> + </div> + </div> +</div> + <div class="container"> + <article class="page"> + <header class="row"> + <hgroup class="col-md-9"> + <h1>Parsing Errors</h1> + <h2>Glyph</h2> + </hgroup> + </header> + <section id="body-text" class="hyphenate"> + + <nav class="navigation"><a href="/glyph/book/troubleshooting/errors_generic.html">← Generic Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_command.html">Command Errors →</a></nav> + <table style="width:100%;"> <tr> <th style="width:30%">Error Message</th>

@@ -58,4 +139,48 @@ <td>Returned if a parameter delimiter is outside a macro or inside an attribute.</td>

</tr> </table> -<nav class="navigation"><a href="/glyph/book/troubleshooting/errors_generic.html">← Generic Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_command.html">Command Errors →</a></nav>+ <nav class="navigation"><a href="/glyph/book/troubleshooting/errors_generic.html">← Generic Errors</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/troubleshooting/errors_command.html">Command Errors →</a></nav> + + </section> + </article> + </div> + + + <footer> + <section> + <p>H3RALD Web Site v8.4 &copy; 2004 &mdash; 2014 <em>Fabio Cevasco</em></p> + </section> + </footer> + + <script type="text/javascript"> + var disqus_shortname = 'h3rald'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + + + <script> + hljs.tabReplace = ' '; + hljs.initHighlightingOnLoad(); + </script> + <!-- Start Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18587377-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + <!-- End Google Analytics --> + </body> +</html>