Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated changelog.

  • Loading branch information...
commit 0c62e37b66792ace3b9d18b6f43e12d0f64c6d41 1 parent 93cb6b5
Fabio Cevasco authored
239 book/text/changelog.glyph
View
@@ -1,152 +1,161 @@
%[=
macro :features do
- verb = (@name == :features) ? "Implemented" : "Fixed"
- total = @node.child_macros.length
- name = @name.to_s.capitalize
- name.chop! if total == 1
- interpret %{
- section[
- @title[#{total} #{name} #{verb}]
- table[
- tr[
- th[ID]
- th[Description]
- ]
- #{@node.value}
- ]
- ]
- }
+ verb = (@name == :features) ? "Implemented" : "Fixed"
+ total = @node.child_macros.length
+ name = @name.to_s.capitalize
+ name.chop! if total == 1
+ interpret %{
+ section[
+ @title[#{total} #{name} #{verb}]
+ table[
+ tr[
+ th[ID]
+ th[Description]
+ ]
+ #{@node.value}
+ ]
+ ]
+ }
end
macro_alias :bugs => :features
=]
def:[release|
- section[
- @title[v{{0}} – {{1}}]
- {{2}}
+ section[
+ @title[v{{0}} – {{1}}]
+ {{2}}
p/em[→ View closed issues on =>[https://github.com/h3rald/glyph/issues?direction=asc&labels={{0}}&sort=created&state=closed|GitHub]]
- ]
+ ]
]
def:[issue|
- tr[
- td[\/=>[https://github.com/h3rald/glyph/issues/{{0}}|#{{0}}]]
- td[txt[{{1}}]]
- ]
+ tr[
+ td[\/=>[https://github.com/h3rald/glyph/issues/{{0}}|#{{0}}]]
+ td[txt[{{1}}]]
+ ]
]
?[eq[%[ARGV\[0\]]|generate]|
- %:[%>|"#{value} macro"]
- %:[#>|"#{value} command"]
- %:[$>|"#{value} setting"]
+ %:[%>|"#{value} macro"]
+ %:[#>|"#{value} command"]
+ %:[$>|"#{value} setting"]
]
release[0.5.0|??? 2011|
- features[
+ features[
+ issue[152|It is now possible to generate a PDF document through HTML5, not only HTML, by setting the $>[output.pdf.through] to @html5@.]
issue[165|The %>[fragment] and the %>[embed] can be used to delimit and embed text fragments, in a way much similar to snippets.]
- issue[179|Macro can be composed with other macros via backslashes, provided that containers only take exactly one parameter. The new %>[xml] dispatcher must be used composed with other macros to create raw XML tags, prepending = to macro names no longer works.]
+ issue[177|Introduced the concept of "macro representations", to make macro code output-independent.]
+ issue[179|Macro can be composed with other macros via backslashes, provided that containers only take exactly one parameter. The new %>[xml] dispatcher must be used composed with other macros to create raw XML tags, prepending = to macro names no longer works.]
issue[180|Glyph can now generate ebooks in MOBI and EPUB format – with Calibre's help.]
issue[181|By using the new %>[let] macro, it is possible to define lexically scoped "variables" via the %>[attrubute:], and retrieve them within the scope of the let macro using the %>[attribute].]
issue[182|A %>[while] can be used to execute glyph code multiple times.]
- issue[183|The %>[s] dispatcher can be used to call almost any instance method of the Ruby String class. The "match" macro cannot be used anymore; use "s/match" instead.]
- issue[184|The old "rewrite" macro has been renamed to "define". The new %>[define] fully supports recursion.]
+ issue[183|The %>[s] dispatcher can be used to call almost any instance method of the Ruby String class. The @match@ macro cannot be used anymore; use @s/match@ instead.]
+ issue[184|The old @rewrite:@ macro has been renamed to @define:@. The new %>[define] fully supports recursion.]
issue[189|The %>[add], the %>[subtract] and the %>[multiply] macro can be used to perform operations on integers.]
issue[190|The lt, gt, lte, gte macros can be used to compare integer values.]
issue[194|The %>[load] macro can be used to embed the contents of a file without performing any evaluation.]
+ issue[195|@\\/@ must not be used as invisible space separator, instead of @\\.@.]
+ issue[197|Snippets are no longer managed via a separate snippet.yml file and _must_ be defined within Glyph source files, using the %>[snippet:].]
+ issue[200|Typing @glyph -v@ now prints the current version of Glyph on the screen.]
+ issue[201|Glyph no longer depends on Jeweler to create and manage its gem.]
]
bugs[
- issue[|]
+ issue[151|Fixed a bug related to Jeweler's gemspec validation. And for all it matters, Jeweler is no longer a development dependency for Glyph.]
+ issue[166|Temporary output files are now placed in a temporary folder.]
+ issue[196|Glyph now handles non-ASCII characters properly with Ruby 1.9 as well.]
]
+]
release[0.4.2|October 22th 2010|
- features[
- issue[172|A new %>[output?] can be used to test whether Glyph is compiling to a particular output format.]
- issue[175|The conditional macro now support a third parameter (else branch).]
- issue[176|A bunch of new aliases and shortcuts are available for the section macro.]
- ]
- bugs[
- issue[178|No error is raised anymore if less than the required parameters/attributes are supplied to a rewritten macro.]
- ]
+ features[
+ issue[172|A new %>[output?] can be used to test whether Glyph is compiling to a particular output format.]
+ issue[175|The conditional macro now support a third parameter (else branch).]
+ issue[176|A bunch of new aliases and shortcuts are available for the section macro.]
+ ]
+ bugs[
+ issue[178|No error is raised anymore if less than the required parameters/attributes are supplied to a rewritten macro.]
+ ]
]
release[0.4.1|September 23th 2010|
- bugs[
- issue[169|*.scss files are now supported by the %>[style].]
- issue[170|Improved default CodeRay stylesheet.]
- issue[171|SCSS now used internally by Glyph to generate default CSS files.]
- issue[173|Consecutive escape sequences are now interpreted correctly in topics.]
- issue[174|Fixed error causing broken images in web5/html5 output.]
- ]
+ bugs[
+ issue[169|*.scss files are now supported by the %>[style].]
+ issue[170|Improved default CodeRay stylesheet.]
+ issue[171|SCSS now used internally by Glyph to generate default CSS files.]
+ issue[173|Consecutive escape sequences are now interpreted correctly in topics.]
+ issue[174|Fixed error causing broken images in web5/html5 output.]
+ ]
]
release[0.4.0|September 3th 2010|
- features[
- issue[40|A new #>[stats] can be used to display statistics about project files, snippets, macros, bookmarks and links.]
- issue[73|It is now possible to validate online HTTP links.]
- issue[112|It is now possible to use _wkhtmltopdf_ instead of Prince to generate PDF files from HTML files.]
- issue[114|It is now possible to generate documents comprised of multiple files (topics).]
- issue[115|It is now possible to define layouts (used when generating multi-file outputs) using Glyph macros.]
- issue[120|It is now possible to compile your project to a single HTML5 file (@html5@ output) or multiple files (@web5@ output)]
- issue[135|Stylesheets can now be linked and imported as well as embedded.]
- issue[138|@web@ and @web5@ output formats inherit @html@ macros.]
- issue[142|A new %>[navigation] can be used in @web@ and @web5@ outputs to navigate through topics.]
- issue[143|A topic-based TOC is generated when compiling to @web@ or @web5@]
- issue[144|Two new validators are now available to check whether a macro has (or doesn't have) a certain ancestor: @within@ and @not_within@.]
- issue[147|The default stylesheets provided by Glyph are now compatible with HTML5 outputs (html5 and web5).]
- issue[148|It is now possible to create custom tasks and commands to extend Glyph functionality.]
- ]
- bugs[
- issue[133|Added HTML charset to Glyph documents (utf-8).]
- issue[136|Moved utility functions to separate @Glyph::Utils@ module.]
- issue[139|Heavily restructured Glyph configuration.]
- issue[140|Added @Glyph::Macro::Helpers@ module to avoid code duplication in macros for different output formats.]
- issue[141|Prevented non-rb files to be loaded as macros.]
- issue[145|Dotfiles are now ignored by #>[init].]
- issue[167|Fixed PDF book download links.]
- ]
+ features[
+ issue[40|A new #>[stats] can be used to display statistics about project files, snippets, macros, bookmarks and links.]
+ issue[73|It is now possible to validate online HTTP links.]
+ issue[112|It is now possible to use _wkhtmltopdf_ instead of Prince to generate PDF files from HTML files.]
+ issue[114|It is now possible to generate documents comprised of multiple files (topics).]
+ issue[115|It is now possible to define layouts (used when generating multi-file outputs) using Glyph macros.]
+ issue[120|It is now possible to compile your project to a single HTML5 file (@html5@ output) or multiple files (@web5@ output)]
+ issue[135|Stylesheets can now be linked and imported as well as embedded.]
+ issue[138|@web@ and @web5@ output formats inherit @html@ macros.]
+ issue[142|A new %>[navigation] can be used in @web@ and @web5@ outputs to navigate through topics.]
+ issue[143|A topic-based TOC is generated when compiling to @web@ or @web5@]
+ issue[144|Two new validators are now available to check whether a macro has (or doesn't have) a certain ancestor: @within@ and @not_within@.]
+ issue[147|The default stylesheets provided by Glyph are now compatible with HTML5 outputs (html5 and web5).]
+ issue[148|It is now possible to create custom tasks and commands to extend Glyph functionality.]
+ ]
+ bugs[
+ issue[133|Added HTML charset to Glyph documents (utf-8).]
+ issue[136|Moved utility functions to separate @Glyph::Utils@ module.]
+ issue[139|Heavily restructured Glyph configuration.]
+ issue[140|Added @Glyph::Macro::Helpers@ module to avoid code duplication in macros for different output formats.]
+ issue[141|Prevented non-rb files to be loaded as macros.]
+ issue[145|Dotfiles are now ignored by #>[init].]
+ issue[167|Fixed PDF book download links.]
+ ]
]
release[0.3.0|June 13th 2010|
- features[
- issue[39|A new #>[outline] is available to display the document outline.]
- issue[110|It is now possible to use Glyph language to produce arbitrary XML code.]
- issue[111|System settings are now stored within a @system.*@ namespace and cannot be changed via the %>[config:] or the #>[config].]
- issue[116|It is now possible to use named attributes within Glyph macros.]
- issue[119|#[new_parser]A new parser was implemented from scratch to improve performance. Treetop gem no longer required.]
- issue[121|Some macros have been removed in favor of XML fallback, others have been updated.]
- issue[123|The SyntaxNode class has been specialized to differentiate between macros, attributes, parameters, text and escapes.]
- issue[124|Implemented new %>[article] and %>[book].]
- issue[126|A new %>[rewrite:] has been implemented to create simple macros using just Glyph code.]
- issue[127|A new %>[alias] has been implemented to create macro aliases.]
- issue[128|A blacklist for XML tags has been exposed via the @language.options.xml_blacklist@ setting.]
- issue[129|The %>[include] can now be used in lite mode, it can evaluate ruby files and requires relative paths.]
- issue[130|A new "safe mode" has been implemented to explicitly forbid certain potentially unsafe macros.]
- ]
- bugs[
- issue[109|Performance has been dramatically improved by implementing a parser from scratch (see =>[#new_parser|#119])]
- issue[122|Macro encoding/decoding no longer necessary due to the new parser (see =>[#new_parser|#119])]
- issue[125|Warning messages have been streamlined.]
- ]
+ features[
+ issue[39|A new #>[outline] is available to display the document outline.]
+ issue[110|It is now possible to use Glyph language to produce arbitrary XML code.]
+ issue[111|System settings are now stored within a @system.*@ namespace and cannot be changed via the %>[config:] or the #>[config].]
+ issue[116|It is now possible to use named attributes within Glyph macros.]
+ issue[119|#[new_parser]A new parser was implemented from scratch to improve performance. Treetop gem no longer required.]
+ issue[121|Some macros have been removed in favor of XML fallback, others have been updated.]
+ issue[123|The SyntaxNode class has been specialized to differentiate between macros, attributes, parameters, text and escapes.]
+ issue[124|Implemented new %>[article] and %>[book].]
+ issue[126|A new %>[rewrite:] has been implemented to create simple macros using just Glyph code.]
+ issue[127|A new %>[alias] has been implemented to create macro aliases.]
+ issue[128|A blacklist for XML tags has been exposed via the @language.options.xml_blacklist@ setting.]
+ issue[129|The %>[include] can now be used in lite mode, it can evaluate ruby files and requires relative paths.]
+ issue[130|A new "safe mode" has been implemented to explicitly forbid certain potentially unsafe macros.]
+ ]
+ bugs[
+ issue[109|Performance has been dramatically improved by implementing a parser from scratch (see =>[#new_parser|#119])]
+ issue[122|Macro encoding/decoding no longer necessary due to the new parser (see =>[#new_parser|#119])]
+ issue[125|Warning messages have been streamlined.]
+ ]
]
release[0.2.0|May 9th 2010|
- features[
- issue[62|A new %>[highlight] is available to highlight source code (CodeRay or UltraViolet required).]
- issue[76|It is now possible to use Glyph programmatically via the new @Glyph#filter@ and @Glyph#compile@ methods.]
- issue[87|It is now possible to define snippets inside a Glyph source file using the %>[snippet:].]
- issue[88|It is now possible to change configuration settings inside a Glyph source file using the %>[config:] (Jabbslad).]
- issue[89|It is now possible to compile a single Glyph source file without creating a Glyph project.]
- issue[92|6 new macros have been defined to allow conditional processing (\/%>[condition], %>[eq], %>[not], %>[and], %>[or], %>[match])]
- issue[94|It is now possible to add _validators_ to macros, for example to check the number of parameters they take.]
- issue[97|The #>[compile] command can now take an extra @--auto@ switch to trigger document auto-regeneration whenever a source file is changed (koraktor).]
- issue[99|Added a @document.draft@ setting. If set to @true@, comments and TODOs are rendered in output files.]
- issue[100|#[system_css]Glyph CSS files are no longer copied to new projects, but they can be referenced as if they were (see also =>[#css_not_copied|#93]).]
- issue[108|It is now possible to define Glyph macros within Glyph source files using the %>[macro:].]
- ]
- bugs[
- issue[86|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.]
- issue[93|#[css_not_copied]Default css files were not copied when creating a new project. The issue has been resolved by allowing the %>[style] to reference Glyph's system styles (see also =>[#system_css|#100]).]
- issue[95|The #>[config] did not save data to YAML configuration files. This has been fixed ensuring that internal configuration overrides are not saved to the YAML file too.]
- issue[98|Glyph is now fully compatible with Ruby 1.9.1 and JRuby 1.4.0.]
- issue[101|Additional tests have been developed to improve Textile support. There should no longer be errors when using textile block elements inside Glyph macros.]
- issue[103|Fixed a bug that caused test failures when deleting the test project directory.]
- issue[104|Nested Glyph macros calling @Macro#interpret@ no longer ignore escape delimiters.]
- issue[107|Added the possibility to encode (using the @encode@ macro) and decode (using the @decode@ macro) macros so that they can be interpreted later.]
- ]
+ features[
+ issue[62|A new %>[highlight] is available to highlight source code (CodeRay or UltraViolet required).]
+ issue[76|It is now possible to use Glyph programmatically via the new @Glyph#filter@ and @Glyph#compile@ methods.]
+ issue[87|It is now possible to define snippets inside a Glyph source file using the %>[snippet:].]
+ issue[88|It is now possible to change configuration settings inside a Glyph source file using the %>[config:] (Jabbslad).]
+ issue[89|It is now possible to compile a single Glyph source file without creating a Glyph project.]
+ issue[92|6 new macros have been defined to allow conditional processing (\/%>[condition], %>[eq], %>[not], %>[and], %>[or], %>[match])]
+ issue[94|It is now possible to add _validators_ to macros, for example to check the number of parameters they take.]
+ issue[97|The #>[compile] command can now take an extra @--auto@ switch to trigger document auto-regeneration whenever a source file is changed (koraktor).]
+ issue[99|Added a @document.draft@ setting. If set to @true@, comments and TODOs are rendered in output files.]
+ issue[100|#[system_css]Glyph CSS files are no longer copied to new projects, but they can be referenced as if they were (see also =>[#css_not_copied|#93]).]
+ issue[108|It is now possible to define Glyph macros within Glyph source files using the %>[macro:].]
+ ]
+ bugs[
+ issue[86|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.]
+ issue[93|#[css_not_copied]Default css files were not copied when creating a new project. The issue has been resolved by allowing the %>[style] to reference Glyph's system styles (see also =>[#system_css|#100]).]
+ issue[95|The #>[config] did not save data to YAML configuration files. This has been fixed ensuring that internal configuration overrides are not saved to the YAML file too.]
+ issue[98|Glyph is now fully compatible with Ruby 1.9.1 and JRuby 1.4.0.]
+ issue[101|Additional tests have been developed to improve Textile support. There should no longer be errors when using textile block elements inside Glyph macros.]
+ issue[103|Fixed a bug that caused test failures when deleting the test project directory.]
+ issue[104|Nested Glyph macros calling @Macro#interpret@ no longer ignore escape delimiters.]
+ issue[107|Added the possibility to encode (using the @encode@ macro) and decode (using the @decode@ macro) macros so that they can be interpreted later.]
+ ]
]
release[0.1.0|April 8th 2010|
- Initial release.
+ Initial release.
]
4 book/text/macros/macros_core.glyph
View
@@ -114,7 +114,7 @@ For examples see any of the following:
@n[fragment]
@desc[Delimits a fragment of text that can be embedded using the %>[embed].]
@aliases[##]
- @example[=##\[test_fragment|This is an embeddable fragment\]=]
+ @example[=##\[test_fragment\|This is an embeddable fragment\]=]
@params[
-p[0|The ID of the fragment.]
-p[1|The contents of the fragment.]
@@ -265,7 +265,7 @@ Checks a string against a regular expression.
@block_example[=
def:[factorial\|
?[
- eq[{{0}}\|0]\|1|
+ eq[{{0}}\|0]\|1\|
multiply[
{{0}} \| factorial[subtract[{{0}}\|1]]
]
187 book/text/ref_commands.glyph
View
@@ -8,132 +8,137 @@ Where:
* _parameters_ are separated by whitespaces, and can be wrapped in quotes.
]
section[
- @title[Global Options]
- section[
- @title[code[-d], code[--debug]]
- @id[debug_switch]
- p[If specified, the command is executed in debug mode and additional diagnostic information is printed on the screen.]
- ]
+ @title[Global Options]
+ section[
+ @title[code[-d], code[--debug]]
+ @id[debug_switch]
+ p[If specified, the command is executed in debug mode and additional diagnostic information is printed on the screen.]
+ ]
+ section[
+ @title[code[-v], code[--version]]
+ @id[version_switch]
+ p[Prints the current version of Glyph, ignoring any other command or switches.]
+ ]
]
section[
- @title[add]
- @id[c_add]
- p[Creates a new text file in the code[text/] folder.]
- example[glyph add introduction.textile]
- parameters[
- -p[em[file_name]|The name (or relative path) of the new file to be created.]
- ]
+ @title[add]
+ @id[c_add]
+ p[Creates a new text file in the code[text/] folder.]
+ example[glyph add introduction.textile]
+ parameters[
+ -p[em[file_name]|The name (or relative path) of the new file to be created.]
+ ]
]
section[
- @title[compile]
- @id[c_compile]
- p[Compiles a Glyph document into an output file. If no options are specified, the code[document.glyph] file is used as source to produce a standalone HTML file.]
- example[glyph compile -f pdf]
- parameters[
- -p[em[source]|The source glyph file to compile em[(Optional)].]
- -p[em[destination]|The destination file em[(Optional)].]
- ]
- options[
- -o[source|
+ @title[compile]
+ @id[c_compile]
+ p[Compiles a Glyph document into an output file. If no options are specified, the code[document.glyph] file is used as source to produce a standalone HTML file.]
+ example[glyph compile -f pdf]
+ parameters[
+ -p[em[source]|The source glyph file to compile em[(Optional)].]
+ -p[em[destination]|The destination file em[(Optional)].]
+ ]
+ options[
+ -o[source|
The source file to compile.
- default[document.glyph]
- ]
- -o[format|
+ default[document.glyph]
+ ]
+ -o[format|
The format of the output file.
- default[html]
- values[html, pdf]
- ]
- -o[auto|
+ default[html]
+ values[html, pdf]
+ ]
+ -o[auto|
If specified, enable =>[#auto_regeneration|auto regeneration] (requires the =>[http://rubygems.org/gems/directory_watcher|directory_watcher] gem to be installed).
- ]
- ]
+ ]
+ ]
]
section[
- @title[config]
- @id[c_config]
+ @title[config]
+ @id[c_config]
Gets or sets a configuration setting in the project or global configuration file (\/fmi[configuration files|#cfg]).
- examples[
+ examples[
glyph config document.filename
glyph config -g document.author "Fabio Cevasco"
- ]
- options[
- -o[global|
+ ]
+ options[
+ -o[global|
If specified, the global configuration file is processed instead of the project file.
- default[false]
- ]
- ]
- parameters[
- -p[em[setting]|The name of a valid =>[#cfg_ref|configuration setting].]
- -p[em[value]|The new value of the configuration setting.]
- ]
+ default[false]
+ ]
+ ]
+ parameters[
+ -p[em[setting]|The name of a valid =>[#cfg_ref|configuration setting].]
+ -p[em[value]|The new value of the configuration setting.]
+ ]
]
section[
- @title[help]
- @id[c_help]
+ @title[help]
+ @id[c_help]
Prints information about all Glyph commands or about one specific command.
- examples[
+ examples[
glyph help
glyph help compile
- ]
- parameters[
- -p[em[command]|A valid Glyph command.]
- ]
+ ]
+ parameters[
+ -p[em[command]|A valid Glyph command.]
+ ]
]
section[
- @title[init]
- @id[c_init]
+ @title[init]
+ @id[c_init]
Creates a new Glyph project in the current directory (if empty).
- example[glyph init]
+ example[glyph init]
]
section[
- @title[outline]
- @id[c_outline]
+ @title[outline]
+ @id[c_outline]
Display an outline of the current document.
- options[
- -o[limit|
+ options[
+ -o[limit|
Only display headers until the specified level.
- ]
- -o[ids|
+ ]
+ -o[ids|
Display section IDs.
- ]
- -o[files|
+ ]
+ -o[files|
Display file names.
- ]
- -o[titles|
+ ]
+ -o[titles|
Display section titles.
- ]
- ]
- examples[
+ ]
+ ]
+ examples[
glyph outline -it -l 1
glyph outline -l 2
glyph outline -f
- ]
+ ]
]
section[
- @title[stats]
- @id[c_stats]
- def:[stats_option|-o[{{0}}|If specified, general statistics about {{0}} are displayed (see =>[#stats_{{0}}]).]]
- def:[stats_long_option|long_option[{{0}}|Display detailed statistics about the specified {{0}}.]]
- p[Displays project statistics (\/fmi[this command|#stats]).]
- examples[
-glyph stats -m
+ @title[stats]
+ @id[c_stats]
+ def:[stats_option|-o[{{0}}|If specified, general statistics about {{0}} are displayed (see =>[#stats_{{0}}]).]]
+ def:[stats_long_option|long_option[{{0}}|Display detailed statistics about the specified {{0}}.]]
+ p[Displays project statistics (\/fmi[this command|#stats]).]
+ examples[
+glyph stats -m
glyph stats --link=h3rald.com
- ]
- options[
- stats_option[bookmarks]
- stats_long_option[bookmark]
- -o[files|If specified, general statistics about project files are displayed.]
- stats_option[links]
- long_option[link|Display detailed statistics about all links whose target matches the specified regular expression.]
- stats_option[macros]
- stats_long_option[macro]
- stats_option[snippets]
- stats_long_option[snippet]
- ]
+ ]
+ options[
+ stats_option[bookmarks]
+ stats_long_option[bookmark]
+ -o[files|If specified, general statistics about project files are displayed.]
+ stats_option[links]
+ long_option[link|Display detailed statistics about all links whose target matches the specified regular expression.]
+ stats_option[macros]
+ stats_long_option[macro]
+ stats_option[snippets]
+ stats_long_option[snippet]
+ ]
]
section[
- @title[todo]
- @id[c_todo]
+ @title[todo]
+ @id[c_todo]
Prints all the todo items saved using the %>[todo].
- example[glyph todo]
+ example[glyph todo]
]
36 document.glyph
View
@@ -1,29 +1,29 @@
book[
@frontmatter[
- toc[]
- preface[
- @title[Preface]
- todo[Write the preface]
- include[preface]
- ]
- ]
+ toc[]
+ preface[
+ @title[Preface]
+ todo[Write the preface]
+ include[preface]
+ ]
+ ]
@bodymatter[
chapter[
- @title[Chapter 1]
- todo[Write chapter 1]
+ @title[Chapter 1]
+ todo[Write chapter 1]
include[chapter_1]
]
chapter[
- @title[Chapter 2]
- todo[Write chapter 2]
+ @title[Chapter 2]
+ todo[Write chapter 2]
include[chapter_2]
]
]
- @backmatter[
- appendix[
- @title[Appendix A]
- todo[Write appendix A]
- include[appendix_a]
- ]
- ]
+ @backmatter[
+ appendix[
+ @title[Appendix A]
+ todo[Write appendix A]
+ include[appendix_a]
+ ]
+ ]
]
Please sign in to comment.
Something went wrong with that request. Please try again.