Pelle Nilsson
f723ee0a9c
Text format brackets.
...
Switched to text mark-up even more similar to org-mode, also more
similar to typical wiki mark-up, removing python-style format from
sections (but not from the templates).
2013-06-05 00:19:57 +02:00
Pelle Nilsson
a58a237bc1
Better API for tags in sections.
2013-06-04 22:44:50 +02:00
Pelle Nilsson
84243fafa8
Examples structure. New examples. Verification stub. Tags parsing.
2013-06-04 22:36:09 +02:00
Pelle Nilsson
7c255b2bab
Usage documentation.
2013-06-04 00:27:32 +02:00
Pelle Nilsson
8a4a3401b4
Flag -t to add custom template dirs to override default templates.
2013-06-04 00:22:54 +02:00
Pelle Nilsson
8e1ac6353d
Export and import JSON mapping of section numbers.
...
Except if flag -M is given.
2013-06-03 23:46:11 +02:00
Pelle Nilsson
c17d00872b
Cleaned up output and templates handling a bit.
2013-06-03 22:19:06 +02:00
Pelle Nilsson
5d42472385
Use term section instead of paragraph.
...
Because it will become confusing later when there is support
for sections split up in several paragraphs otherwise.
2013-06-03 21:57:55 +02:00
Pelle Nilsson
707d5692cb
Switched from JSON to simpler format.
...
Code is a bit of a mess at the moment. Might have to generate some JSON
later anyway to make it easier to make playable game in browser.
2013-05-30 00:18:05 +02:00
Pelle Nilsson
bdc101a6db
Added simple HTML output support.
2013-05-29 00:01:17 +02:00
Pelle Nilsson
f0ad6ea094
Halfway through refactoring output formats.
...
The idea now is that only simple plain-text template files are used
for all formats, rather than having a Python class for each one.
At least for the currently supported formats this seems to work very well.
Need to clean up and remove all the reduntant class definitions sometime.
2013-05-28 23:31:09 +02:00
Pelle Nilsson
4986b40cf0
Initial basic version of gamebook formatter.
...
Reused old paragraphs.py and test_paragraphs.py.
Implemented very basic output for Graphviz DOT and LaTeX files.
Basic plain-text debug output.
2013-05-27 23:33:36 +02:00