Commit graph

11 commits

Author SHA1 Message Date
Pelle Nilsson 5154c85a26 LICENSE copyright year update 2023-01-20 00:32:54 +01:00
Pelle Nilsson 6db14af9a2 Explicitly set random seed for shuffles
Now the random generator used for shuffling sections (when that is enabled, as
it is by default) a random seed is set explicitly to make sure that shuffles are
predictable. Using the pangamebook filter twice on the same input-file to
generate two different output formats (e.g. PDF and EPUB of the same gamebook)
should now always create two output files with sections in the same order.

It is possible to set the random seed to any number using the gamebook-randomseed
metadata. That should normally not be needed.
2023-01-20 00:24:00 +01:00
Pelle Nilsson 04e46b6290 Improved graphs and code to generate them
Cleaned up the code in the DOT filter a bit.
Now marking all end-sections with a different
shape to make them easier to spot.
Better graph labels showing numbers and
the original headers.
2022-08-13 10:40:33 +02:00
Pelle Nilsson d11d58e6b9 1.3.0 2022-07-28 00:51:48 +02:00
Pelle Nilsson c978fb5dfe Meta-data to disable numbering
If document meta-data gamebook-numbers is
set to false the sections will not be
numbered but keep their original names.
2022-07-28 00:47:53 +02:00
Pelle Nilsson 1f8f22ab90 Stand-alone HTML output from examples 2022-05-24 00:17:33 +02:00
Pelle Nilsson f98f3362af Meta-data to control output 2022-03-24 23:01:47 +01:00
Pelle Nilsson 43e094011b Comments added to scripts 2021-10-05 17:58:56 +02:00
Pelle Nilsson 28251ba9a9 Print error and exit if section has a too low number 2021-10-04 21:54:16 +02:00
Pelle Nilsson 355733ff94 Include metadata with mapping to numbers 2021-04-24 15:26:20 +02:00
Pelle Nilsson 20716f8e52 Imported pangamebook.lua script from fossil repository 2021-04-15 00:12:16 +02:00