Commit Graph

1191 Commits

Author SHA1 Message Date
Daniel James
fce266f673 Quickbook: Use section_info for ids in doc_info_actions.
[SVN r75249]
2011-11-02 07:44:44 +00:00
Daniel James
cd03beb84e Quickbook: Move doc_id into section_info.
And doc_id state saving into quickbook.cpp.

[SVN r75248]
2011-11-02 07:44:26 +00:00
Daniel James
f892c21d66 Quickbook: Move more section id stuff into section_info.
[SVN r75247]
2011-11-02 07:44:03 +00:00
Daniel James
a44ec6d363 Quickbook: Move section_info into id_generator.
And shuffle things round a bit to avoid adding too many dependents to
id_generator. For 1.6 I want section_info to use id_generator to nest
ids properly when there are duplicate section ids.

[SVN r75246]
2011-11-02 07:43:41 +00:00
Daniel James
3ab3116ee4 Quickbook: Reset section info for nested documents.
So when including a document inside a section, the section's id is not
used. Also cleans up the messy handling of section.min_leveln.

[SVN r75245]
2011-11-02 07:43:03 +00:00
Daniel James
59e67eae30 Quickbook: Put all the section tracking stuff in a struct.
[SVN r75244]
2011-11-02 07:42:37 +00:00
Daniel James
306d53b586 Quickbook: Small start to factoring out id hierarchy.
[SVN r75243]
2011-11-02 07:41:54 +00:00
Daniel James
39e3a6e670 Quickbook: Fix including from inside a section.
It's a bit of a crazy edge case which creates invalid docbook in 1.6.

[SVN r75236]
2011-11-01 19:21:36 +00:00
Daniel James
152fe4fa5d Quickbook: Rename and rearrange some tests.
- More consistent names.
- Not using `.` in basename.
- Run the quickbook manual test last (as when there's an error, the more
  specific tests are more informative).
- Combine some of the code tests.

[SVN r75235]
2011-11-01 19:20:46 +00:00
Daniel James
347e0b817d Quickbook: No longer need to clear doc_id in actions, as it's set correctly in doc_info_actions.cpp
[SVN r75234]
2011-11-01 19:17:38 +00:00
Daniel James
2e7921057b Quickbook: New id include test.
[SVN r75233]
2011-11-01 19:17:22 +00:00
Daniel James
5081a50617 Quickbook: Remove deprecated macro now that trunk is merged.
[SVN r75231]
2011-11-01 19:13:04 +00:00
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
9e42b28aa3 Quickbook: Fix a couple of duplicate warnings.
[SVN r75088]
2011-10-22 11:47:47 +00:00
Daniel James
ddca4f710b Quickbook: Merge from trunk.
- Qualify footnote and callout ids.
- Close open sections at end of document.
- New markup for anchors in headers.
- Clean up some whitespace in generated xml.
- Fix double addition of anchor ids.
- A couple of doc changes from Beman.


[SVN r74769]
2011-10-06 22:10:28 +00:00
Daniel James
7f8c6bc236 Quickbook: Set the version number for release (hopefully).
[SVN r74768]
2011-10-06 22:00:55 +00:00
Beman Dawes
4069b1d024 Add tip clarifying BoostBook, DocBook, need to know.
[SVN r74752]
2011-10-06 12:10:27 +00:00
Beman Dawes
22eb772d42 Add Windows 7 as supported platform
[SVN r74737]
2011-10-05 13:35:10 +00:00
Daniel James
95bf5e90fd Quickbook: Fix double addition of anchor ids.
[SVN r74365]
2011-09-12 21:05:31 +00:00
Daniel James
4d19afef68 Quickbook: Change log for 1.48.
[SVN r74350]
2011-09-11 17:00:54 +00:00
Daniel James
e2a1114fb3 Quickbook: Trim trailing whitespace in code blocks.
[SVN r74349]
2011-09-11 17:00:18 +00:00
Daniel James
79ed68b360 Quickbook: Clean up whitespace prior to programlisting.
[SVN r74348]
2011-09-11 16:59:36 +00:00
Daniel James
ec22c9d052 Quickbook: Fix a test.
[SVN r74347]
2011-09-11 16:58:45 +00:00
Daniel James
bf0a45d4cb 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 r74346]
2011-09-11 16:58:14 +00:00
Daniel James
62a69acf85 Quickbook: Close any open sections at end of document.
[SVN r74345]
2011-09-11 16:57:23 +00:00
Daniel James
d59a0ccc3b Quickbook: Fully qualify footnote and callout ids.
[SVN r74344]
2011-09-11 16:56:49 +00:00
Daniel James
23c21bd27c Quickbook: Merge from trunk.
[SVN r74307]
2011-09-08 07:30:20 +00:00
Daniel James
8e2707b9d4 Quickbook: Heading tests for quickbook 1.1
[SVN r74209]
2011-09-03 15:52:13 +00:00
Daniel James
ec6eb85ee2 Quickbook: Avoid a Visual C++ warning.
[SVN r74172]
2011-08-30 22:02:14 +00:00
Daniel James
62268552b7 Quickbook: Use boost::unordered::piecewise_construct.
[SVN r74144]
2011-08-29 17:14:48 +00:00
Daniel James
418b4ff3f5 Quickbook: Remove accidental commit.
[SVN r74107]
2011-08-28 15:37:32 +00:00
Daniel James
ef22256e91 Quickbook: Merge from trunk.
Improved id generation, and some fixes for 'pass thru' comments.


[SVN r73984]
2011-08-21 17:53:23 +00:00
Daniel James
4012b1f753 Quickbook: Merge to quickbook-dev.
[SVN r73983]
2011-08-21 13:27:52 +00:00