Commit Graph

1191 Commits

Author SHA1 Message Date
Daniel James
29c97dc3f3 Add an option to turn off all quickbook actions, and use it to implement conditional phrase.
[SVN r67635]
2011-01-03 22:12:58 +00:00
Daniel James
51d09f5631 Use a single grammar.
Speeds up quickbook a fair bit, hopefully will make up for the anchors
change which was quite costly.

[SVN r67634]
2011-01-03 22:11:44 +00:00
Daniel James
915ae8a31a Move 'no_eols' into actions_class.
Should remove the need to create a new grammar when expanding templates
etc.

[SVN r67633]
2011-01-03 22:10:21 +00:00
Daniel James
fff43d6853 Make the scoped parser more generic and use it for conditional phrases.
[SVN r67632]
2011-01-03 22:09:10 +00:00
Daniel James
26dbdc09ec Fix tabs and files without copyright.
[SVN r67612]
2011-01-03 12:43:34 +00:00
Daniel James
96e128aef5 Quickbook changelog entries.
[SVN r67336]
2010-12-19 13:35:26 +00:00
Daniel James
c4a93603e5 More use of shared rules.
[SVN r67335]
2010-12-19 13:34:50 +00:00
Daniel James
c5d7296a4c Get rid of 'skip_initial_spaces'.
[SVN r67334]
2010-12-19 13:34:09 +00:00
Daniel James
345d3f813c Combine the block and phrase grammars.
[SVN r67333]
2010-12-19 13:33:28 +00:00
Daniel James
cd00be9558 Split out the block and phrase markup.
[SVN r67332]
2010-12-19 13:32:42 +00:00
Daniel James
4717183c52 Combine the block and paragraph parsers.
Now instead of having a block parser which calls the paragraph parser,
there's a top level parser which calls the block parser for lists, code
blocks etc. at the points at they can occur.

[SVN r67331]
2010-12-19 13:31:52 +00:00
Daniel James
3e02253180 Move block and paragraph rules together.
[SVN r67330]
2010-12-19 13:31:17 +00:00
Daniel James
87e219c1a6 Don't treat lines containing comments as blank.
[SVN r67329]
2010-12-19 13:30:43 +00:00
Daniel James
f13389af62 Use the same symbol tables for parsing block tags and checking for the end of paragraphs.
[SVN r67328]
2010-12-19 13:30:06 +00:00
Daniel James
7e453b0150 Create a single grammar class.
Like on the spirit 2 branch, although this is a bit of an odd thing to
do with classic spirit. Still also requiring the expected scanner.

[SVN r67327]
2010-12-19 13:29:25 +00:00
Daniel James
277cd3c605 Move the phrase grammer back to a cpp file.
Using the scanner to explicitly instantiate it. A bit dodgy.

[SVN r67326]
2010-12-19 13:28:27 +00:00
Daniel James
7458a32e68 Use the Nabialek trick in quickbook.
[SVN r67325]
2010-12-19 13:27:48 +00:00
Daniel James
c51e3add8f Smarter anchor support.
[SVN r67324]
2010-12-19 13:26:55 +00:00
Daniel James
b12aaa47cb Missing paragraph end markup for heading.
[SVN r67323]
2010-12-19 13:25:36 +00:00
Daniel James
a9f093e78e Release note for 'lang' support.
[SVN r67171]
2010-12-11 14:43:41 +00:00
Daniel James
e44df058dc Add a description of using a quickbook template to generate a link.
[SVN r67092]
2010-12-07 21:23:21 +00:00
Daniel James
d1f14e2aed Implement lang attribute in quickbook/boostbook.
[SVN r67090]
2010-12-07 20:44:23 +00:00
Daniel James
d55ea7699b Use a different feature name for quickbook-define in the tests.
Something was going wrong, this is the easiest fix.

[SVN r67089]
2010-12-07 20:42:59 +00:00
Daniel James
34d049361b Support more quickbook options in boost build.
[SVN r66431]
2010-11-07 14:45:43 +00:00
Daniel James
ed9733296b Some extra quickbook table tests.
[SVN r66430]
2010-11-07 14:45:01 +00:00
Daniel James
f49bfd06fb Chunk the standalone quickbook docs in the same way as the main docs.
[SVN r66429]
2010-11-07 14:44:29 +00:00
Daniel James
a8937a8f61 Merge some more documentation fixes.
[SVN r66295]
2010-10-31 13:43:19 +00:00
Daniel James
6c3f05ca9d Restore \n support to quickbook.
[SVN r66292]
2010-10-30 23:16:21 +00:00
Daniel James
dd314a26c7 Merge quickbook from trunk.
[SVN r65591]
2010-09-26 00:01:35 +00:00
Daniel James
20a79983e2 Start to document the differences between quickbook language versions.
[SVN r65452]
2010-09-18 17:58:24 +00:00
Daniel James
34a273adca Split the quickbook documentation into several files.
[SVN r65451]
2010-09-18 17:57:54 +00:00
Daniel James
dc42158789 Flatten the quickbook documentation hierarchy a little.
[SVN r65450]
2010-09-18 17:57:09 +00:00
Daniel James
d5a442d6a1 Comment all the 'endsect's in the quickbook documentation.
[SVN r65449]
2010-09-18 17:56:43 +00:00
Daniel James
53fec6d3f1 Nested blocks in document info comments.
[SVN r65448]
2010-09-18 17:56:15 +00:00
Daniel James
f77ef6ee97 Fix the anchor parser.
Broken in [65423]

[SVN r65447]
2010-09-18 17:55:23 +00:00
Daniel James
b783f785df Merge quickbook from trunk.
[SVN r65433]
2010-09-15 22:54:21 +00:00
Daniel James
65f531151a Simplify the link grammars.
[SVN r65423]
2010-09-14 20:53:14 +00:00
Daniel James
17adae094e More link tests.
[SVN r65422]
2010-09-14 20:50:51 +00:00
Daniel James
d165ef3a67 An extra test for lists.
[SVN r65421]
2010-09-14 20:47:16 +00:00
Daniel James
8e4af74075 Only create output file after a successful parse.
[SVN r65420]
2010-09-14 20:46:31 +00:00
Daniel James
0544468ad9 Don't match words that start with tip, note etc.
[SVN r65419]
2010-09-14 20:45:47 +00:00
Daniel James
ad9145c6fd Create a parser to extract block as an attribute.
This lets us get rid of temp_para, a source of nasty bugs. Also should
make it easier to nest blocks in the future.

[SVN r65418]
2010-09-14 20:44:22 +00:00
Daniel James
bd0b01578b Add biblioid support to quickbook.
[SVN r65370]
2010-09-09 22:45:39 +00:00
Daniel James
a74d3d4979 Fix a bug in nested template support.
[SVN r65360]
2010-09-09 00:11:35 +00:00
Daniel James
0aa633b450 Use confix parsers in a few places.
[SVN r65359]
2010-09-09 00:11:02 +00:00
Daniel James
57fb3c3c02 Cherry pick some reorganisation from the spirit 2 branch.
Based on [57774], [59562], [58046], [59566].

[SVN r65358]
2010-09-09 00:10:30 +00:00
Daniel James
ac0ea799eb Use explicit namespaces.
[SVN r65357]
2010-09-09 00:09:34 +00:00
Daniel James
d67b0e3931 Fix argument position in break_arguments.
And some small code_snippet improvements.

[SVN r65280]
2010-09-05 08:14:16 +00:00
Daniel James
810642f159 Restore 1.43 style document fields.
Only xml encoding the fields, and supporting escapes with a 1.6 version
switch.

[SVN r65113]
2010-08-29 21:11:02 +00:00
Daniel James
4fb6a45290 Use C strings in position_iterator.
Copying std::string in position_iterator was taking up a lot of
execution time.

[SVN r65104]
2010-08-29 11:20:57 +00:00