Commit Graph

645 Commits

Author SHA1 Message Date
Daniel James
768b61d35b Quickbook: Fix a duplicate warning.
[SVN r75230]
2011-11-01 19:02:01 +00:00
Daniel James
bdca375f24 Quickbook: Set version for dev.
[SVN r75229]
2011-11-01 19:01:44 +00:00
Daniel James
19e7038643 Quickbook: Add tip clarifying BoostBook, DocBook, need to know.
Merged from change by Beman.

[SVN r75228]
2011-11-01 19:01:27 +00:00
Daniel James
6be83be59f Quickbook: Add Windows 7 as supported platform
Merged from change by Beman.

[SVN r75227]
2011-11-01 19:01:09 +00:00
Daniel James
edcb6f5363 Quickbook: Fix double addition of anchor ids.
[SVN r75226]
2011-11-01 19:00:53 +00:00
Daniel James
fc3102422a Quickbook: Change log for 1.48.
[SVN r75225]
2011-11-01 19:00:38 +00:00
Daniel James
291df92b92 Quickbook: Trim trailing whitespace in code blocks.
[SVN r75224]
2011-11-01 19:00:21 +00:00
Daniel James
3c39fbca2e Quickbook: Clean up whitespace prior to programlisting.
[SVN r75223]
2011-11-01 19:00:02 +00:00
Daniel James
7cfb29d18c Quickbook: Fix a test.
[SVN r75222]
2011-11-01 18:59:39 +00:00
Daniel James
ba93ea43bc 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 r75221]
2011-11-01 18:59:23 +00:00
Daniel James
77694a9ce4 Quickbook: Close any open sections at end of document.
[SVN r75220]
2011-11-01 18:59:08 +00:00
Daniel James
7ca05863ad Quickbook: Fully qualify footnote and callout ids.
[SVN r75219]
2011-11-01 18:58:47 +00:00
Daniel James
e88f608707 Quickbook: Heading tests for quickbook 1.1
And make the other consistent.

[SVN r75218]
2011-11-01 18:58:28 +00:00
Daniel James
12d9373638 Quickbook: Avoid a Visual C++ warning.
[SVN r75217]
2011-11-01 18:58:01 +00:00
Daniel James
19fd36b089 Quickbook: Use boost::unordered::piecewise_construct.
[SVN r75216]
2011-11-01 18:57:43 +00:00
Daniel James
fb279b6fb2 Quickbook: Remove accidental commit.
[SVN r75215]
2011-11-01 18:57:04 +00:00
Daniel James
020c2783c2 Quickbook: Use deprecated unordered functionality.
This is needed to work with the current trunk version of unordered.


[SVN r75210]
2011-11-01 13:00:36 +00:00
Daniel James
4a6dd9e97a Quickbook: Port Rene's sort code inclusion to quickbook-dev.
[SVN r75175]
2011-10-30 09:29:56 +00:00
Daniel James
4012b1f753 Quickbook: Merge to quickbook-dev.
[SVN r73983]
2011-08-21 13:27:52 +00:00
Daniel James
a2b3c3aa04 Quickbook: Merge from trunk to quickbook-dev.
[SVN r73365]
2011-07-25 21:41:36 +00:00
Daniel James
9b1eed66f4 Quickbook: Merge from trunk to quickbook-dev.
[SVN r73239]
2011-07-19 07:35:49 +00:00
Daniel James
09165188f1 Quickbook: merge from trunk to dev.
[SVN r72762]
2011-06-26 11:07:04 +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
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
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
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
9b4288cf7e Quickbook: oops, missed this out of the merge somehow.
[SVN r70980]
2011-04-04 22:26:10 +00:00
Daniel James
3016348658 Quickbook: fix repeated 'warning' in version not defined message.
[SVN r70979]
2011-04-04 22:11:29 +00:00
Daniel James
066d27a264 Quickbook: Better error messages when loading a file.
[SVN r70978]
2011-04-04 22:11:09 +00:00
Daniel James
de2fc3754c Quickbook: Overwrite duplicate macros in 1.6
[SVN r70977]
2011-04-04 22:10:45 +00:00
Daniel James
d1cfea9f86 Quickbook: merge from trunk.
[SVN r70976]
2011-04-04 22:10:20 +00:00
Daniel James
a615a0a6e3 Quickbook: Nested documents in 1.6.
If an included file has a docinfo block, use that docinfo. I'm not
entirely sure if the nested file be treated as if it's completely
standalone - i.e. should macros and templates defined in the parent be
used?

Also, there's some odd behaviour in quickbook if the docinfo block in an
included file has a parse error. It just goes back to the start and
parses as a file without a docinfo block. I think it would be better if
this was a hard error, but what should happen in someone has defined a
template with the same name as a docinfo block? That's actually valid in
existing quickbook, so the dodgy docinfo block might just be a template
call.

[SVN r70963]
2011-04-03 21:15:14 +00:00
Daniel James
85e8c03d70 Quickbook: Include code file in 1.6.
[SVN r70960]
2011-04-03 19:19:07 +00:00
Daniel James
9489385464 Quickbook: Import templates+macros from quickbook file in 1.6
[SVN r70959]
2011-04-03 19:18:38 +00:00
Daniel James
02406bf553 Quickbook: Scope templates in include in 1.6
[SVN r70958]
2011-04-03 19:18:12 +00:00
Daniel James
146fc75362 Quickbook: Port the combined include/import from old branch.
[SVN r70957]
2011-04-03 19:17:46 +00:00
Daniel James
6e38216bc3 Quickbook: Clearer tracking of state in templates and files.
Not quite exception safe, since macros can't be swapped.

[SVN r70872]
2011-04-02 17:45:28 +00:00
Daniel James
87d71d0633 Quickbook: Alternative tst that's cheaper to copy.
[SVN r70871]
2011-04-02 17:45:09 +00:00
Daniel James
3004e3985e Quickbook: No need to store quickbook version, as it's ignored in included files.
[SVN r70870]
2011-04-02 17:44:42 +00:00