Pelle Nilsson
6fa4245e02
Initial value for counters (something it is not reset to when revisiting).
...
Also fixed DOT output that was quite broken.
2013-08-04 00:16:02 +02:00
Pelle Nilsson
4d1e513752
Correct expected output after RTF image bugfix in previous commit.
2013-07-28 18:59:40 +02:00
Pelle Nilsson
f5e555e3cf
Workaround for image filename being displayed in RTF output bug.
2013-07-28 18:57:57 +02:00
Pelle Nilsson
e5723bdf70
Named references.
...
Instead of just [[section]] you can have [[section][name]] and
depending on format the name will be displayed instead of or
in addition to the section number referred to.
2013-07-28 18:45:02 +02:00
Pelle Nilsson
cc58cc0580
Expect a letter.map file to be generated.
2013-07-28 17:56:42 +02:00
Pelle Nilsson
d92b5847d4
Added option (-o static) to make static HTML output.
2013-06-29 22:21:06 +02:00
Pelle Nilsson
2ce0cd6f6d
Added -o to add format overrides from the options subdirectory.
2013-06-29 22:07:27 +02:00
Pelle Nilsson
0936c768c3
DOT templates no longer relying on hack to get refs.
...
Also fixed bug in template for img that resulted in filename being
visible in some output formats.
2013-06-26 18:47:14 +02:00
Pelle Nilsson
6897e5e11a
Template for plain non-tagged text.
2013-06-26 11:37:48 +02:00
Pelle Nilsson
a949a60094
Expected output for counters examples updated.
2013-06-24 01:23:39 +02:00
Pelle Nilsson
f1d2f933ba
Cost tag that sets a price on something found.
2013-06-24 01:14:30 +02:00
Pelle Nilsson
17257b7970
Removed counter names from html and default templates.
...
It didn't work for writing some things, even though often correct.
2013-06-24 00:00:00 +02:00
Pelle Nilsson
431357a85c
Fixed problem with section used for missing.
...
It was handled at parse time, but must be done at
output time to be sure the section to use has been parsed.
2013-06-20 22:59:25 +02:00
Pelle Nilsson
4cfcc4888f
Counters.
2013-06-18 22:21:40 +02:00
Pelle Nilsson
4928bd0f14
Correct A5 size output in LaTeX template.
2013-06-18 20:38:55 +02:00
Pelle Nilsson
e404e877ac
Testing and fixing include only tag feature.
2013-06-18 20:38:32 +02:00
Pelle Nilsson
fcf41b9869
Option to only include sections with specific tag.
2013-06-16 23:43:45 +02:00
Pelle Nilsson
3a75168d02
Split out html gamebook scripts (most of them) and style.
2013-06-16 22:12:53 +02:00
Pelle Nilsson
1fac366e19
Gamebook id to allow saved games from different games in browser.
...
Default id is basename of file without extension.
Override id by setting book config, as seen in format.gamebook.
2013-06-16 21:54:18 +02:00
Pelle Nilsson
cf8f805255
Fixed bug with rendering of introduction sections.
2013-06-16 21:42:02 +02:00
Pelle Nilsson
45cbf9ab7f
Disable shuffling replaces setting random seed.
2013-06-16 21:25:50 +02:00
Pelle Nilsson
1d9ed7d7b7
Save and restore HTML game.
2013-06-16 21:18:28 +02:00
Pelle Nilsson
ad7fcf1e26
Player tests and refactorings.
2013-06-16 19:43:04 +02:00
Pelle Nilsson
c2faf5fad7
Improved OutputFormat by removing direct printing to output file.
...
Whitespace changed in small ways again in expected output.
Now with expected results files updated too.
2013-06-14 23:25:52 +02:00
Pelle Nilsson
c7938a3080
Small refactoring and testing of OutputFormat.
...
Minor fix in whitespace generated from templates. Not
100% sure this is an improvement, but the effect very small either way
2013-06-14 23:05:42 +02:00
Pelle Nilsson
b3ed663dc3
Updated expected HTML.
2013-06-14 22:24:56 +02:00
Pelle Nilsson
155c0ab2f3
Fixed some problems with make clean and expectedcheck.
2013-06-14 00:24:33 +02:00
Pelle Nilsson
2032d0d082
Expected actually now what is expected.
2013-06-13 23:35:11 +02:00
Pelle Nilsson
ca4b8389a8
Checking generated examples against saved expected outputs.
2013-06-13 23:21:34 +02:00