all repos — h3rald @ 11545a2a9027425214f3d6d5a0d9ed20bdb80218

The sources of https://h3rald.com

Minor updates.
h3rald h3rald@h3rald.com
Sun, 11 Nov 2012 18:25:30 +0100
commit

11545a2a9027425214f3d6d5a0d9ed20bdb80218

parent

1adce43c3705a64946119fcd3ef67c26e486e84a

M content/glyph.textilecontent/glyph.textile

@@ -13,167 +13,153 @@ - "Download": http://www.rubygems.org/gems/glyph

- "Documentation": /glyph/book/ - "User Group": http://groups.google.com/group/glyph-framework status: Active -version: 0.5.1 +version: 0.5.2 ----- <%= render 'project_data', :tag => 'glyph' %> <section class="section"> -Glyph is a _Rapid Document Authoring Framework_. - -With Glyph, creating and maintaining any kind of document becomes as easy as... _programming_. 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>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> <section class="section"> -<header><h1 id="h_1">Main Features</h1></header> +<header><h1 id="h_1" class="toc">Main Features</h1></header> <section class="section"> -<header><h1 id="h_2">Command Line Interface</h1></header> -Glyph is 100% command line. Its interface resambles <a href="http://git-scm.com/">Git's</a> for its simplicity and power (thanks to the <a href="http://github.com/davetron5000/gli">gli</a> gem). Here are some example commands: - -* @glyph init@ -- to initialize a new Glyph project in the current (empty) directory. -* @glyph add introduction.textile@ -- to create a new file called _introduction.textile_. -* @glyph compile@ -- to compile the current document into a single HTML file. -* @glyph compile --auto@ -- to keep recompiling the current document every time a file is changed. -* @glyph compile -f pdf@ -- to compile the current document into HTML and then transform it into PDF. -* @glyph compile readme.glyph@ -- to compile a _readme.glyph_ located in the current directory into a single HTML file. -* @glyph outline -l 2@ -- Display the document outline, up to second-level headers. -* @glyph stats@ -- Display project statistics. +<header><h1 id="h_2" class="toc">Command Line Interface</h1></header> +<p>Glyph is 100% command line. Its interface resambles <a href="http://git-scm.com/">Git&#8217;s</a> for its simplicity and power (thanks to the <a href="http://github.com/davetron5000/gli">gli</a> gem). Here are some example commands:</p> +<ul> + <li><code>glyph init</code> &#8212; to initialize a new Glyph project in the current (empty) directory.</li> + <li><code>glyph add introduction.textile</code> &#8212; to create a new file called <em>introduction.textile</em>.</li> + <li><code>glyph compile</code> &#8212; to compile the current document into a single <span class="caps">HTML</span> file.</li> + <li><code>glyph compile --auto</code> &#8212; to keep recompiling the current document every time a file is changed.</li> + <li><code>glyph compile -f pdf</code> &#8212; to compile the current document into <span class="caps">HTML</span> and then transform it into <span class="caps">PDF</span>.</li> + <li><code>glyph compile readme.glyph</code> &#8212; to compile a <em>readme.glyph</em> located in the current directory into a single <span class="caps">HTML</span> file.</li> + <li><code>glyph outline -l 2</code> &#8212; Display the document outline, up to second-level headers.</li> + <li><code>glyph stats</code> &#8212; Display project statistics.</li> +</ul> </section> <section class="section"> -<header><h1 id="h_3">Minimalist Syntax</h1></header> -Glyph syntax rules can be explained using Glyph itself: - -<div class="code"> -<pre> -<code> -section[ - @title[Something about Glyph] - txt[ -You can use Glyph macros in conjunction -with _Textile_ or _Markdown_ to -produce HTML files effortlessly. - ] - p[Alternatively, you can just use em[Glyph itself] to generate HTML tags.] - section[ - @title[What about PDFs?] - @id[pdf] - p[ -Once you have a single, well-formatted HTML -file, converting it to PDF is -extremely easy with a free 3rd-party -renderer like =>[http://www.princexml.com|Prince] -or =>[http://code.google.com/p/wkhtmltopdf/|wkhtmltopdf]. - ] - ] -] -</code> -</pre> +<header><h1 id="h_3" class="toc">Minimalist Syntax</h1></header> +<p>Glyph syntax rules can be explained using Glyph itself:</p> + + <div class="CodeRay"> + <div class="code"><pre><span class="line-numbers"> <a href="#n1" name="n1">1</a></span>section[ +<span class="line-numbers"> <a href="#n2" name="n2">2</a></span> @title[Something about Glyph] +<span class="line-numbers"> <a href="#n3" name="n3">3</a></span> txt[ +<span class="line-numbers"> <a href="#n4" name="n4">4</a></span>You can use Glyph macros in conjunction +<span class="line-numbers"> <a href="#n5" name="n5">5</a></span>with _Textile_ or _Markdown_ to +<span class="line-numbers"> <a href="#n6" name="n6">6</a></span>produce HTML files effortlessly. +<span class="line-numbers"> <a href="#n7" name="n7">7</a></span> ] +<span class="line-numbers"> <a href="#n8" name="n8">8</a></span> p[Alternatively, you can just use em[Glyph itself] to generate HTML tags.] +<span class="line-numbers"> <a href="#n9" name="n9">9</a></span> section[ +<span class="line-numbers"><strong><a href="#n10" name="n10">10</a></strong></span> @title[What about PDFs?] +<span class="line-numbers"><a href="#n11" name="n11">11</a></span> @id[pdf] +<span class="line-numbers"><a href="#n12" name="n12">12</a></span> p[ +<span class="line-numbers"><a href="#n13" name="n13">13</a></span>Once you have a single, well-formatted HTML +<span class="line-numbers"><a href="#n14" name="n14">14</a></span>file, converting it to PDF is +<span class="line-numbers"><a href="#n15" name="n15">15</a></span>extremely easy with a free 3rd-party +<span class="line-numbers"><a href="#n16" name="n16">16</a></span>renderer like =&gt;[http://www.princexml.com|Prince] +<span class="line-numbers"><a href="#n17" name="n17">17</a></span>or =&gt;[http://code.google.com/p/wkhtmltopdf/|wkhtmltopdf]. +<span class="line-numbers"><a href="#n18" name="n18">18</a></span> ] +<span class="line-numbers"><a href="#n19" name="n19">19</a></span> ] +<span class="line-numbers"><strong><a href="#n20" name="n20">20</a></strong></span>]</pre></div> </div> -The Glyph code above corresponds to the following HTML code: - -<div class="code"> -<pre> -<code> -<div class="section"> - <h2 id="h_10">Something about Glyph</h2> - <p> - You can use Glyph macros in conjunction with - <em>Textile</em> or <em>Markdown</em> to - produce HTML files effortlessly. - </p> - <p> - Alternatively, you can just use <em>Glyph itself</em> - to generate HTML tags. - </p> - <div class="section"> - <h3 id="pdf">What about PDFs?</h3> - <p> - Once you have a single, well-formatted HTML - file, converting it to PDF is - extremely easy with a free 3rd-party renderer - like <a href="http://www.princexml.com">Prince</a> - or <a href="http://code.google.com/p/wkhtmltopdf/\">wkhtmltopdf</a>. - </p> - </div> -</div> -</code> -</pre> + +<p>The Glyph code above corresponds to the following HTML code:</p> + <div class="CodeRay"> + <div class="code"><pre><span class="line-numbers"> <a href="#n1" name="n1">1</a></span><span class="tag">&lt;div</span> <span class="attribute-name">class</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">section</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span> +<span class="line-numbers"> <a href="#n2" name="n2">2</a></span> <span class="tag">&lt;h2</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">h_10</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>Something about Glyph<span class="tag">&lt;/h2&gt;</span> +<span class="line-numbers"> <a href="#n3" name="n3">3</a></span> <span class="tag">&lt;p&gt;</span> +<span class="line-numbers"> <a href="#n4" name="n4">4</a></span> You can use Glyph macros in conjunction with +<span class="line-numbers"> <a href="#n5" name="n5">5</a></span> <span class="tag">&lt;em&gt;</span>Textile<span class="tag">&lt;/em&gt;</span> or <span class="tag">&lt;em&gt;</span>Markdown<span class="tag">&lt;/em&gt;</span> to +<span class="line-numbers"> <a href="#n6" name="n6">6</a></span> produce HTML files effortlessly. +<span class="line-numbers"> <a href="#n7" name="n7">7</a></span> <span class="tag">&lt;/p&gt;</span> +<span class="line-numbers"> <a href="#n8" name="n8">8</a></span> <span class="tag">&lt;p&gt;</span> +<span class="line-numbers"> <a href="#n9" name="n9">9</a></span> Alternatively, you can just use <span class="tag">&lt;em&gt;</span>Glyph itself<span class="tag">&lt;/em&gt;</span> +<span class="line-numbers"><strong><a href="#n10" name="n10">10</a></strong></span> to generate HTML tags. +<span class="line-numbers"><a href="#n11" name="n11">11</a></span> <span class="tag">&lt;/p&gt;</span> +<span class="line-numbers"><a href="#n12" name="n12">12</a></span> <span class="tag">&lt;div</span> <span class="attribute-name">class</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">section</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span> +<span class="line-numbers"><a href="#n13" name="n13">13</a></span> <span class="tag">&lt;h3</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">pdf</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>What about PDFs?<span class="tag">&lt;/h3&gt;</span> +<span class="line-numbers"><a href="#n14" name="n14">14</a></span> <span class="tag">&lt;p&gt;</span> +<span class="line-numbers"><a href="#n15" name="n15">15</a></span> Once you have a single, well-formatted HTML +<span class="line-numbers"><a href="#n16" name="n16">16</a></span> file, converting it to PDF is +<span class="line-numbers"><a href="#n17" name="n17">17</a></span> extremely easy with a free 3rd-party renderer +<span class="line-numbers"><a href="#n18" name="n18">18</a></span> like <span class="tag">&lt;a</span> <span class="attribute-name">href</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://www.princexml.com</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>Prince<span class="tag">&lt;/a&gt;</span> +<span class="line-numbers"><a href="#n19" name="n19">19</a></span> or <span class="tag">&lt;a</span> <span class="attribute-name">href</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://code.google.com/p/wkhtmltopdf/</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>wkhtmltopdf<span class="tag">&lt;/a&gt;</span>. +<span class="line-numbers"><strong><a href="#n20" name="n20">20</a></strong></span> <span class="tag">&lt;/p&gt;</span> +<span class="line-numbers"><a href="#n21" name="n21">21</a></span> <span class="tag">&lt;/div&gt;</span> +<span class="line-numbers"><a href="#n22" name="n22">22</a></span><span class="tag">&lt;/div&gt;</span></pre></div> </div> </section> <section class="section"> -<header><h1 id="h_4">Content Reuse</h1></header> -Finding yourself repeating the same sentence over an over? Glyph allows you to create snippets. Within snippets. Within other snippets (and so on, for a long long time...) as long as you don't define a snippet by defining itself, which would be kinda nasty (and Glyph would complain!): - -<div class="code"> -<pre> -<code> -snippet:[entities|snippets and macros] -snippet:[custom_definitions| - p[Glyph allows you to define your own &[entities].] -] -&[custom_definitions] -</code> -</pre> +<header><h1 id="h_4" class="toc">Content Reuse</h1></header> +<p>Finding yourself repeating the same sentence over an over? Glyph allows you to create snippets. Within snippets. Within other snippets (and so on, for a long long time&#8230;) as long as you don&#8217;t define a snippet by defining itself, which would be kinda nasty (and Glyph would complain!):</p> + <div class="CodeRay"> + <div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span>snippet:[entities|snippets and macros] +<span class="line-numbers"><a href="#n2" name="n2">2</a></span>snippet:[custom_definitions| +<span class="line-numbers"><a href="#n3" name="n3">3</a></span> p[Glyph allows you to define your own &amp;[entities].] +<span class="line-numbers"><a href="#n4" name="n4">4</a></span>] +<span class="line-numbers"><a href="#n5" name="n5">5</a></span>&amp;[custom_definitions]</pre></div> </div> - ...which results in: - -<div class="code"> -<pre> -<code> -<p>Glyph allows you to define your own snippets and macros.</p> -</code> -</pre> + + <p>...which results in:</p> + <div class="CodeRay"> + <div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span><span class="tag">&lt;p&gt;</span>Glyph allows you to define your own snippets and macros.<span class="tag">&lt;/p&gt;</span></pre></div> </div> - If yourself dreaming about _parametric_ snippets, just create your own macros (see the <a href="http://github.com/h3rald/glyph/blob/master/book/text/changelog.glyph">source</a> of Glyph's changelog, just to have an idea). + + <p>If yourself dreaming about <em>parametric</em> snippets, just create your own macros (see the <a href="http://github.com/h3rald/glyph/blob/master/book/text/changelog.glyph">source</a> of Glyph&#8217;s changelog, just to have an idea).</p> </section> <section class="section"> -<header><h1 id="h_5">Automation of Common Tasks</h1></header> -If you're writing a book, you shouldn't have to worry about pagination, headers, footers, table of contents, section numbering or similar. Glyph understands you, and will take care of everything for you (with a little help from CSS3, sometimes). +<header><h1 id="h_5" class="toc">Automation of Common Tasks</h1></header> +<p>If you&#8217;re writing a book, you shouldn&#8217;t have to worry about pagination, headers, footers, table of contents, section numbering or similar. Glyph understands you, and will take care of everything for you (with a little help from CSS3, sometimes).</p> </section> <section class="section"> -<header><h1 id="h_6">Reference Validation</h1></header> -Feel free to add plenty of links, snippets, bookmarks, ... if Glyph doesn't find something, it will definitely complain. Broken references are a thing on the past, and you don't need to worry about it. +<header><h1 id="h_6" class="toc">Reference Validation</h1></header> +<p>Feel free to add plenty of links, snippets, bookmarks, &#8230; if Glyph doesn&#8217;t find something, it will definitely complain. Broken references are a thing on the past, and you don&#8217;t need to worry about it.</p> </section> <section class="section"> -<header><h1 id="h_7">Extreme Extensibility</h1></header> -* You miss a <code>!!!</code> macro to format really, _really_ important things? Create it. In under 3 seconds, in Ruby or Glyph itself. And yes, you can use special characters, too. -* You want your own, very special special @glyph create --everything@ command to create all _you_ need in a Glyph project? You can do it. Using your own Rake tasks, too. -* You want Glyph to output ODF files? You can do it, and you'll be able to run @glyph generate -f odf@. This would probably require a little more time, but it's trivial, from a technical point of view. +<header><h1 id="h_7" class="toc">Extreme Extensibility</h1></header> +<ul> + <li>You miss a <code>!!!</code> macro to format really, <em>really</em> important things? Create it. In under 3 seconds, in Ruby or Glyph itself. And yes, you can use special characters, too.</li> + <li>You want your own, very special special <code>glyph create --everything</code> command to create all <em>you</em> need in a Glyph project? You can do it. Using your own Rake tasks, too.</li> + <li>You want Glyph to output <span class="caps">ODF</span> files? You can do it, and you&#8217;ll be able to run <code>glyph generate -f odf</code>. This would probably require a little more time, but it&#8217;s trivial, from a technical point of view.</li> +</ul> </section> <section class="section"> -<header><h1 id="h_8">Convention over Configuration</h1></header> -Put your text files in @/text@, your images in @/images@, add custom macros in a @macro@ folder within your @/lib@ folder... you get the picture: Glyph has its special places. - -Nonetheless, you also have 1 (_one_) configuration file to customize to your heart's content (with smart defaults). +<header><h1 id="h_8" class="toc">Convention over Configuration</h1></header> +<p>Put your text files in <code>/text</code>, your images in <code>/images</code>, add custom macros in a <code>macro</code> folder within your <code>/lib</code> folder&#8230; you get the picture: Glyph has its special places.</p> +<p>Nonetheless, you also have 1 (<em>one</em>) configuration file to customize to your heart&#8217;s content (with smart defaults).</p> </section> <section class="section"> -<header><h1 id="h_9">Free and Open Source</h1></header> -Glyph is 100% Open Source Software, developed using the Ruby Programming Language and licensed under the very permissive terms of the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>. - -If you have Ruby installed, just run @gem install glyph@. That's all it takes. +<header><h1 id="h_9" class="toc">Free and Open Source</h1></header> +<p>Glyph is 100% Open Source Software, developed using the Ruby Programming Language and licensed under the very permissive terms of the <a href="http://www.opensource.org/licenses/mit-license.php"><span class="caps">MIT</span> License</a>.</p> +<p>If you have Ruby installed, just run <code>gem install glyph</code>. That&#8217;s all it takes.</p> </section> </section> <section class="section"> -<header><h1 id="h_10">Resources</h1></header> -* Home Page: <a href="http://www.h3rald.com/glyph/">http://www.h3rald.com/glyph/</a> -* Repository: <a href="http://www.github.com/h3rald/glyph/">http://www.github.com/h3rald/glyph/</a> -* Bug Tracking: <a href="http://www.github.com/h3rald/glyph/issues">http://www.github.com/h3rald/glyph/issues</a> -* Development Wiki <a href="http://wiki.github.com/h3rald/glyph">http://wiki.github.com/h3rald/glyph</a> -* RubyGem Download <a href="http://www.rubygems.org/gems/glyph">http://www.rubygems.org/gems/glyph</a> -* Book (PDF): <a href="http://github.com/downloads/h3rald/glyph/glyph.pdf">http://github.com/downloads/h3rald/glyph/glyph.pdf</a> -* Book (Web): <a href="http://www.h3rald.com/glyph/book/">http://www.h3rald.com/glyph/book/</a> -* Reference Documentation: <a href="http://rubydoc.info/gems/glyph/">http://rubydoc.info/gems/glyph/</a> -* User Group: <a href="http://groups.google.com/group/glyph-framework">http://groups.google.com/group/glyph-framework</a> +<header><h1 id="h_10" class="toc">Resources</h1></header> +<ul> + <li>Home Page: <a href="http://www.h3rald.com/glyph/">http://www.h3rald.com/glyph/</a></li> + <li>Repository: <a href="http://www.github.com/h3rald/glyph/">http://www.github.com/h3rald/glyph/</a></li> + <li>Bug Tracking: <a href="http://www.github.com/h3rald/glyph/issues">http://www.github.com/h3rald/glyph/issues</a></li> + <li>Development Wiki <a href="http://wiki.github.com/h3rald/glyph">http://wiki.github.com/h3rald/glyph</a></li> + <li>RubyGem Download <a href="http://www.rubygems.org/gems/glyph">http://www.rubygems.org/gems/glyph</a></li> + <li>Book (<span class="caps">PDF</span>): <a href="http://github.com/downloads/h3rald/glyph/glyph.pdf">http://github.com/downloads/h3rald/glyph/glyph.pdf</a></li> + <li>Book (Web): <a href="http://www.h3rald.com/glyph/book/">http://www.h3rald.com/glyph/book/</a></li> + <li>Reference Documentation: <a href="http://rubydoc.info/gems/glyph/">http://rubydoc.info/gems/glyph/</a></li> + <li>User Group: <a href="http://groups.google.com/group/glyph-framework">http://groups.google.com/group/glyph-framework</a></li> +</ul> </section>
M content/glyph/book/changelog.htmlcontent/glyph/book/changelog.html

@@ -68,9 +68,68 @@

<section class="section"> -<header><h1 id="h_298" class="toc">v0.5.1 &ndash; December 4th 2011</h1></header> +<header><h1 id="h_298" class="toc">v0.5.2 &ndash; November 11th 2012</h1></header> +<section class="section"> +<header><h1 id="h_299" class="toc">2 Features Implemented</h1></header> +<table> + <tr> + <th>ID</th> + <th>Description</th> + </tr> + + + <tr> + <td><a href="https://github.com/h3rald/glyph/issues/208">#208</a></td> + <td> +<p><span class="caps">HTML</span> output now indented automatically.</p> +</td> + </tr> + + <tr> + <td><a href="https://github.com/h3rald/glyph/issues/206">#206</a></td> + <td> +<p><span class="caps">CSS</span> improvements.</p> +</td> + </tr> + + </table> + +</section> + + + <section class="section"> +<header><h1 id="h_300" class="toc">2 Bugs Fixed</h1></header> +<table> + <tr> + <th>ID</th> + <th>Description</th> + </tr> + + + <tr> + <td><a href="https://github.com/h3rald/glyph/issues/209">#209</a></td> + <td> +<p>Made Glyph compatible with gli v2.&#215;.</p> +</td> + </tr> + + <tr> + <td><a href="https://github.com/h3rald/glyph/issues/207">#207</a></td> + <td> +<p>Fixed heading level of aliased macro always set to 2.</p> +</td> + </tr> + + </table> + +</section> + +</section> + + <section class="section"> +<header><h1 id="h_301" class="toc">v0.5.1 &ndash; December 4th 2011</h1></header> <section class="section"> -<header><h1 id="h_299" class="toc">2 Bugs Fixed</h1></header> +<header><h1 id="h_302" class="toc">2 Bugs Fixed</h1></header> <table> <tr> <th>ID</th>

@@ -99,9 +158,9 @@

</section> <section class="section"> -<header><h1 id="h_300" class="toc">v0.5.0 &ndash; August 28th 2011</h1></header> +<header><h1 id="h_303" class="toc">v0.5.0 &ndash; August 28th 2011</h1></header> <section class="section"> -<header><h1 id="h_301" class="toc">16 Features Implemented</h1></header> +<header><h1 id="h_304" class="toc">16 Features Implemented</h1></header> <table> <tr> <th>ID</th>

@@ -227,7 +286,7 @@ </section>

<section class="section"> -<header><h1 id="h_302" class="toc">4 Bugs Fixed</h1></header> +<header><h1 id="h_305" class="toc">4 Bugs Fixed</h1></header> <table> <tr> <th>ID</th>

@@ -270,9 +329,9 @@

</section> <section class="section"> -<header><h1 id="h_303" class="toc">v0.4.2 &ndash; October 22th 2010</h1></header> +<header><h1 id="h_306" class="toc">v0.4.2 &ndash; October 22th 2010</h1></header> <section class="section"> -<header><h1 id="h_304" class="toc">3 Features Implemented</h1></header> +<header><h1 id="h_307" class="toc">3 Features Implemented</h1></header> <table> <tr> <th>ID</th>

@@ -307,7 +366,7 @@ </section>

<section class="section"> -<header><h1 id="h_305" class="toc">1 Bug Fixed</h1></header> +<header><h1 id="h_308" class="toc">1 Bug Fixed</h1></header> <table> <tr> <th>ID</th>

@@ -329,9 +388,9 @@

</section> <section class="section"> -<header><h1 id="h_306" class="toc">v0.4.1 &ndash; September 23th 2010</h1></header> +<header><h1 id="h_309" class="toc">v0.4.1 &ndash; September 23th 2010</h1></header> <section class="section"> -<header><h1 id="h_307" class="toc">5 Bugs Fixed</h1></header> +<header><h1 id="h_310" class="toc">5 Bugs Fixed</h1></header> <table> <tr> <th>ID</th>

@@ -381,9 +440,9 @@

</section> <section class="section"> -<header><h1 id="h_308" class="toc">v0.4.0 &ndash; September 3th 2010</h1></header> +<header><h1 id="h_311" class="toc">v0.4.0 &ndash; September 3th 2010</h1></header> <section class="section"> -<header><h1 id="h_309" class="toc">13 Features Implemented</h1></header> +<header><h1 id="h_312" class="toc">13 Features Implemented</h1></header> <table> <tr> <th>ID</th>

@@ -488,7 +547,7 @@ </section>

<section class="section"> -<header><h1 id="h_310" class="toc">7 Bugs Fixed</h1></header> +<header><h1 id="h_313" class="toc">7 Bugs Fixed</h1></header> <table> <tr> <th>ID</th>

@@ -552,9 +611,9 @@

</section> <section class="section"> -<header><h1 id="h_311" class="toc">v0.3.0 &ndash; June 13th 2010</h1></header> +<header><h1 id="h_314" class="toc">v0.3.0 &ndash; June 13th 2010</h1></header> <section class="section"> -<header><h1 id="h_312" class="toc">13 Features Implemented</h1></header> +<header><h1 id="h_315" class="toc">13 Features Implemented</h1></header> <table> <tr> <th>ID</th>

@@ -659,7 +718,7 @@ </section>

<section class="section"> -<header><h1 id="h_313" class="toc">3 Bugs Fixed</h1></header> +<header><h1 id="h_316" class="toc">3 Bugs Fixed</h1></header> <table> <tr> <th>ID</th>

@@ -695,9 +754,9 @@

</section> <section class="section"> -<header><h1 id="h_314" class="toc">v0.2.0 &ndash; May 9th 2010</h1></header> +<header><h1 id="h_317" class="toc">v0.2.0 &ndash; May 9th 2010</h1></header> <section class="section"> -<header><h1 id="h_315" class="toc">11 Features Implemented</h1></header> +<header><h1 id="h_318" class="toc">11 Features Implemented</h1></header> <table> <tr> <th>ID</th>

@@ -788,7 +847,7 @@ </section>

<section class="section"> -<header><h1 id="h_316" class="toc">8 Bugs Fixed</h1></header> +<header><h1 id="h_319" class="toc">8 Bugs Fixed</h1></header> <table> <tr> <th>ID</th>

@@ -859,7 +918,7 @@

</section> <section class="section"> -<header><h1 id="h_317" class="toc">v0.1.0 &ndash; April 8th 2010</h1></header> +<header><h1 id="h_320" class="toc">v0.1.0 &ndash; April 8th 2010</h1></header> Initial release. </section>
M content/glyph/book/extending/command.htmlcontent/glyph/book/extending/command.html

@@ -86,7 +86,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.6.0 +<span class="line-numbers"> <a href="#n3" name="n3">3</a></span>Glyph v/0.5.2 <span class="line-numbers"> <a href="#n4" name="n4">4</a></span>===================================== <span class="line-numbers"> <a href="#n5" name="n5">5</a></span>usage: glyph command [options] <span class="line-numbers"> <a href="#n6" name="n6">6</a></span>
M content/glyph/book/text_editing/evaluation.htmlcontent/glyph/book/text_editing/evaluation.html

@@ -119,8 +119,8 @@ <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; 2012-11-02 10:57:48 +0100</li> - <li><code>%[Glyph::VERSION]</code> &rarr; 0.6.0</li> + <li><code>%[Time.now]</code> &rarr; 2012-11-11 18:22:46 +0100</li> + <li><code>%[Glyph::VERSION]</code> &rarr; 0.5.2</li> </ul> <p>The scope for the code evaluation is the Kernel module, (with all inclusions required by Glyph itself).</p> <p>Although it is possible to retrieve Glyph configuration settings in this way (e.g. <code>%[cfg('document.author')]</code>), the <a href="/glyph/book/macros/macros_core.html#m_config"><code>config</code></a> macro (aliased to <code>$</code>) makes things slightly simpler (e.g. <code>$[document.author]</code>).</p>