Commit Graph

1426 Commits

Author SHA1 Message Date
Daniel James
9512f752cb Quickbook: Fix for gcc release mode.
Fixes what might be an optimization bug in gcc.

[SVN r73298]
2011-07-22 08:35:04 +00:00
Daniel James
a8205369c6 Quickbook: Use release version of quickbook.
[SVN r73297]
2011-07-22 08:34:07 +00:00
Daniel James
143bef8987 Quickbook: Add ids to tables for 1.4-.
[SVN r73263]
2011-07-20 20:28:15 +00:00
Daniel James
9b1eed66f4 Quickbook: Merge from trunk to quickbook-dev.
[SVN r73239]
2011-07-19 07:35:49 +00:00
Daniel James
9b65b96e29 Quickbook: Add id to legalnotice.
[SVN r73223]
2011-07-18 23:49:27 +00:00
Daniel James
a02a3f687b Quickbook: Add ids to footnotes.
[SVN r73222]
2011-07-18 23:48:53 +00:00
Daniel James
ecc535ed3f Quickbook: Move the callout id state into actions_class.
[SVN r73221]
2011-07-18 23:48:07 +00:00
Daniel James
34d6ee0da0 Quickbook: XML encode escaped punctuation.
[SVN r73110]
2011-07-14 19:22:57 +00:00
Daniel James
d41b4c398d Quickbook: Merge documentation fix.
Authorized by Beman.


[SVN r72860]
2011-07-02 20:25:10 +00:00
Daniel James
f81dc542d6 Quickbook: Avoid expanding __FILENAME__.
[SVN r72823]
2011-06-30 20:27:02 +00:00
Daniel James
4e631c6237 Quickbook: remove escape character support from simple markup.
Authorized by Beman Dawes.


[SVN r72775]
2011-06-27 14:02:28 +00:00
Daniel James
09165188f1 Quickbook: merge from trunk to dev.
[SVN r72762]
2011-06-26 11:07:04 +00:00
Daniel James
c72d4029c0 Quickbook: xml encode escaped punctuation.
[SVN r72760]
2011-06-26 10:44:00 +00:00
Daniel James
e1a01abe02 Quickbook: start new version.
[SVN r72759]
2011-06-26 10:41:58 +00:00
Daniel James
2f3d468aa6 Quickbook: Change the anchor markup for headers.
Use a phrase with an id inside the header.

Using an anchor before the heading was causing problems when the heading
wasn't inside a section.

We can't use an anchor inside the header when it links to itself, as it
messes up getting the title for the link. Using an empty phrase means
that it will just get the empty title for the phrase. Thanks to John
Maddock for the idea.

This does generate slightly odd markup. We could possibly use the old
style markup whenever section depth > 0, since we would know that we're
inside a section, but that seems like an unnecessary complication.

[SVN r72723]
2011-06-23 17:46:05 +00:00
Daniel James
bf1d753dba Merge tools directory from trunk.
[SVN r72698]
2011-06-20 19:19:56 +00:00
Daniel James
2811b30b7b Quickbook: remove escape character support from simple markup.
It breaks the regex documentation. Will probably implement this for quickbook
1.6.


[SVN r72695]
2011-06-20 18:52:03 +00:00
Daniel James
a7af466135 Quickbook: Don't match double marks in simple markup.
[SVN r72545]
2011-06-11 16:57:01 +00:00
Daniel James
a453b80628 Quickbook: remove odd whitespace from warning.
There was meant to be a newline there, but on second thoughts it looks
better as a single line.

[SVN r72522]
2011-06-09 19:48:16 +00:00
Daniel James
d1db6e23f1 Quickbook: don't need to store the quickbook source of simple markup anymore.
[SVN r72394]
2011-06-04 16:19:17 +00:00
Daniel James
6d126acb44 Quickbook: Don't use double marks for simple markup.
[SVN r72393]
2011-06-04 16:18:14 +00:00
Daniel James
3f3fe90bc6 Quickbook: Match macros in simple markup in the grammar.
[SVN r72392]
2011-06-04 16:17:51 +00:00
Daniel James
43486c773a Quickbook: End file with newline.
[SVN r72389]
2011-06-04 16:12:15 +00:00
Daniel James
15ad3c2e14 Quickbook: Trying to write a gentler intro to quickbook.
[SVN r72081]
2011-05-22 15:36:07 +00:00
Daniel James
72a250506f Quickbook: fix incorrect apostrophe.
[SVN r72080]
2011-05-22 15:35:41 +00:00
Daniel James
19e0188456 Quickbook: separate structure from syntax.
The structure information will get more complex with differences
between 1.5 and 1.6, and full attribute documentation. The syntax
section could be expanded to be a more useful introduction and to link
to the various parts of the reference documentation.

[SVN r72079]
2011-05-22 15:35:09 +00:00
Daniel James
967e283496 Quickbook: Remove some dead, bad code from the tst.
[SVN r72078]
2011-05-22 15:34:48 +00:00
Daniel James
387e473e01 Quickbook: merge to release.
Includes:

- Detemplate syntax highlighter.
- Allow escaped markup in comments in highlighter.
- Remove whitespace hat was inserted after anchors.
- Use fs::path in a couple more places.
- Handle blocks inside phrases better (can happen with templates).


[SVN r71862]
2011-05-10 18:39:38 +00:00
Daniel James
4e654322cb Quickbook: Change log entry for syntax highlighter changes.
[SVN r71601]
2011-04-29 11:02:55 +00:00
Daniel James
21436b0415 Quickbook: Nest escapes in syntax highlighted comments.
[SVN r71144]
2011-04-09 11:29:22 +00:00
Daniel James
6f29aa5213 Quickbook: Move the syntax grammar into the implementation file.
[SVN r71143]
2011-04-09 11:29:04 +00:00
Daniel James
de17d28eda Quickbook: Detemplate the syntax highlighters.
[SVN r71142]
2011-04-09 11:28:20 +00:00
Daniel James
b403a2434d Quickbook: update tests.
[SVN r71111]
2011-04-08 06:16:00 +00:00
Daniel James
4713c1e211 Quickbook: Escapes in syntax highlighted comments.
Not great since it closes the comments around the escaped code. But to
nest it properly will require a bigger change. Would also be nice to
deal with escape in other contexts - such as strings.

[SVN r71098]
2011-04-08 00:09:59 +00:00
Daniel James
3de8d6b4f3 Quickbook: Don't add whitespace after anchors.
Tends to push anchors to the following word.

[SVN r71088]
2011-04-07 19:51:26 +00:00
Daniel James
0fe014b9ed Quickbook: Detab
[SVN r71087]
2011-04-07 19:50:50 +00:00
Daniel James
40821d55d8 Quickbook: Don't use null node in symbol table.
Since it isn't using a union for the value/middle pointer, there's no
need to have special terminating nodes.

[SVN r71063]
2011-04-07 00:15:38 +00:00
Daniel James
d4344ed435 Quickbook: Remove most of process suppression stuff.
Imports were failing because doc info expected values. The process_state
stuff is too fragile, so instead just process the contents of a
conditional phrase and discard them afterwards. Still suppresses all
elements.

[SVN r71062]
2011-04-06 23:59:24 +00:00
Daniel James
ce96819bb5 Quickbook: Avoid empty simple markups.
[SVN r71061]
2011-04-06 23:59:02 +00:00
Daniel James
d72d923f2e Quickbook: Write out blocks smuggled into phrases.
Pretty clumsy, but it's a dodgy thing to do. Maybe the values could
include whether they're blocks or phrases and actions could react
accordingly.

[SVN r71060]
2011-04-06 23:58:44 +00:00
Daniel James
2553e0e878 Quickbook: If a phrase template turns out to be a block template, treat it as a complete block.
[SVN r71059]
2011-04-06 23:58:25 +00:00
Daniel James
99b81b1fbf Quickbook: Avoid empty simple markups.
[SVN r71057]
2011-04-06 23:42:51 +00:00
Daniel James
d31276a383 Quickbook: Write out blocks smuggled into phrases.
Pretty clumsy, but it's a dodgy thing for the user to do. Maybe the
values could include whether they're blocks or phrases and actions could
react accordingly.

[SVN r71056]
2011-04-06 23:42:31 +00:00
Daniel James
9cb1f04aeb Quickbook: If a phrase template turns out to be a block template, treat it as a complete block.
[SVN r71055]
2011-04-06 23:42:09 +00:00
Daniel James
d8df74fe08 Doc tools: Combined documentation.
[SVN r71017]
2011-04-05 21:14:26 +00:00
Daniel James
8bdaab2f37 Quickbook: Detab
[SVN r71014]
2011-04-05 20:06:11 +00:00
Daniel James
d90650a679 Quickbook: In 1.6, override document id with id from include element.
[SVN r71013]
2011-04-05 20:03:18 +00:00
Daniel James
eebdf1a915 Documentation: Merge documentation into quickbook branch.
[SVN r71012]
2011-04-05 19:49:50 +00:00
Daniel James
0079ba5981 Quickbook: turn off compile warnings.
[SVN r71009]
2011-04-05 19:37:12 +00:00
Daniel James
9b4288cf7e Quickbook: oops, missed this out of the merge somehow.
[SVN r70980]
2011-04-04 22:26:10 +00:00