all repos — h3rald @ 7c392647836be1fb022aea53f448c3c8508ae3d3

The sources of https://h3rald.com

Updated Glyph books - sources are now layout-independent.
h3rald h3rald@h3rald.com
Thu, 26 Dec 2013 13:53:02 +0100
commit

7c392647836be1fb022aea53f448c3c8508ae3d3

parent

19f3724b35edc7f6b5e2f1a91e2062c8531cc51d

79 files changed, 606 insertions(+), 10096 deletions(-)

jump to
M RulesRules

@@ -36,11 +36,20 @@ compile /^\/(js\/.+?)/ do

# do nothing end +compile '/glyph/book/images/*' do + # do nothing +end + compile '/glyph/book/*' do + layout 'default' +end + +compile '/ruby-compendium/book/images/*' do # do nothing end + compile '/ruby-compendium/book/*' do - # do nothing + layout 'default' end compile '*' do
M content/glyph.textilecontent/glyph.textile

@@ -11,8 +11,8 @@ - "Repository": http://www.github.com/h3rald/glyph/

- "Download": http://www.rubygems.org/gems/glyph - "Documentation": /glyph/book/ - "User Group": http://groups.google.com/group/glyph-framework -status: Active -version: 0.5.2 +status: On Hold +version: 0.5.3 ----- <%= render 'project_data', :tag => 'glyph' %>

@@ -164,4 +164,4 @@ </section>

</section> -<%= render 'project_updates', :tag => 'glyph' %> +<%= render 'project_updates', :tag => 'glyph' %>
M content/glyph/book/acknowledgements.htmlcontent/glyph/book/acknowledgements.html

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

-<!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> +----- +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> <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>

@@ -96,48 +15,4 @@ <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> - - </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>+<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>
M content/glyph/book/changelog.htmlcontent/glyph/book/changelog.html

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

-<!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" /> +----- +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> - <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> -

@@ -945,48 +864,4 @@ <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> - - </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>+<nav class="navigation"><a href="/glyph/book/config/output.html">← <code>output.*</code></a> | <a href="/glyph/book/index.html">Contents</a> | </nav>
M content/glyph/book/compiling/compiling.htmlcontent/glyph/book/compiling/compiling.html

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

-<!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> +----- +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> <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>

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

</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> - - </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>+<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>
M content/glyph/book/compiling/lite_mode.htmlcontent/glyph/book/compiling/lite_mode.html

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

-<!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> +----- +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> <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>

@@ -104,48 +23,4 @@ <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> - - </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>+<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>
M content/glyph/book/compiling/programmatic_usage.htmlcontent/glyph/book/compiling/programmatic_usage.html

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

-<!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> +----- +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> <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>

@@ -178,48 +97,4 @@ </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> - - </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>+<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>
M content/glyph/book/config/document.htmlcontent/glyph/book/config/document.html

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

-<!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. +----- +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. <table> <tr>

@@ -251,48 +170,4 @@ </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> - - </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>+<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>
M content/glyph/book/config/filters.htmlcontent/glyph/book/config/filters.html

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

-<!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. +----- +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. <table> <tr>

@@ -179,48 +98,4 @@ </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> - - </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>+<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>
M content/glyph/book/config/options.htmlcontent/glyph/book/config/options.html

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

-<!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. +----- +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. <table> <tr>

@@ -190,48 +109,4 @@ </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> - - </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>+<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>
M content/glyph/book/config/output.htmlcontent/glyph/book/config/output.html

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

-<!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" /> +----- +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> - <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> -

@@ -721,48 +640,4 @@ </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> - - </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>+<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>
M content/glyph/book/extending/bookmarks_headers.htmlcontent/glyph/book/extending/bookmarks_headers.html

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

-<!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> +----- +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> <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>

@@ -100,48 +19,4 @@ </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> - - </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>+<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>
M content/glyph/book/extending/command.htmlcontent/glyph/book/extending/command.html

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

-<!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> +----- +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> <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>

@@ -109,7 +28,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.2 +<span class="line-numbers"> <a href="#n3" name="n3">3</a></span>Glyph v/0.5.3 <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>

@@ -136,48 +55,4 @@ <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> - - </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>+<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>
M content/glyph/book/extending/commands_tasks.htmlcontent/glyph/book/extending/commands_tasks.html

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

-<!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> +----- +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> <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>

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

</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> - - </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>+<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>
M content/glyph/book/extending/further_reading.htmlcontent/glyph/book/extending/further_reading.html

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

-<!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> +----- +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> <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>

@@ -94,48 +13,4 @@ <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> - - </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>+<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>
M content/glyph/book/extending/internals.htmlcontent/glyph/book/extending/internals.html

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

-<!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> +----- +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> <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>

@@ -167,48 +86,4 @@ <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> - - </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>+<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>
M content/glyph/book/extending/interpreting.htmlcontent/glyph/book/extending/interpreting.html

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

-<!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" /> +----- +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> - <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">

@@ -170,48 +89,4 @@ <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> - - </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>+<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>
M content/glyph/book/extending/layouts.htmlcontent/glyph/book/extending/layouts.html

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

-<!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> +----- +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> <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>

@@ -160,48 +79,4 @@ </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> - - </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>+<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>
M content/glyph/book/extending/macro_def.htmlcontent/glyph/book/extending/macro_def.html

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

-<!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> +----- +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> <aside class="box"> <div class="box-title">Alternative Ways to Define Macros</div> <p>You can also define macros:</p>

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

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> - - </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>+<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>
M content/glyph/book/extending/output_format.htmlcontent/glyph/book/extending/output_format.html

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

-<!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> +----- +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> <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">

@@ -156,48 +75,4 @@ <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> - - </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>+<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>
M content/glyph/book/extending/params_attrs.htmlcontent/glyph/book/extending/params_attrs.html

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

-<!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> +----- +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> <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>

@@ -153,48 +72,4 @@ <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> - - </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>+<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>
M content/glyph/book/extending/placeholders.htmlcontent/glyph/book/extending/placeholders.html

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

-<!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> +----- +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> <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>

@@ -122,48 +41,4 @@ </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> - - </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>+<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>
M content/glyph/book/extending/task.htmlcontent/glyph/book/extending/task.html

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

-<!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> +----- +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> <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>

@@ -125,48 +44,4 @@ <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> - - </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>+<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>
M content/glyph/book/extending/validators.htmlcontent/glyph/book/extending/validators.html

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

-<!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> +----- +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> <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>

@@ -99,48 +18,4 @@ <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> - - </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>+<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>
M content/glyph/book/getting_started/configuration.htmlcontent/glyph/book/getting_started/configuration.html

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

-<!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" /> +----- +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> - <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>

@@ -123,48 +42,4 @@ <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> - - </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>+<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>
M content/glyph/book/getting_started/create_project.htmlcontent/glyph/book/getting_started/create_project.html

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

-<!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> +----- +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> <p><code>mkdir</code> <em>test_document</em></p> <p><code>cd</code> <em>test_document</em></p> <p><code>glyph init</code></p>

@@ -120,48 +39,4 @@ <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> - - </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>+<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>
M content/glyph/book/getting_started/structure.htmlcontent/glyph/book/getting_started/structure.html

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

-<!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" /> +----- +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> - <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">

@@ -136,48 +55,4 @@ <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> - - </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>+<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>
M content/glyph/book/index.htmlcontent/glyph/book/index.html

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

-<!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"> +----- +permalink: index +title: Glyph Documentation +type: page +----- +<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>

@@ -103,48 +22,4 @@ <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> - - </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>+</nav>
M content/glyph/book/introduction.htmlcontent/glyph/book/introduction.html

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

-<!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"> +----- +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"> <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>

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

</section> </section> - <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>+<nav class="navigation"> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/license.html">License →</a></nav>
M content/glyph/book/license.htmlcontent/glyph/book/license.html

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

-<!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> +----- +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> <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

@@ -102,48 +21,4 @@ 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> - - </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>+<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>
M content/glyph/book/macros/macros_block.htmlcontent/glyph/book/macros/macros_block.html

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

-<!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> - +----- +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> + <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>

@@ -399,48 +318,4 @@ <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> - - </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>+<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>
M content/glyph/book/macros/macros_core.htmlcontent/glyph/book/macros/macros_core.html

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

-<!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" /> +----- +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> - <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>

@@ -1176,48 +1095,4 @@ </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> - - </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>+<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>
M content/glyph/book/macros/macros_filters.htmlcontent/glyph/book/macros/macros_filters.html

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

-<!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" /> +----- +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> - <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>

@@ -322,48 +241,4 @@ </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> - - </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>+<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>
M content/glyph/book/macros/macros_inline.htmlcontent/glyph/book/macros/macros_inline.html

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

-<!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> - +----- +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> + <section class="section"> <header><h1 id="m_anchor" class="toc"><code>anchor</code></h1></header> <p>Creates a named anchor (or bookmark).</p>

@@ -220,48 +139,4 @@ <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> - - </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>+<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>
M content/glyph/book/macros/macros_structure.htmlcontent/glyph/book/macros/macros_structure.html

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

-<!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> - +----- +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> + <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>

@@ -450,48 +369,4 @@ </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> - - </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>+<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>
M content/glyph/book/ref_commands.htmlcontent/glyph/book/ref_commands.html

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

-<!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> +----- +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> <p><strong>glyph</strong> <em>global_options</em> <strong>command</strong> <em>options</em> <em>parameters</em></p> <p>Where:</p> <ul>

@@ -444,48 +363,4 @@ 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> - - </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>+<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>
M content/glyph/book/stats/bookmarks.htmlcontent/glyph/book/stats/bookmarks.html

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

-<!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" /> +----- +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> - <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>

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

</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> - - </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>+<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>
M content/glyph/book/stats/links.htmlcontent/glyph/book/stats/links.html

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

-<!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" /> +----- +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> - <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>

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

</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> - - </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>+<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>
M content/glyph/book/stats/macros.htmlcontent/glyph/book/stats/macros.html

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

-<!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" /> +----- +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> - <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>

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

</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> - - </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>+<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>
M content/glyph/book/stats/snippets.htmlcontent/glyph/book/stats/snippets.html

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

-<!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" /> +----- +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> - <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>

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

</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> - - </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>+<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>
M content/glyph/book/stats/stats.htmlcontent/glyph/book/stats/stats.html

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

-<!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" /> +----- +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> - <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">

@@ -150,48 +69,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/attribute_intro.htmlcontent/glyph/book/text_editing/attribute_intro.html

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

-<!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> +----- +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> <p>If you have something like this:</p> <div class="CodeRay">

@@ -111,48 +30,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/code.htmlcontent/glyph/book/text_editing/code.html

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

-<!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> +----- +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> <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)

@@ -133,48 +52,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/conditionals.htmlcontent/glyph/book/text_editing/conditionals.html

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

-<!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> +----- +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> <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>

@@ -128,48 +47,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/esc_quot.htmlcontent/glyph/book/text_editing/esc_quot.html

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

-<!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> +----- +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> <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>

@@ -175,48 +94,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/evaluation.htmlcontent/glyph/book/text_editing/evaluation.html

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

-<!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"> +----- +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"> <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>

@@ -142,55 +61,11 @@ <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-22 20:27:39 +0100</li> - <li><code>%[Glyph::VERSION]</code> &rarr; 0.5.2</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> </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> - - </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>+<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>
M content/glyph/book/text_editing/glyph_files.htmlcontent/glyph/book/text_editing/glyph_files.html

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

-<!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> +----- +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> <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> - - </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>+<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>
M content/glyph/book/text_editing/images.htmlcontent/glyph/book/text_editing/images.html

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

-<!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> +----- +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> <aside class="box"> <div class="box-title">Example</div>

@@ -120,48 +39,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/inclusions.htmlcontent/glyph/book/text_editing/inclusions.html

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

-<!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"> +----- +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"> <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>

@@ -124,48 +43,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/links.htmlcontent/glyph/book/text_editing/links.html

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

-<!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> +----- +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> <ul> <li>you can&#8217;t check if they are valid</li> <li>you can&#8217;t infer the link title automatically</li>

@@ -145,48 +64,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/macro_composition.htmlcontent/glyph/book/text_editing/macro_composition.html

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

-<!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> +----- +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> <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>?[

@@ -111,48 +30,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/macro_intro.htmlcontent/glyph/book/text_editing/macro_intro.html

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

-<!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" /> +----- +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> - <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>

@@ -99,48 +18,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/raw_html.htmlcontent/glyph/book/text_editing/raw_html.html

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

-<!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> +----- +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> 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">

@@ -118,48 +37,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/section_aliases.htmlcontent/glyph/book/text_editing/section_aliases.html

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

-<!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> +----- +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> <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>

@@ -125,48 +44,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/sections.htmlcontent/glyph/book/text_editing/sections.html

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

-<!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" /> +----- +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> - <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">

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

</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> - - </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>+<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>
M content/glyph/book/text_editing/stylesheets.htmlcontent/glyph/book/text_editing/stylesheets.html

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

-<!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> +----- +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> <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>

@@ -132,48 +51,4 @@ </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> - - </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>+<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>
M content/glyph/book/text_editing/topics.htmlcontent/glyph/book/text_editing/topics.html

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

-<!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> +----- +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> <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>

@@ -117,48 +36,4 @@ <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> - - </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>+<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>
M content/glyph/book/text_editing/xml_fallback.htmlcontent/glyph/book/text_editing/xml_fallback.html

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

-<!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> +----- +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> <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">

@@ -181,48 +100,4 @@ <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> - - </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>+<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>
M content/glyph/book/troubleshooting/errors_command.htmlcontent/glyph/book/troubleshooting/errors_command.html

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

-<!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> - +----- +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> + <table style="width:100%;"> <tr> <th style="width:30%">Error Message</th>

@@ -155,48 +74,4 @@ <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> - - </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>+<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>
M content/glyph/book/troubleshooting/errors_generic.htmlcontent/glyph/book/troubleshooting/errors_generic.html

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

-<!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> - +----- +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> + <table style="width:100%;"> <tr> <th style="width:30%">Error Message</th>

@@ -187,48 +106,4 @@ <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> - - </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>+<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>
M content/glyph/book/troubleshooting/errors_macro.htmlcontent/glyph/book/troubleshooting/errors_macro.html

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

-<!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> +----- +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> <p><em>message</em><br /> &nbsp; source: <em>macro_source</em><br /> &nbsp; path: <em>macro_path</em></p>

@@ -265,48 +184,4 @@ <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> - - </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>+<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>
M content/glyph/book/troubleshooting/errors_parser.htmlcontent/glyph/book/troubleshooting/errors_parser.html

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

-<!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> - +----- +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> + <table style="width:100%;"> <tr> <th style="width:30%">Error Message</th>

@@ -139,48 +58,4 @@ <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> - - </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>+<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>
M content/ruby-compendium/book/books.htmlcontent/ruby-compendium/book/books.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Books - 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" /> +----- +permalink: books +title: Ruby Compendium &ndash; Books +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/web-sites.html">← Web Sites</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/podcasts.html">Podcasts and Screencasts →</a></nav> - <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>Books</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/web-sites.html">← Web Sites</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/podcasts.html">Podcasts and Screencasts →</a></nav> - <p><strong><a href="http://www.humblelittlerubybook.com/book/">The Humble Little Ruby Book</a></strong> &ndash; A nicely-written free book on Ruby, by <a href="/ruby-compendium/book/rubyists.html#jm">Jeremy McAnally</a></p> <p><strong><a href="http://www.sapphiresteel.com/The-Little-Book-Of-Ruby">The Little Book of Ruby</a></strong> &ndash; An 87-page free introduction covering Ruby basics.</p>

@@ -109,48 +28,4 @@ <li><a href="http://pragprog.com/categories/ruby_and_rails">Ruby books by Pragmatic Programmers</a></li>

</ul> </aside> - <nav class="navigation"><a href="/ruby-compendium/book/web-sites.html">← Web Sites</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/podcasts.html">Podcasts and Screencasts →</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>+<nav class="navigation"><a href="/ruby-compendium/book/web-sites.html">← Web Sites</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/podcasts.html">Podcasts and Screencasts →</a></nav>
M content/ruby-compendium/book/core-stdlib.htmlcontent/ruby-compendium/book/core-stdlib.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>The Core and the Standard Library - 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>The Core and the Standard Library</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/syntax.html">← Syntax</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/features.html">Advanced Language Features →</a></nav> - <p>By default, Ruby always loads its core classes and modules when a script is executed. This means that in all Ruby programs you can always instantiate core objects like:</p> +----- +permalink: core-stdlib +title: Ruby Compendium &ndash; The Core and the Standard Library +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/syntax.html">← Syntax</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/features.html">Advanced Language Features →</a></nav> +<p>By default, Ruby always loads its core classes and modules when a script is executed. This means that in all Ruby programs you can always instantiate core objects like:</p> <ul> <li>Numbers (integers, floats)</li> <li>Strings</li>

@@ -110,48 +29,4 @@ </ul>

<p>Overwhelmed? Don&#8217;t know where to start? Familiarize yourself with the <a href="http://www.ruby-doc.org/core/classes/Enumerable.html">Enumerable</a> module; you won&#8217;t regret it!</p> </aside> - <nav class="navigation"><a href="/ruby-compendium/book/syntax.html">← Syntax</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/features.html">Advanced Language Features →</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>+<nav class="navigation"><a href="/ruby-compendium/book/syntax.html">← Syntax</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/features.html">Advanced Language Features →</a></nav>
M content/ruby-compendium/book/features.htmlcontent/ruby-compendium/book/features.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Advanced Language Features - 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>Advanced Language Features</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/core-stdlib.html">← The Core and the Standard Library</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/gems.html">Ruby Gems →</a></nav> - <p>One of the best things about Ruby is that you&#8217;re not stuck with a single programming paradigm. Even though everything in Ruby is an object (thereby making it a fully object-oriented language), nothing forbids you to program procedurally, or even use typical functional constructs.</p> +----- +permalink: features +title: Ruby Compendium &ndash; Advanced Language Features +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/core-stdlib.html">← The Core and the Standard Library</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/gems.html">Ruby Gems →</a></nav> +<p>One of the best things about Ruby is that you&#8217;re not stuck with a single programming paradigm. Even though everything in Ruby is an object (thereby making it a fully object-oriented language), nothing forbids you to program procedurally, or even use typical functional constructs.</p> <p>The beauty of this is that you can (and should) combine elements from different paradigms, resulting in very powerful and expressive code. What I really like about Ruby though is its inherent dynamic nature.</p> <p>You have a very few constraints when coding:</p> <ul>

@@ -110,48 +29,4 @@

</aside> - <nav class="navigation"><a href="/ruby-compendium/book/core-stdlib.html">← The Core and the Standard Library</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/gems.html">Ruby Gems →</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>+<nav class="navigation"><a href="/ruby-compendium/book/core-stdlib.html">← The Core and the Standard Library</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/gems.html">Ruby Gems →</a></nav>
M content/ruby-compendium/book/gem-tips.htmlcontent/ruby-compendium/book/gem-tips.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>What you can use for... - 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>What you can use for...</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/gems.html">← Ruby Gems</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/resources.html">Resources →</a></nav> - <p>You could spend hours on the RubyGems web site to find what you&#8217;re looking for sometimes. Not because you can&#8217;t find it, but because often there are too many alternative libraries that overlap in terms of functionalities offered.</p> +----- +permalink: t_9 +title: Ruby Compendium &ndash; What you can use for... +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/gems.html">← Ruby Gems</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/resources.html">Resources →</a></nav> +<p>You could spend hours on the RubyGems web site to find what you&#8217;re looking for sometimes. Not because you can&#8217;t find it, but because often there are too many alternative libraries that overlap in terms of functionalities offered.</p> <p>A site to check when you don&#8217;t know much of what has been done in a particular domain is <a href="http://ruby-toolbox.com/">The Ruby Toolbox</a>, which organizes quite a lot of gems into <a href="http://ruby-toolbox.com/categories.html">categories</a>. This section is somewhat similar, but it focuses on just a few common tasks and a small set of hand-picked gems.</p> <section class="section">

@@ -431,48 +350,4 @@ <li>Documentation: <a href="http://www.rubydoc.info/gems/xml-simple">http://www.rubydoc.info/gems/xml-simple</a></li>

</ul> </section> - <nav class="navigation"><a href="/ruby-compendium/book/gems.html">← Ruby Gems</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/resources.html">Resources →</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>+<nav class="navigation"><a href="/ruby-compendium/book/gems.html">← Ruby Gems</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/resources.html">Resources →</a></nav>
M content/ruby-compendium/book/gems.htmlcontent/ruby-compendium/book/gems.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Ruby Gems - 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>Ruby Gems</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/features.html">← Advanced Language Features</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/gem-tips.html">What you can use for... →</a></nav> - <p>Sure, the <a href="/ruby-compendium/book/core-stdlib.html#core-stdlib">Standard Library</a> is quite large but&#8230; no, it does not have everything you need. Luckily, it&#8217;s full of gems out there! Rubygems is Ruby&#8217;s packaging system, and the best way to distribute your own libraries and applications.</p> +----- +permalink: gems +title: Ruby Compendium &ndash; Ruby Gems +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/features.html">← Advanced Language Features</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/gem-tips.html">What you can use for... →</a></nav> +<p>Sure, the <a href="/ruby-compendium/book/core-stdlib.html#core-stdlib">Standard Library</a> is quite large but&#8230; no, it does not have everything you need. Luckily, it&#8217;s full of gems out there! Rubygems is Ruby&#8217;s packaging system, and the best way to distribute your own libraries and applications.</p> <p>The Rubygems packaging system is now included in most Ruby implementation and distributions. Installing a gem and all its dependencies is as easy as issuing <code>gem install &lt;name of the gem&gt;</code>. So for example if you want to install the <a href="https://rubygems.org/gems/rails">rails</a> gem, you can just run</p> <p><code>gem install rails</code></p> <p>&#8230;and it will be automatically downloaded and installed on your system, along with the other gems it depends on.</p>

@@ -99,48 +18,4 @@ <div class="box-title">What happened to RubyForge?</div>

<p>If you started to learn Ruby a few years ago, the <a href="http://www.rubyforge.org">RubyForge</a> was <em>the</em> place to find user-created ruby code and gems. The site is still there, but nowadays Rubyists prefer using <a href="http://www.github.com">GitHub</a> as host for their source code repositories and RubyGems.org as the home for their gems.</p> </aside> - <nav class="navigation"><a href="/ruby-compendium/book/features.html">← Advanced Language Features</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/gem-tips.html">What you can use for... →</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>+<nav class="navigation"><a href="/ruby-compendium/book/features.html">← Advanced Language Features</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/gem-tips.html">What you can use for... →</a></nav>
M content/ruby-compendium/book/implementations.htmlcontent/ruby-compendium/book/implementations.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Versions and Implementations - 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>Versions and Implementations</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/ten-good-things.html">← 10 Good Things about Ruby</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/syntax.html">Syntax →</a></nav> - <p>One thing that may appear unusual and even discouraging to newcomers is the different versions and implementations of the language. Ruby has two version branches:</p> +----- +permalink: implementations +title: Ruby Compendium &ndash; Versions and Implementations +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/ten-good-things.html">← 10 Good Things about Ruby</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/syntax.html">Syntax →</a></nav> +<p>One thing that may appear unusual and even discouraging to newcomers is the different versions and implementations of the language. Ruby has two version branches:</p> <ul> <li><strong>1.8</strong> &ndash; The former stable version, which is still widely used in production and it is still updated.</li> <li><strong>1.9</strong> &ndash; As of release 1.9.2, this is considered the current stable and recommended version of the language. Although most third-party libraries work with it, some old and now unmaintained libraries may not. The good news is that there are normally newer and better libraries available instead.</li>

@@ -162,48 +81,4 @@ <div class="box-title">Try'em All!</div>

<p>Don&#8217;t know which Ruby to choose? You don&#8217;t have to! <a href="/ruby-compendium/book/rubyists.html#wayneeseguin"></a> created <a href="https://rvm.beginrescueend.com/">Ruby Version Manager</a> (<span class="caps">RVM</span>) to allow you to install, upgrade and manage several Ruby installation seamlessly on the same computer. If you&#8217;re on OS X or Linux, that is. If you&#8217;re on a Windows computer, <a href="https://github.com/vertiginous/pik">Pik</a> provides something similar.</p> </aside> - <nav class="navigation"><a href="/ruby-compendium/book/ten-good-things.html">← 10 Good Things about Ruby</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/syntax.html">Syntax →</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>+<nav class="navigation"><a href="/ruby-compendium/book/ten-good-things.html">← 10 Good Things about Ruby</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/syntax.html">Syntax →</a></nav>
M content/ruby-compendium/book/index.htmlcontent/ruby-compendium/book/index.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Ruby Compendium - 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>Ruby Compendium</h1> - <h2>An Essential Guide to the Ruby Ecosystem</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="contents"> +----- +permalink: index +title: Ruby Compendium +type: page +----- +<nav class="contents"> <h1 class="toc-header" id="toc">Table of Contents</h1> <ol class="toc"> <li class="frontmatter introduction"><a href="/ruby-compendium/book/intro.html#h_1">So you want to learn Ruby...</a></li><li><ol><li class="frontmatter section"><a href="/ruby-compendium/book/notes.html#h_2">About this Book</a></li></ol></li>

@@ -93,48 +12,4 @@ <li class="bodymatter chapter"><a href="/ruby-compendium/book/gems.html#gems">Ruby Gems</a></li><li><ol><li class="bodymatter section"><a href="/ruby-compendium/book/gem-tips.html#h_17">What you can use for...</a></li></ol></li>

<li class="bodymatter chapter"><a href="/ruby-compendium/book/resources.html#resources">Resources</a></li><li><ol><li class="bodymatter section"><a href="/ruby-compendium/book/web-sites.html#websites">Web Sites</a></li><li class="bodymatter section"><a href="/ruby-compendium/book/books.html#books">Books</a></li><li class="bodymatter section"><a href="/ruby-compendium/book/podcasts.html#podcasts">Podcasts and Screencasts</a></li></ol></li> <li class="backmatter appendix"><a href="/ruby-compendium/book/rubyists.html#h_32">Notable Rubyists</a></li> </ol> -</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>+</nav>
M content/ruby-compendium/book/intro.htmlcontent/ruby-compendium/book/intro.html

@@ -1,137 +1,12 @@

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>So you want to learn Ruby... - 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>So you want to learn Ruby...</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/notes.html">About this Book →</a></nav> - <p>&#8230;or maybe not. Maybe you&#8217;re <em>thinking</em> about it, but you&#8217;re not entirely convinced it&#8217;s a good idea. Maybe you have an annoying co-worker who constantly raves about it and made you curious. Whatever the case, this tiny book is about telling you all you need to know about the language before you actually start getting your hands dirty.</p> +----- +permalink: t_0 +title: Ruby Compendium &ndash; So you want to learn Ruby... +type: page +----- +<nav class="navigation"> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/notes.html">About this Book →</a></nav> +<p>&#8230;or maybe not. Maybe you&#8217;re <em>thinking</em> about it, but you&#8217;re not entirely convinced it&#8217;s a good idea. Maybe you have an annoying co-worker who constantly raves about it and made you curious. Whatever the case, this tiny book is about telling you all you need to know about the language before you actually start getting your hands dirty.</p> <p>There are many different ways to learn new programming languages. Typically, you&#8217;d start reading tutorials online, try a few example programs, maybe buy a book and start reading it. That&#8217;s what most people do nowadays, and it works, in the end. The downside of this is that you may spend weeks or even months trying to get the hang of the language, spend a lot of time trying to find information about it, ask dumb questions in forums and mailing lists, re-invent the wheel only to find out &mdash;months later&mdash; that someone already made a library which does exactly the same thing as yours, but in a much better way.</p> <p>You can learn through mistakes, but there&#8217;s no harm in starting with the right foot.</p> <p>This <em>Ruby Compendium</em> gives you an overview of the Ruby Ecosystem from 10,000ft. It briefly describes the language, its libraries, and what resources you can find online. By the time you finish reading this, you will <em>not</em> know how to write Ruby programs (yet) but you&#8217;ll definitely know <em>how to learn</em> this amazing and powerful language and where to look for information and help.</p> <p>Close your editor now, relax, and enjoy!</p> - <nav class="navigation"> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/notes.html">About this Book →</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>+<nav class="navigation"> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/notes.html">About this Book →</a></nav>
M content/ruby-compendium/book/language.htmlcontent/ruby-compendium/book/language.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Quick Tour - 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>Quick Tour</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/notes.html">← About this Book</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/ten-good-things.html">10 Good Things about Ruby →</a></nav> - <p>Ruby is a relatively new programming language. It was created by <a href="/ruby-compendium/book/rubyists.html#matz">Yukihiro Matzumoto</a> (aka &#8220;Matz&#8221;) in 1995, but it took another ten years to become popular outside Japan, thanks to the <em>Ruby on Rails</em> web framework.</p> +----- +permalink: t_2 +title: Ruby Compendium &ndash; Quick Tour +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/notes.html">← About this Book</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/ten-good-things.html">10 Good Things about Ruby →</a></nav> +<p>Ruby is a relatively new programming language. It was created by <a href="/ruby-compendium/book/rubyists.html#matz">Yukihiro Matzumoto</a> (aka &#8220;Matz&#8221;) in 1995, but it took another ten years to become popular outside Japan, thanks to the <em>Ruby on Rails</em> web framework.</p> <aside class="box"> <div class="box-title">Isn't Ruby <em>slow?</em></div> <p>Being a high-level, interpreted language, Ruby is slower than compiled languages like C or C++ or even other interpreted languages like Perl 5. However, this may vary depending on the implementation.</p>

@@ -95,48 +14,4 @@ <li>If you are interested in benchmarks between Ruby implementations and other languages, the <a href="http://shootout.alioth.debian.org/">Computer Language Benchmark Game</a> is a good place to start.</li>

</ul> </aside> - <nav class="navigation"><a href="/ruby-compendium/book/notes.html">← About this Book</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/ten-good-things.html">10 Good Things about Ruby →</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>+<nav class="navigation"><a href="/ruby-compendium/book/notes.html">← About this Book</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/ten-good-things.html">10 Good Things about Ruby →</a></nav>
M content/ruby-compendium/book/notes.htmlcontent/ruby-compendium/book/notes.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>About this Book - 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>About this Book</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/intro.html">← So you want to learn Ruby...</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/language.html">Quick Tour →</a></nav> - <p>This book was written by Fabio Cevasco and it is licensed under a <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.</p> +----- +permalink: t_1 +title: Ruby Compendium &ndash; About this Book +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/intro.html">← So you want to learn Ruby...</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/language.html">Quick Tour →</a></nav> +<p>This book was written by Fabio Cevasco and it is licensed under a <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.</p> <p>This book was authored using <a href="http://www.h3rald.com/glyph">Glyph</a> and the <span class="caps">PDF</span> version was produced with <a href="http://www.princexml.org">Prince <span class="caps">XML</span></a>.</p> <p>The Ruby logo is copyright &#169; 2006, Yukihiro Matsumoto, and used under the terms of the <a href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.</p> <p>Special thanks to the following individuals who contributed to the project, in some ways:</p>

@@ -93,48 +12,4 @@ <ul>

<li><a href="http://blog.dio.jp/">Akira Matsuda</a></li> <li><a href="http://www.bitcetera.com/">Sven Schwyn</a></li> </ul> - <nav class="navigation"><a href="/ruby-compendium/book/intro.html">← So you want to learn Ruby...</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/language.html">Quick Tour →</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>+<nav class="navigation"><a href="/ruby-compendium/book/intro.html">← So you want to learn Ruby...</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/language.html">Quick Tour →</a></nav>
M content/ruby-compendium/book/podcasts.htmlcontent/ruby-compendium/book/podcasts.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Podcasts and Screencasts - 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" /> +----- +permalink: podcasts +title: Ruby Compendium &ndash; Podcasts and Screencasts +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/books.html">← Books</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/rubyists.html">Notable Rubyists →</a></nav> - <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>Podcasts and Screencasts</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/books.html">← Books</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/rubyists.html">Notable Rubyists →</a></nav> - <p><strong><a href="http://5by5.tv/rubyshow">The Ruby Show</a></strong> &ndash; <em>The</em> Ruby podcast, with <a href="/ruby-compendium/book/rubyists.html#danbenjamin">Dan Benjamin</a> and <a href="/ruby-compendium/book/rubyists.html#jseifer">Jason Seifer</a>.</p> <p><strong><a href="http://ruby5.envylabs.com/">Ruby5</a></strong> &ndash; Frequently-released short podcasts on what&#8217;s new in the Ruby and Rails community. By <a href="/ruby-compendium/book/rubyists.html#greggpollack">Gregg Pollack</a>.</p>

@@ -97,48 +16,4 @@

<p><strong><a href="http://www.rubypulse.com/">Ruby Pulse</a></strong> &ndash; Free Ruby-related podcasts.</p> <p><strong><a href="http://ruby-kickstart.com/">Ruby Kickstart</a></strong> &ndash; Hours of free screencast to teach you how to program in Ruby, with loads of free material, quizzes, and goodies.</p> - <nav class="navigation"><a href="/ruby-compendium/book/books.html">← Books</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/rubyists.html">Notable Rubyists →</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>+<nav class="navigation"><a href="/ruby-compendium/book/books.html">← Books</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/rubyists.html">Notable Rubyists →</a></nav>
M content/ruby-compendium/book/resources.htmlcontent/ruby-compendium/book/resources.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Resources - 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>Resources</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/gem-tips.html">← What you can use for...</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/web-sites.html">Web Sites →</a></nav> - <p>There are a lot of resources out there to help you get started or stay up-to-date with Ruby. The Ruby community is active and supportive, as long as you ask nicely.</p> +----- +permalink: resources +title: Ruby Compendium &ndash; Resources +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/gem-tips.html">← What you can use for...</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/web-sites.html">Web Sites →</a></nav> +<p>There are a lot of resources out there to help you get started or stay up-to-date with Ruby. The Ruby community is active and supportive, as long as you ask nicely.</p> <p>The following section contains a small set of hand-picked web sites, books and podcasts which you should definitely have a look at. For even more community resources, check out the <a href="http://www.ruby-lang.org/en/community/">Community Page</a> on the Official Ruby Web Site.</p> - <nav class="navigation"><a href="/ruby-compendium/book/gem-tips.html">← What you can use for...</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/web-sites.html">Web Sites →</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>+<nav class="navigation"><a href="/ruby-compendium/book/gem-tips.html">← What you can use for...</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/web-sites.html">Web Sites →</a></nav>
M content/ruby-compendium/book/rubyists.htmlcontent/ruby-compendium/book/rubyists.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Notable Rubyists - 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" /> +----- +permalink: t_14 +title: Ruby Compendium &ndash; Notable Rubyists +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/podcasts.html">← Podcasts and Screencasts</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | </nav> - <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>Notable Rubyists</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/podcasts.html">← Podcasts and Screencasts</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | </nav> - <section class="section"> <span style="padding-top: 20px;display: block;">

@@ -350,48 +269,4 @@ Maintainer of Hackety Hack, creator of rstat.us.

</div> </section> - <nav class="navigation"><a href="/ruby-compendium/book/podcasts.html">← Podcasts and Screencasts</a> | <a href="/ruby-compendium/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>+<nav class="navigation"><a href="/ruby-compendium/book/podcasts.html">← Podcasts and Screencasts</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | </nav>
M content/ruby-compendium/book/syntax.htmlcontent/ruby-compendium/book/syntax.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Syntax - 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>Syntax</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/implementations.html">← Versions and Implementations</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/core-stdlib.html">The Core and the Standard Library →</a></nav> - <p> +----- +permalink: syntax +title: Ruby Compendium &ndash; Syntax +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/implementations.html">← Versions and Implementations</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/core-stdlib.html">The Core and the Standard Library →</a></nav> +<p> Teaching you how to program in Ruby goes beyond the scope of this book, however, this section will show you at least what Ruby code looks like. If you know another programming language already, some things may already be familiar to you. If you don't, hopefully the following code will not appear too intimidating. </p> <div class="CodeRay">

@@ -158,48 +77,4 @@ <div class="box-title">Trying out Ruby...</div>

If your hands are itching to try writing Ruby code, but you don't want to install it just yet, head over to <a href="http://tryruby.org/">Try Ruby!</a>, a unique way to try the language right in your browser. Or, if you already installed Ruby, follow the <a href="http://www.ruby-lang.org/en/documentation/quickstart/">Ruby in 20 minutes</a> tutorial, using Interactive RuBy (IRB). </aside> - <nav class="navigation"><a href="/ruby-compendium/book/implementations.html">← Versions and Implementations</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/core-stdlib.html">The Core and the Standard Library →</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>+<nav class="navigation"><a href="/ruby-compendium/book/implementations.html">← Versions and Implementations</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/core-stdlib.html">The Core and the Standard Library →</a></nav>
M content/ruby-compendium/book/ten-good-things.htmlcontent/ruby-compendium/book/ten-good-things.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>10 Good Things about Ruby - 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>10 Good Things about Ruby</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/language.html">← Quick Tour</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/implementations.html">Versions and Implementations →</a></nav> - <ol> +----- +permalink: ten-good-things +title: Ruby Compendium &ndash; 10 Good Things about Ruby +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/language.html">← Quick Tour</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/implementations.html">Versions and Implementations →</a></nav> +<ol> <li>It&#8217;s free and open source.</li> <li>It&#8217;s high-level, no need to worry about memory allocation or similar.</li> <li>It&#8217;s fully cross platform, or at least most of its <a href="/ruby-compendium/book/implementations.html#implementations">implementations</a> are.</li>

@@ -102,48 +21,4 @@ <div class="box-title">If you want to know more...</div>

For general information on Ruby and more introductory material, head over to the <a href="http://www.ruby-lang.org/">Official Ruby Web Site</a>, in particular to the <a href="http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/">Ruby from Other Languages</a> articles, if you are already familiar with C, C++, Java, PHP, Perl, or Python. </aside> - <nav class="navigation"><a href="/ruby-compendium/book/language.html">← Quick Tour</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/implementations.html">Versions and Implementations →</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>+<nav class="navigation"><a href="/ruby-compendium/book/language.html">← Quick Tour</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/implementations.html">Versions and Implementations →</a></nav>
M content/ruby-compendium/book/web-sites.htmlcontent/ruby-compendium/book/web-sites.html

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

-<!DOCTYPE html> -<html lang="en"> - <head> - <title>Web Sites - 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" /> +----- +permalink: websites +title: Ruby Compendium &ndash; Web Sites +type: page +----- +<nav class="navigation"><a href="/ruby-compendium/book/resources.html">← Resources</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/books.html">Books →</a></nav> - <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>Web Sites</h1> - <h2>Ruby Compendium</h2> - </hgroup> - </header> - <section id="body-text" class="hyphenate"> - - <nav class="navigation"><a href="/ruby-compendium/book/resources.html">← Resources</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/books.html">Books →</a></nav> - <p><strong><a href="http://www.ruby-lang.org/">Ruby-Lang.org</a></strong> &ndash; The official Ruby web site, completely maintained by members of the Ruby community and available in several languages.</p> <p><strong><a href="https://rubygems.org/">RubyGems.org</a></strong> &ndash; The home of all Ruby gems.</p>

@@ -110,48 +29,4 @@ <p><strong><a href="http://rubycommitters.org/">RubyCommitters.org</a></strong> &ndash; List of all the Ruby core committers. Created by <a href="/ruby-compendium/book/rubyists.html#tenderlove">Aaron Petterson</a>.</p>

<p><strong><a href="http://rubylang.info/">RubyLang.info</a></strong> &ndash; <em>&#8220;RubyLang.info is a community driven web site, dedicated to helping both new and experienced Ruby developers.&#8221;</em></p> - <nav class="navigation"><a href="/ruby-compendium/book/resources.html">← Resources</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/books.html">Books →</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>+<nav class="navigation"><a href="/ruby-compendium/book/resources.html">← Resources</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/books.html">Books →</a></nav>
M content/styles/style.scsscontent/styles/style.scss

@@ -171,7 +171,8 @@ }

article.page > header h2, #body-text section section header h1, -#body-text h3 { +#body-text h3, +h1.toc-header { margin-top: 1.2em; font-size: 1.5em; font-style: italic;