133 Commits

Author SHA1 Message Date
John Maddock
842aa8279a Add AutoIndex tool from sandbox.
Integrate into Boost.Build.
Add HTML stylesheet options for Indexes.
Add rule to XSL stylesheets to place Indexes in their own HTML CSS class.

[SVN r72962]
2011-07-08 11:28:42 +00:00
John Maddock
2ac83cabba Fix regular expression generator to escape special characters.
[SVN r72777]
2011-06-27 17:19:21 +00:00
John Maddock
4eb79129cf Fix command line options docs.
Change link handling to only link to blocks which can have a title - this avoids a docbook bug.

[SVN r72744]
2011-06-24 17:37:00 +00:00
John Maddock
f3e43d9c82 Update docs with more consistent naming "Boost.AutoIndex".
[SVN r72693]
2011-06-20 15:45:48 +00:00
John Maddock
99d3515fc3 Update docs with more consistent naming "Boost.AutoIndex".
[SVN r72692]
2011-06-20 15:36:09 +00:00
John Maddock
41d12f23ad Add Quickbook support.
[SVN r72685]
2011-06-19 16:44:32 +00:00
John Maddock
26b491b303 Add docs for the XML processing instructions.
[SVN r72670]
2011-06-18 17:58:30 +00:00
John Maddock
211c7f4574 Added support for XML processing instructions to exclude sections/blocks from being indexed.
[SVN r72666]
2011-06-18 12:28:00 +00:00
John Maddock
b90862be71 Adjust handing of manually added indexterm's so that identical indexterm's in separate sections generate separate entries. Also allow for tertiary entries. Update tests to match.
[SVN r72637]
2011-06-17 12:35:40 +00:00
John Maddock
4b65298db4 Completely rewrite the internal index generation code - now uses nested unordered lists.
Entries with identical primary and secondary keys are now collapsed into one entry.
Preferred terms are now automatically detected.

[SVN r72614]
2011-06-16 17:48:12 +00:00
John Maddock
d39bffe9e0 Change index generator not to place <para> inside a <simplelist><member> as it's not valid Docbook XML.
[SVN r72532]
2011-06-10 11:54:18 +00:00
John Maddock
81745787bd Minor refactoring of error handling code.
[SVN r72482]
2011-06-08 11:04:21 +00:00
John Maddock
1e5c6c1b4e Change to use program.options.
Fix typos in docs raised by Edward Diener.

[SVN r72470]
2011-06-07 17:19:58 +00:00
John Maddock
669a36b78b Simplify (and delete!) code.
[SVN r72088]
2011-05-22 18:07:56 +00:00
John Maddock
bebb90db6b Change XML handing to pass processing instructions through unchanged, also to make the content available to the client.
Change index generation not to create a secondary list if there's nothing in it.
Change XML formatting to generate <tag/> rather than <tag></tag>.

[SVN r72085]
2011-05-22 17:13:33 +00:00
John Maddock
79c93534cc Tweak scanners used for functions. Update docs to match.
[SVN r71990]
2011-05-16 17:35:58 +00:00
John Maddock
8c4fce697e Test of ID constraint should use regex_match and not regex_search.
Update tests accordingly and change Jamfile.v2 to match current Trunk.

[SVN r71977]
2011-05-16 11:20:27 +00:00
John Maddock
b1325e59ac Rebuild docs with indexes enabled.
[SVN r69442]
2011-03-01 12:16:07 +00:00
John Maddock
c97ec0e9be Fix stray \ and regenerate docs.
[SVN r69440]
2011-03-01 09:50:02 +00:00
Paul A. Bristow
3d983a2ddb all html files after rebuilding with indexes. Should this be in SVN?
[SVN r69384]
2011-02-28 14:11:31 +00:00
Paul A. Bristow
c634070df4 Added index file and built indexes.
[SVN r69383]
2011-02-28 14:10:03 +00:00
Paul A. Bristow
2cbdd800c7 Added auto index.idx
[SVN r69381]
2011-02-28 12:24:44 +00:00
John Maddock
9e6986bdcd Fix Index location.
Fix optional index inclusion in source.
Fix tool to generate an error if no script file exists.
Regenerate docs.

[SVN r68994]
2011-02-18 17:48:14 +00:00
John Maddock
0885e0c644 Fix superfluous section.
[SVN r68761]
2011-02-10 18:06:11 +00:00
John Maddock
3b838ab5cc Tweak formatting and commit missing HTML files.
[SVN r68760]
2011-02-10 18:00:07 +00:00
Paul A. Bristow
3cc1511631 Version with index
[SVN r68719]
2011-02-08 15:30:08 +00:00
Paul A. Bristow
827b4b71ba Version with index
[SVN r68718]
2011-02-08 15:27:51 +00:00
Paul A. Bristow
fdcd706f9c Version with index
[SVN r68717]
2011-02-08 15:26:47 +00:00
Paul A. Bristow
207907a07b Correcte name from auto0index to auto_index.pdf
[SVN r68715]
2011-02-08 15:21:37 +00:00
Paul A. Bristow
4a5ae7d623 Added install of auto-index.pdf
[SVN r68714]
2011-02-08 15:19:22 +00:00
Paul A. Bristow
5a4ade737c Creates sections for the 7 steps
[SVN r68713]
2011-02-08 15:07:15 +00:00
John Maddock
7afd585911 Don't make the script file a dependency - it doesn't always work!
[SVN r68639]
2011-02-04 18:52:31 +00:00
John Maddock
7a2290427a Fix some typos, move a few things around.
Regenerate docs.

[SVN r68638]
2011-02-04 18:51:10 +00:00
Paul A. Bristow
239a7a5e49 Examples and cosmetic improvements
[SVN r68624]
2011-02-03 15:58:41 +00:00
Paul A. Bristow
aa9ac69963 Some corrections to handling of text part
[SVN r68604]
2011-02-01 17:56:53 +00:00
Paul A. Bristow
94ef1c7ab6 Some tips added and some editorial corrections.
Merged with John Maddock's additions 27 Jan, hopefully without causing trouble.  See also pdf version.

[SVN r68534]
2011-01-28 15:07:52 +00:00
Paul A. Bristow
91eb6e8482 Some tips added and some editorial corrections.
Merged with John Maddock's additions 27 Jan, hopefully without causing trouble.

[SVN r68533]
2011-01-28 15:06:51 +00:00
Paul A. Bristow
cf8f9b66c0 Some tips added and some editorial corrections.
[SVN r68532]
2011-01-28 15:05:43 +00:00
Paul A. Bristow
91f8cfeb51 added pdf (has some issues with layout of long lines of regex!)
[SVN r68481]
2011-01-27 18:17:00 +00:00
John Maddock
49388c8e5b Escape terms to valid xml.
Print out the number of index entries at the end.
Update docs to match.

[SVN r68459]
2011-01-26 18:51:49 +00:00
John Maddock
c0e5727a80 Add more improved error handling.
Add docs on what containers can hold an index.
Fix tests not to generate bad Docbook!

[SVN r68458]
2011-01-26 18:13:05 +00:00
John Maddock
67a3a0341f Add some error handling for invalid file names.
[SVN r68438]
2011-01-25 18:45:42 +00:00
John Maddock
46573b0780 Add some notes about including optional auto-index support to the docs.
Add (copy) Jamroot etc files so this directory can be used standalone.
Fix GCC compiler warnings.
Streamline Jamfiles a touch.

[SVN r68356]
2011-01-21 18:53:06 +00:00
John Maddock
1d9de07e0d Fix some typos, and break up long lines.
[SVN r68350]
2011-01-21 16:49:03 +00:00
John Maddock
426a513396 Change file scanners to use customisable scanners that can be defined in the script file.
Update docs to match.
Update examples to use the new file scanner definitions.
Regenerate examples.

[SVN r67434]
2010-12-23 18:15:04 +00:00
John Maddock
07bbb7b3eb Refactor to use generic file scanning mechanism, and regenerated some of the example docs.
[SVN r67390]
2010-12-21 18:42:13 +00:00
John Maddock
5758421e85 Only remember the block's title if it has an ID we can link too as well.
[SVN r67363]
2010-12-20 15:33:03 +00:00
John Maddock
ef8ef80d0d Added a debug option.
[SVN r67358]
2010-12-20 13:17:15 +00:00
John Maddock
fa103db9d2 Update to build with Boost.Filesystem v3.
Change indexing operations so that the same term but with different type attributes are treated differently.
Regenerated example docs to match.

[SVN r67349]
2010-12-19 18:20:18 +00:00
John Maddock
dbac250089 Fix sun compiler failures.
[SVN r64267]
2010-07-22 17:06:31 +00:00