Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated h3rald layout.

  • Loading branch information...
commit c7d4620fe58858feeb9fdbbdf4d3a475bfae2b48 1 parent 60c05ba
Fabio Cevasco authored
890 CHANGELOG.textile
View
@@ -1,840 +1,54 @@
-
-
-
-
-
- <div class="section">
-<h2 id="h_1">v0.5.1 &ndash; December 4th 2011</h2>
-<div class="section">
-<h3 id="h_2">2 Bugs Fixed</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/203">#203</a></td>
- <td>
-<p>Fixed error in pubdate macro.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/204">#204</a></td>
- <td>
-<p>Updated CodeRay stylesheet.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <p>
-<em>&rarr; View closed issues on <a href="https://github.com/h3rald/glyph/issues?direction=asc&amp;labels=0.5.1&amp;sort=created&amp;state=closed">GitHub</a>.</em>
-</p>
-
-</div>
-
- <div class="section">
-<h2 id="h_3">v0.5.0 &ndash; August 28th 2011</h2>
-<div class="section">
-<h3 id="h_4">16 Features Implemented</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/152">#152</a></td>
- <td>
-<p>It is now possible to generate a <span class="caps">PDF</span> document through HTML5, not only <span class="caps">HTML</span>, by setting the <code>output.pdf.through</code> setting to <code>html5</code>.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/165">#165</a></td>
- <td>
-<p>The fragment macro and the embed macro can be used to delimit and embed text fragments, in a way much similar to snippets.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/177">#177</a></td>
- <td>
-<p>Introduced the concept of &#8220;macro representations&#8221;, to make macro code output-independent.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/179">#179</a></td>
- <td>
-<p>Macro can be composed with other macros via backslashes, provided that containers only take exactly one parameter. The new xml macro dispatcher must be used composed with other macros to create raw <span class="caps">XML</span> tags, prepending = to macro names no longer works.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/180">#180</a></td>
- <td>
-<p>Glyph can now generate ebooks in <span class="caps">MOBI</span> and <span class="caps">EPUB</span> format &ndash; with Calibre&#8217;s help.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/181">#181</a></td>
- <td>
-<p>By using the new let macro macro, it is possible to define lexically scoped &#8220;variables&#8221; via the attribute: macro, and retrieve them within the scope of the let macro using the attribute macro.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/182">#182</a></td>
- <td>
-<p>A while macro can be used to execute glyph code multiple times.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/183">#183</a></td>
- <td>
-<p>The s macro dispatcher can be used to call almost any instance method of the Ruby String class. The <code>match</code> macro cannot be used anymore; use <code>s/match</code> instead.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/184">#184</a></td>
- <td>
-<p>The old <code>rewrite:</code> macro has been renamed to <code>define:</code>. The new define: macro fully supports recursion.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/189">#189</a></td>
- <td>
-<p>The add macro, the subtract macro and the multiply macro macro can be used to perform operations on integers.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/190">#190</a></td>
- <td>
-<p>The lt, gt, lte, gte macros can be used to compare integer values.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/194">#194</a></td>
- <td>
-<p>The load macro macro can be used to embed the contents of a file without performing any evaluation.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/195">#195</a></td>
- <td>
-<p><code>\/</code> must not be used as invisible space separator, instead of <code>\.</code>.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/197">#197</a></td>
- <td>
-<p>Snippets are no longer managed via a separate snippet.yml file and <em>must</em> be defined within Glyph source files, using the snippet: macro.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/200">#200</a></td>
- <td>
-<p>Typing <code>glyph -v</code> now prints the current version of Glyph on the screen.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/201">#201</a></td>
- <td>
-<p>Glyph no longer depends on Jeweler to create and manage its gem.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <div class="section">
-<h3 id="h_5">4 Bugs Fixed</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/151">#151</a></td>
- <td>
-<p>Fixed a bug related to Jeweler&#8217;s gemspec validation. And for all it matters, Jeweler is no longer a development dependency for Glyph.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/166">#166</a></td>
- <td>
-<p>Temporary output files are now placed in a temporary folder.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/196">#196</a></td>
- <td>
-<p>Glyph now handles non-<span class="caps">ASCII</span> characters properly with Ruby 1.9 as well.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/199">#199</a></td>
- <td>
-<p>Fixed a bug that caused incorrect <span class="caps">TOC</span> nesting when using the <code>src</code> attribute of the section macro.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <p>
-<em>&rarr; View closed issues on <a href="https://github.com/h3rald/glyph/issues?direction=asc&amp;labels=0.5.0&amp;sort=created&amp;state=closed">GitHub</a>.</em>
-</p>
-
-</div>
-
- <div class="section">
-<h2 id="h_6">v0.4.2 &ndash; October 22th 2010</h2>
-<div class="section">
-<h3 id="h_7">3 Features Implemented</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/172">#172</a></td>
- <td>
-<p>A new output? macro can be used to test whether Glyph is compiling to a particular output format.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/175">#175</a></td>
- <td>
-<p>The conditional macro now support a third parameter (else branch).</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/176">#176</a></td>
- <td>
-<p>A bunch of new aliases and shortcuts are available for the section macro.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <div class="section">
-<h3 id="h_8">1 Bug Fixed</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/178">#178</a></td>
- <td>
-<p>No error is raised anymore if less than the required parameters/attributes are supplied to a rewritten macro.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <p>
-<em>&rarr; View closed issues on <a href="https://github.com/h3rald/glyph/issues?direction=asc&amp;labels=0.4.2&amp;sort=created&amp;state=closed">GitHub</a>.</em>
-</p>
-
-</div>
-
- <div class="section">
-<h2 id="h_9">v0.4.1 &ndash; September 23th 2010</h2>
-<div class="section">
-<h3 id="h_10">5 Bugs Fixed</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/169">#169</a></td>
- <td>
-<p>*.scss files are now supported by the style macro.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/170">#170</a></td>
- <td>
-<p>Improved default CodeRay stylesheet.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/171">#171</a></td>
- <td>
-<p><span class="caps">SCSS</span> now used internally by Glyph to generate default <span class="caps">CSS</span> files.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/173">#173</a></td>
- <td>
-<p>Consecutive escape sequences are now interpreted correctly in topics.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/174">#174</a></td>
- <td>
-<p>Fixed error causing broken images in web5/html5 output.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <p>
-<em>&rarr; View closed issues on <a href="https://github.com/h3rald/glyph/issues?direction=asc&amp;labels=0.4.1&amp;sort=created&amp;state=closed">GitHub</a>.</em>
-</p>
-
-</div>
-
- <div class="section">
-<h2 id="h_11">v0.4.0 &ndash; September 3th 2010</h2>
-<div class="section">
-<h3 id="h_12">13 Features Implemented</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/40">#40</a></td>
- <td>
-<p>A new stats command can be used to display statistics about project files, snippets, macros, bookmarks and links.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/73">#73</a></td>
- <td>
-<p>It is now possible to validate online <span class="caps">HTTP</span> links.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/112">#112</a></td>
- <td>
-<p>It is now possible to use <em>wkhtmltopdf</em> instead of Prince to generate <span class="caps">PDF</span> files from <span class="caps">HTML</span> files.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/114">#114</a></td>
- <td>
-<p>It is now possible to generate documents comprised of multiple files (topics).</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/115">#115</a></td>
- <td>
-<p>It is now possible to define layouts (used when generating multi-file outputs) using Glyph macros.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/120">#120</a></td>
- <td>
-<p>It is now possible to compile your project to a single HTML5 file (<code>html5</code> output) or multiple files (<code>web5</code> output)</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/135">#135</a></td>
- <td>
-<p>Stylesheets can now be linked and imported as well as embedded.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/138">#138</a></td>
- <td>
-<p><code>web</code> and <code>web5</code> output formats inherit <code>html</code> macros.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/142">#142</a></td>
- <td>
-<p>A new navigation macro can be used in <code>web</code> and <code>web5</code> outputs to navigate through topics.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/143">#143</a></td>
- <td>
-<p>A topic-based <span class="caps">TOC</span> is generated when compiling to <code>web</code> or <code>web5</code></p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/144">#144</a></td>
- <td>
-<p>Two new validators are now available to check whether a macro has (or doesn&#8217;t have) a certain ancestor: <code>within</code> and <code>not_within</code>.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/147">#147</a></td>
- <td>
-<p>The default stylesheets provided by Glyph are now compatible with HTML5 outputs (html5 and web5).</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/148">#148</a></td>
- <td>
-<p>It is now possible to create custom tasks and commands to extend Glyph functionality.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <div class="section">
-<h3 id="h_13">7 Bugs Fixed</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/133">#133</a></td>
- <td>
-<p>Added <span class="caps">HTML</span> charset to Glyph documents (utf-8).</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/136">#136</a></td>
- <td>
-<p>Moved utility functions to separate <code>Glyph::Utils</code> module.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/139">#139</a></td>
- <td>
-<p>Heavily restructured Glyph configuration.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/140">#140</a></td>
- <td>
-<p>Added <code>Glyph::Macro::Helpers</code> module to avoid code duplication in macros for different output formats.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/141">#141</a></td>
- <td>
-<p>Prevented non-rb files to be loaded as macros.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/145">#145</a></td>
- <td>
-<p>Dotfiles are now ignored by init command.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/167">#167</a></td>
- <td>
-<p>Fixed <span class="caps">PDF</span> book download links.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <p>
-<em>&rarr; View closed issues on <a href="https://github.com/h3rald/glyph/issues?direction=asc&amp;labels=0.4.0&amp;sort=created&amp;state=closed">GitHub</a>.</em>
-</p>
-
-</div>
-
- <div class="section">
-<h2 id="h_14">v0.3.0 &ndash; June 13th 2010</h2>
+<?xml version="1.0"?>
<div class="section">
-<h3 id="h_15">13 Features Implemented</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/39">#39</a></td>
- <td>
-<p>A new outline command is available to display the document outline.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/110">#110</a></td>
- <td>
-<p>It is now possible to use Glyph language to produce arbitrary <span class="caps">XML</span> code.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/111">#111</a></td>
- <td>
-<p>System settings are now stored within a <code>system.*</code> namespace and cannot be changed via the config: macro or the config command.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/116">#116</a></td>
- <td>
-<p>It is now possible to use named attributes within Glyph macros.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/119">#119</a></td>
- <td>
-<p><a id="new_parser"></a>A new parser was implemented from scratch to improve performance. Treetop gem no longer required.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/121">#121</a></td>
- <td>
-<p>Some macros have been removed in favor of <span class="caps">XML</span> fallback, others have been updated.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/123">#123</a></td>
- <td>
-<p>The SyntaxNode class has been specialized to differentiate between macros, attributes, parameters, text and escapes.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/124">#124</a></td>
- <td>
-<p>Implemented new article macro and book macro.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/126">#126</a></td>
- <td>
-<p>A new <code>rewrite</code> macro has been implemented to create simple macros using just Glyph code.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/127">#127</a></td>
- <td>
-<p>A new alias macro has been implemented to create macro aliases.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/128">#128</a></td>
- <td>
-<p>A blacklist for <span class="caps">XML</span> tags has been exposed via the <code>language.options.xml_blacklist</code> setting.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/129">#129</a></td>
- <td>
-<p>The include macro can now be used in lite mode, it can evaluate ruby files and requires relative paths.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/130">#130</a></td>
- <td>
-<p>A new &#8220;safe mode&#8221; has been implemented to explicitly forbid certain potentially unsafe macros.</p>
-</td>
- </tr>
-
- </table>
-
+ <h2 id="h_1" class="toc">v0.5.2 November 11th 2012</h2>
+ <div class="section">
+ <h3 id="h_2" class="toc">2 Features Implemented</h3>
+ <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>
+ </div>
+ <div class="section">
+ <h3 id="h_3" class="toc">2 Bugs Fixed</h3>
+ <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.&#xD7;.</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>
+ </div>
</div>
-
-
- <div class="section">
-<h3 id="h_16">3 Bugs Fixed</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/109">#109</a></td>
- <td>
-<p>Performance has been dramatically improved by implementing a parser from scratch (see <a href="#new_parser">#119</a>)</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/122">#122</a></td>
- <td>
-<p>Macro encoding/decoding no longer necessary due to the new parser (see <a href="#new_parser">#119</a>)</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/125">#125</a></td>
- <td>
-<p>Warning messages have been streamlined.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <p>
-<em>&rarr; View closed issues on <a href="https://github.com/h3rald/glyph/issues?direction=asc&amp;labels=0.3.0&amp;sort=created&amp;state=closed">GitHub</a>.</em>
-</p>
-
-</div>
-
- <div class="section">
-<h2 id="h_17">v0.2.0 &ndash; May 9th 2010</h2>
-<div class="section">
-<h3 id="h_18">11 Features Implemented</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/62">#62</a></td>
- <td>
-<p>A new highlight macro is available to highlight source code (CodeRay or UltraViolet required).</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/76">#76</a></td>
- <td>
-<p>It is now possible to use Glyph programmatically via the new <code>Glyph#filter</code> and <code>Glyph#compile</code> methods.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/87">#87</a></td>
- <td>
-<p>It is now possible to define snippets inside a Glyph source file using the snippet: macro.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/88">#88</a></td>
- <td>
-<p>It is now possible to change configuration settings inside a Glyph source file using the config: macro (Jabbslad).</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/89">#89</a></td>
- <td>
-<p>It is now possible to compile a single Glyph source file without creating a Glyph project.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/92">#92</a></td>
- <td>
-<p>6 new macros have been defined to allow conditional processing (condition macro, eq macro, not macro, and macro, or macro, match macro)</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/94">#94</a></td>
- <td>
-<p>It is now possible to add <em>validators</em> to macros, for example to check the number of parameters they take.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/97">#97</a></td>
- <td>
-<p>The compile command command can now take an extra <code>--auto</code> switch to trigger document auto-regeneration whenever a source file is changed (koraktor).</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/99">#99</a></td>
- <td>
-<p>Added a <code>document.draft</code> setting. If set to <code>true</code>, comments and TODOs are rendered in output files.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/100">#100</a></td>
- <td>
-<p><a id="system_css"></a>Glyph <span class="caps">CSS</span> files are no longer copied to new projects, but they can be referenced as if they were (see also <a href="#css_not_copied">#93</a>).</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/108">#108</a></td>
- <td>
-<p>It is now possible to define Glyph macros within Glyph source files using the macro: macro.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <div class="section">
-<h3 id="h_19">8 Bugs Fixed</h3>
-<table>
- <tr>
- <th>ID</th>
- <th>Description</th>
- </tr>
-
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/86">#86</a></td>
- <td>
-<p>Warning and error messages have been updated, and it is now possible to show additional debug information. Additionally, syntax errors are now handled before the document is processed.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/93">#93</a></td>
- <td>
-<p><a id="css_not_copied"></a>Default css files were not copied when creating a new project. The issue has been resolved by allowing the style macro to reference Glyph&#8217;s system styles (see also <a href="#system_css">#100</a>).</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/95">#95</a></td>
- <td>
-<p>The config command did not save data to <span class="caps">YAML</span> configuration files. This has been fixed ensuring that internal configuration overrides are not saved to the <span class="caps">YAML</span> file too.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/98">#98</a></td>
- <td>
-<p>Glyph is now fully compatible with Ruby 1.9.1 and JRuby 1.4.0.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/101">#101</a></td>
- <td>
-<p>Additional tests have been developed to improve Textile support. There should no longer be errors when using textile block elements inside Glyph macros.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/103">#103</a></td>
- <td>
-<p>Fixed a bug that caused test failures when deleting the test project directory.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/104">#104</a></td>
- <td>
-<p>Nested Glyph macros calling <code>Macro#interpret</code> no longer ignore escape delimiters.</p>
-</td>
- </tr>
-
- <tr>
- <td><a href="https://github.com/h3rald/glyph/issues/107">#107</a></td>
- <td>
-<p>Added the possibility to encode (using the <code>encode</code> macro) and decode (using the <code>decode</code> macro) macros so that they can be interpreted later.</p>
-</td>
- </tr>
-
- </table>
-
-</div>
-
-
- <p>
-<em>&rarr; View closed issues on <a href="https://github.com/h3rald/glyph/issues?direction=asc&amp;labels=0.2.0&amp;sort=created&amp;state=closed">GitHub</a>.</em>
-</p>
-
-</div>
-
- <div class="section">
-<h2 id="h_20">v0.1.0 &ndash; April 8th 2010</h2>
-Initial release.
-
- <p>
-<em>&rarr; View closed issues on <a href="https://github.com/h3rald/glyph/issues?direction=asc&amp;labels=0.1.0&amp;sort=created&amp;state=closed">GitHub</a>.</em>
-</p>
-
-</div>
286 README.textile
View
@@ -1,160 +1,134 @@
+<?xml version="1.0"?>
<div 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.
-
- <div class="section">
-<h3 id="h_1">Main Features</h3>
-<div class="section">
-<h4 id="h_2">Command Line Interface</h4>
-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.
-
-</div>
-
- <div class="section">
-<h4 id="h_3">Minimalist Syntax</h4>
-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>
-</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>
+ <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&#x2026; <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>
<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>
+ <h3 id="h_1" class="toc">Main Features</h3>
+ <div class="section">
+ <h4 id="h_2" class="toc">Command Line Interface</h4>
+ <p>Glyph is 100% command line. Its interface resambles <a href="http://git-scm.com/">Git&#x2019;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> &#x2014; to initialize a new Glyph project in the current (empty) directory.</li>
+ <li><code>glyph add introduction.textile</code> &#x2014; to create a new file called <em>introduction.textile</em>.</li>
+ <li><code>glyph compile</code> &#x2014; to compile the current document into a single <span class="caps">HTML</span> file.</li>
+ <li><code>glyph compile --auto</code> &#x2014; to keep recompiling the current document every time a file is changed.</li>
+ <li><code>glyph compile -f pdf</code> &#x2014; 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> &#x2014; 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> &#x2014; Display the document outline, up to second-level headers.</li>
+ <li><code>glyph stats</code> &#x2014; Display project statistics.</li>
+ </ul>
+ </div>
+ <div class="section">
+ <h4 id="h_3" class="toc">Minimalist Syntax</h4>
+ <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>
+ <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">"</span><span class="content">section</span><span class="delimiter">"</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">"</span><span class="content">h_10</span><span class="delimiter">"</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">"</span><span class="content">section</span><span class="delimiter">"</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">"</span><span class="content">pdf</span><span class="delimiter">"</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">"</span><span class="content">http://www.princexml.com</span><span class="delimiter">"</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">"</span><span class="content">http://code.google.com/p/wkhtmltopdf/</span><span class="delimiter">"</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>
+ </div>
+ <div class="section">
+ <h4 id="h_4" class="toc">Content Reuse</h4>
+ <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&#x2026;) as long as you don&#x2019;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>
+ <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>
+ <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&#x2019;s changelog, just to have an idea).</p>
+ </div>
+ <div class="section">
+ <h4 id="h_5" class="toc">Automation of Common Tasks</h4>
+ <p>If you&#x2019;re writing a book, you shouldn&#x2019;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>
+ </div>
+ <div class="section">
+ <h4 id="h_6" class="toc">Reference Validation</h4>
+ <p>Feel free to add plenty of links, snippets, bookmarks, &#x2026; if Glyph doesn&#x2019;t find something, it will definitely complain. Broken references are a thing on the past, and you don&#x2019;t need to worry about it.</p>
+ </div>
+ <div class="section">
+ <h4 id="h_7" class="toc">Extreme Extensibility</h4>
+ <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&#x2019;ll be able to run <code>glyph generate -f odf</code>. This would probably require a little more time, but it&#x2019;s trivial, from a technical point of view.</li>
+ </ul>
+ </div>
+ <div class="section">
+ <h4 id="h_8" class="toc">Convention over Configuration</h4>
+ <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&#x2026; 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&#x2019;s content (with smart defaults).</p>
+ </div>
+ <div class="section">
+ <h4 id="h_9" class="toc">Free and Open Source</h4>
+ <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&#x2019;s all it takes.</p>
+ </div>
+ </div>
+ <div class="section">
+ <h3 id="h_10" class="toc">Resources</h3>
+ <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>
</div>
</div>
-</code>
-</pre>
-</div>
-
-</div>
-
- <div class="section">
-<h4 id="h_4">Content Reuse</h4>
-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>
-</div>
- ...which results in:
-
-<div class="code">
-<pre>
-<code>
-<p>Glyph allows you to define your own snippets and macros.</p>
-</code>
-</pre>
-</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).
-
-</div>
- <div class="section">
-<h4 id="h_5">Automation of Common Tasks</h4>
-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).
-
-</div>
- <div class="section">
-<h4 id="h_6">Reference Validation</h4>
-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.
-
-</div>
- <div class="section">
-<h4 id="h_7">Extreme Extensibility</h4>
-* 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.
-
-</div>
- <div class="section">
-<h4 id="h_8">Convention over Configuration</h4>
-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).
-
-</div>
- <div class="section">
-<h4 id="h_9">Free and Open Source</h4>
-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.
-
-</div>
-
-</div>
- <div class="section">
-<h3 id="h_10">Resources</h3>
-* 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>
-
-</div>
-
-</div>
215 book/lib/layouts/bookindex.glyph
View
@@ -1,106 +1,121 @@
<!DOCTYPE html>
<html lang="en">
- <head>
- <title>Glyph - Document Authoring Framework</title>
-
- <meta charset="utf-8" />
- <meta name="author" content="Fabio Cevasco" />
- <meta name="copyright" content="Fabio Cevasco" />
- <meta name="robots" content="all, follow" />
- <meta name="Revisit-After" content="2 Days" />
- <meta name="language" content="en" />
- <meta name="target_country" content="en-us" />
- <meta name="country" content="United States" />
- <meta name="readability-verification" content="XmaVzRjmcFL5Bb2Fu9TZVdDKzhA3apQdxexTB2rK"/>
- <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" />
-
- <meta name="keywords" content="h3rald, fabio cevasco, glyph" />
- <link rel="shortcut icon" href="/favicon.png" type="image/png" />
- <meta content="44.388041;9.073248" name="ICBM" />
+ <head>
+ <title>Glyph - Document Authoring Framework</title>
+ <link href='http://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" type="text/css" href="/styles/html5reset.css" />
- <link rel="stylesheet" type="text/css" href="/styles/style.css" />
+ <meta charset="utf-8" />
+ <meta name="author" content="Fabio Cevasco" />
+ <meta name="copyright" content="Fabio Cevasco" />
+ <meta name="robots" content="all, follow" />
+ <meta name="Revisit-After" content="2 Days" />
+ <meta name="language" content="en" />
+ <meta name="target_country" content="en-us" />
+ <meta name="country" content="United States" />
+ <meta name="readability-verification" content="XmaVzRjmcFL5Bb2Fu9TZVdDKzhA3apQdxexTB2rK"/>
+ <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, opensource" />
+ <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/html5reset.css" /> -->
+ <!-- <link rel="stylesheet" type="text/css" href="/styles/style.css" /> -->
+ <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" />
+ <link rel="stylesheet" type="text/css" href="/styles/style.css" />
<script src="http://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 type="text/javascript">google.load("jquery", "1");</script>
- <script src="/js/jquery-timeago.js" type="text/javascript"></script>
- <script src="/js/jquery-easing.js" type="text/javascript"></script>
- <script src="/js/jquery-fancybox.js" type="text/javascript"></script>
- <script src="/js/date.js" type="text/javascript"></script>
- <script src="/js/feeds.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>
- </head>
- <body>
- <section id="container">
-
- <header class="page">
- <nav class="home-link">
- <a href="/">
- <span class="logo">
- <span class="hrald"><span class="h">H</span>&nbsp;<span class="rald">RALD</span></span>
- <span class="three">3</span>
- </span>
- </a>
- </nav>
-
- <nav class="section">
- /<a href="/glyph/" rel="glyph">GLYPH</a>
- </nav>
-
-</header>
- <article class="page">
- <header>
- <hgroup>
- <h1>Glyph - Document Authoring Framework</h1>
- <h2>Documentation</h2>
-
- </hgroup>
-
-</header>
- <section id="body-text" class="hyphenate glyph-index">
- toc[]
- <nav id="sharing-buttons">
-<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="h3rald">Tweet</a>
-<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
-</nav>
- </section>
- </article>
-
-
- <footer>
- <section>
- <nav>
- <a href="/about/">ABOUT</a>\|<a href="/contact/">CONTACT</a>
- </nav>
- <p>H3RALD Web Site v8.1.2 &copy; 2004 &mdash; 2011 <em>Fabio Cevasco</em></p>
- </section>
- </footer>
- </section><!-- #container end -->
-
- <!-- Start Google Analytics -->
- <script type="text/javascript">
- var _gaq = _gaq \|\| \[\];
- _gaq.push(\['_setAccount', 'UA-18587377-1'\]);
- _gaq.push(\['_trackPageview'\]);
+ <script src="/js/sevenup.js" type="text/javascript"></script>
+ <script src="/js/sevenup_black.js" type="text/javascript"></script>
+ <script src="http://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/feeds.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/bootstrap.js" type="text/javascript"></script>
+ </head>
+ <body>
+
+ <div class="container">
+ <div class="row" id="header-row">
+ <div class="span6 main-title">
+ <h1>
+ <img src="/img/h3rald.png" alt="H3RALD" />
+ </h1>
+ </div>
+ <div class="span4 offset2">
+ <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">
+ <div class="navbar-inner">
+ <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <div class="nav-collapse collapse">
+ <ul class="nav">
+ <li><a href="/">HOME</a></li>
+ <li><a href="/projects/">PROJECTS</a></li>
+ <li><a href="/tags/">TAGS</a></li>
+ <li><a href="/archives/">ARCHIVES</a></li>
+ <li><a href="/about/">ABOUT</a></li>
+ <li><a href="/contact/">CONTACT</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="container">
+ <article class="page">
+ <header class="row">
+ <hgroup class="span9">
+ <h1>Glyph - Document Authoring Framework</h1>
+ <h2>Documentation</h2>
+ </hgroup>
+ </header>
+ <section id="body-text" class="hyphenate">
+
+ toc[]
+
+ </section>
+ </article>
+ </div>
+
+ <footer>
+ <section>
+ <p>H3RALD Web Site v8.3 &copy; 2004 &mdash; 2013 <em>Fabio Cevasco</em></p>
+ </section>
+ </footer>
+
+
+
+ <!-- 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 -->
- <!-- Start of StatCounter Code -->
- <script type="text/javascript">
- var sc_project=6193656;
- var sc_invisible=1;
- var sc_security="57f7ee2a";
- </script>
- <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
- <!-- End of StatCounter Code -->
- </body>
-</html>
+ (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 -->
+ <!-- Start of StatCounter Code -->
+ <script type="text/javascript">
+ var sc_project=6193656;
+ var sc_invisible=1;
+ var sc_security="57f7ee2a";
+ </script>
+ <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
+ <!-- End of StatCounter Code -->
+ </body>
+ </html>
213 book/lib/layouts/bookpage.glyph
View
@@ -1,108 +1,123 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
+<!DOCTYPE html>
+<html lang="en">
+ <head>
<title>{{title}} - Glyph</title>
-
- <meta charset="utf-8" />
- <meta name="author" content="Fabio Cevasco" />
- <meta name="copyright" content="Fabio Cevasco" />
- <meta name="robots" content="all, follow" />
- <meta name="Revisit-After" content="2 Days" />
- <meta name="language" content="en" />
- <meta name="target_country" content="en-us" />
- <meta name="country" content="United States" />
- <meta name="readability-verification" content="XmaVzRjmcFL5Bb2Fu9TZVdDKzhA3apQdxexTB2rK"/>
- <meta name="description" content="H3RALD - Fabio Cevasco's Web Site" />
-
- <meta name="keywords" content="h3rald, fabio cevasco, glyph" />
- <link rel="shortcut icon" href="/favicon.png" type="image/png" />
- <meta content="44.388041;9.073248" name="ICBM" />
+ <link href='http://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" type="text/css" href="/styles/html5reset.css" />
- <link rel="stylesheet" type="text/css" href="/styles/style.css" />
+ <meta charset="utf-8" />
+ <meta name="author" content="Fabio Cevasco" />
+ <meta name="copyright" content="Fabio Cevasco" />
+ <meta name="robots" content="all, follow" />
+ <meta name="Revisit-After" content="2 Days" />
+ <meta name="language" content="en" />
+ <meta name="target_country" content="en-us" />
+ <meta name="country" content="United States" />
+ <meta name="readability-verification" content="XmaVzRjmcFL5Bb2Fu9TZVdDKzhA3apQdxexTB2rK"/>
+ <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, opensource" />
+ <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/html5reset.css" /> -->
+ <!-- <link rel="stylesheet" type="text/css" href="/styles/style.css" /> -->
+ <link rel="stylesheet" type="text/css" href="/styles/bootstrap.css" />
+ <link rel="stylesheet" type="text/css" href="/styles/style.css" />
<script src="http://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 type="text/javascript">google.load("jquery", "1");</script>
- <script src="/js/jquery-timeago.js" type="text/javascript"></script>
- <script src="/js/jquery-easing.js" type="text/javascript"></script>
- <script src="/js/jquery-fancybox.js" type="text/javascript"></script>
- <script src="/js/date.js" type="text/javascript"></script>
- <script src="/js/feeds.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>
- </head>
- <body>
- <section id="container">
-
- <header class="page">
- <nav class="home-link">
- <a href="/">
- <span class="logo">
- <span class="hrald"><span class="h">H</span>&nbsp;<span class="rald">RALD</span></span>
- <span class="three">3</span>
- </span>
- </a>
- </nav>
-
- <nav class="section">
- /<a href="/glyph/" rel="glyph">GLYPH</a>
- </nav>
-
-</header>
- <article class="page glyph-book">
- <header>
- <hgroup>
- <h1>{{title}}</h1>
- <h2>Glyph</h2>
- </hgroup>
- </header>
- <section id="body-text" class="hyphenate glyph-book">
+ <script src="/js/sevenup.js" type="text/javascript"></script>
+ <script src="/js/sevenup_black.js" type="text/javascript"></script>
+ <script src="http://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/feeds.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/bootstrap.js" type="text/javascript"></script>
+ </head>
+ <body>
+
+ <div class="container">
+ <div class="row" id="header-row">
+ <div class="span6 main-title">
+ <h1>
+ <img src="/img/h3rald.png" alt="H3RALD" />
+ </h1>
+ </div>
+ <div class="span4 offset2">
+ <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">
+ <div class="navbar-inner">
+ <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <div class="nav-collapse collapse">
+ <ul class="nav">
+ <li><a href="/">HOME</a></li>
+ <li><a href="/projects/">PROJECTS</a></li>
+ <li><a href="/tags/">TAGS</a></li>
+ <li><a href="/archives/">ARCHIVES</a></li>
+ <li><a href="/about/">ABOUT</a></li>
+ <li><a href="/contact/">CONTACT</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="container">
+ <article class="page">
+ <header class="row">
+ <hgroup class="span9">
+ <h1>{{title}}</h1>
+ <h2>Glyph</h2>
+ </hgroup>
+ </header>
+ <section id="body-text" class="hyphenate">
navigation[{{id}}]
{{contents}}
navigation[{{id}}]
- <nav id="sharing-buttons">
-<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="h3rald">Tweet</a>
-<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
-</nav>
- </section>
- </article>
-
-
- <footer>
- <section>
- <nav>
- <a href="/about/">ABOUT</a>\|<a href="/contact/">CONTACT</a>
- </nav>
- <p>H3RALD Web Site v8.1.2 &copy; 2004 &mdash; 2012 <em>Fabio Cevasco</em></p>
- </section>
- </footer>
- </section><!-- #container end -->
-
-
- <!-- 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 -->
- <!-- Start of StatCounter Code -->
- <script type="text/javascript">
- var sc_project=6193656;
- var sc_invisible=1;
- var sc_security="57f7ee2a";
- </script>
- <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
- <!-- End of StatCounter Code -->
- </body>
-</html>
+ </section>
+ </article>
+ </div>
+
+ <footer>
+ <section>
+ <p>H3RALD Web Site v8.3 &copy; 2004 &mdash; 2013 <em>Fabio Cevasco</em></p>
+ </section>
+ </footer>
+
+
+
+ <!-- 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 -->
+ <!-- Start of StatCounter Code -->
+ <script type="text/javascript">
+ var sc_project=6193656;
+ var sc_invisible=1;
+ var sc_security="57f7ee2a";
+ </script>
+ <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>
+ <!-- End of StatCounter Code -->
+ </body>
+ </html>
1  book/lib/layouts/project.glyph
View
@@ -2,7 +2,6 @@
permalink: glyph
filters_pre:
- erb
-- redcloth
title: "Glyph"
subtitle: "A Rapid Document Authoring Framework"
type: project
2  book/lib/tasks/tasks.rake
View
@@ -2,7 +2,7 @@ namespace :custom do
task :generate, [:file] do |t, args|
generate = lambda do |source, destination|
Glyph.info "Generating #{destination}..."
- Glyph.compile Glyph::PROJECT/"text/#{source}.glyph", "#{Glyph::PROJECT/"../#{destination}.textile"}"
+ Glyph.compile Glyph::PROJECT/"text/#{source}.glyph", "#{Glyph::PROJECT/"../#{destination}.erb"}"
end
files = {
:AUTHORS => :acknowledgements,
2  book/text/changelog.glyph
View
@@ -32,7 +32,7 @@ def:[issue|
td[txt[{{1}}]]
]
]
-?[eq[%[ARGV\[0\]]|generate]|
+?[eq[%[ARGV\[0\]]|CHANGELOG]|
%:[%>|"#{value} macro"]
%:[#>|"#{value} command"]
%:[$>|"#{value} setting"]
Please sign in to comment.
Something went wrong with that request. Please try again.