aboutsummaryrefslogtreecommitdiff
path: root/tools/makespec.py
AgeCommit message (Collapse)Author
2016-01-10New format for spec tests, new lua formatter for specs.John MacFarlane
The format for the spec examples has changed from . markdown . html . to ```````````````````````````````` example markdown . html ```````````````````````````````` One advantage of this is that `spec.txt` becomes a valid Markdown file. `tests/spec_test.py` has been changed to use the new format. The old `tools/makespec.py` has been replaced by a lua program, `tools/make_spec.lua`, which uses the `lcmark` rock (and indirectly libcmark). It can generate html, latex, and commonmark versions of the spec. Pandoc is no longer needed for the latex/PDF version. And, since the new program uses the cmark API and operates directly on the parse tree, we avoid certain bad results we got with the regex replacements done by the python script.
2015-12-28Fixed small regression in makespec.py.John MacFarlane
2015-12-28makespec.py: remove need for link anchors to be on one line.John MacFarlane
2015-12-23makespec.py: Only do two levels in the TOC.John MacFarlane
2015-10-19Use 'display:inline-block' rather than floats for side-by-side.John MacFarlane
This works when printed too.
2015-07-29makespec.py: Use check_output for simpler pipe_through_progJohn MacFarlane
2015-07-28Another encoding fix in makespec.py.John MacFarlane
2015-07-28Fixed dumb mistake in makespec.py.John MacFarlane
2015-07-28Fixed typo in makespec.py.John MacFarlane
2015-07-28Fixed various problems with spec.pdf generation.John MacFarlane
Closes #353.
2015-07-28makespec.py: avoid encoding errors.John MacFarlane
Partially addresses #353.
2015-07-22Avoid extra space before section number in spec.md.John MacFarlane
2015-02-14Use --smart option in producing spec.John MacFarlane
2015-01-24Updated makespec.py to use `cmark` in path.John MacFarlane
2015-01-15Fixed template path in tools/makespec.py.John MacFarlane
2015-01-15Re-added tools/{makespec.py, template.html, template.tex}.John MacFarlane
These were inadvertently dropped in the commit that described them as being moved to tools/.