Commit Graph

1426 Commits

Author SHA1 Message Date
Daniel James
c65adc378a Don't generate empty document info tags.
[SVN r65011]
2010-08-26 08:04:08 +00:00
Daniel James
0d367a629d And inline the 'xml_' classes.
[SVN r65010]
2010-08-26 08:01:40 +00:00
Daniel James
8c4d737e58 Take those 'xml_' structs out of actions.hpp
[SVN r65009]
2010-08-26 07:59:51 +00:00
Daniel James
8eeff84ac5 Don't escape docinfo fields for quickbook <= 1.2
[SVN r65005]
2010-08-25 20:28:15 +00:00
Daniel James
23d910d7a3 Fix xml escaping for the license in quickbook 1.2 and less.
[SVN r64990]
2010-08-24 23:12:10 +00:00
Daniel James
351442d050 Escapes in doc info fields.
[SVN r64988]
2010-08-24 19:47:46 +00:00
Daniel James
dbecc8a31a Merge quickbook.
- Explicitly use filesystem v2.
 - Fix command line macros.
 - Allow headings to have ids (quickbook 1.6)
 - Trim space from the start of titles, after ids.
 - Don't put nested lists inside inside boostbook paragraphs.
 - Improved code block parser.
 - Small improvements to the template implementation.
 - Merge multiple list items in variable list entries.
 - Nested code snippets.
 - Bump version number for 1.5.3.



[SVN r64979]
2010-08-24 07:52:19 +00:00
Daniel James
4d4372f95e Bump quickbook version number.
[SVN r64978]
2010-08-24 07:38:21 +00:00
Daniel James
1dc08fd09c Nested code snippets.
[SVN r64976]
2010-08-23 21:51:53 +00:00
Daniel James
19ad99139a Recover after a failed varlistitem parse.
Maybe would be better to just bail out after a parse error.

[SVN r64975]
2010-08-23 21:49:33 +00:00
Daniel James
4b41d22c87 Merge multiple listitems in varlistentry.
Docbook only allows a single `listitem` in a `varlistentry` so combine
multiple items into a single item.

[SVN r64831]
2010-08-15 16:48:10 +00:00
Daniel James
aa69438440 Overhaul some of the template code.
* Store the location along with the contents of the template body, so
  the location should usually be correct now. Exceptions are code
  snippets, because they get rewritten, and the extra newlines added to
  block template.
* Store if a template is a block template at the time of creation. Using
  spirit to decide, rather than handwritten C++.
* Fix callout list markup.
* Fix the `skip_initial_spaces` stuff in `block.hpp`. This never really
  worked before. No longer have to skip spaces in `parse_template` in
  `actions.cpp`.

[SVN r64830]
2010-08-15 16:47:21 +00:00
Daniel James
e641698536 Better parser for code blocks.
* A line containing a comment with no identation will now end a code
  block.
* Code blocks no longer need to be followed by a blank line.

[SVN r64829]
2010-08-15 16:46:18 +00:00
Daniel James
7101c28eba Don't put nested lists inside a list item's paragraph.
[SVN r64828]
2010-08-15 16:45:27 +00:00
Daniel James
b622d1d6ee Trim space after element ids.
[SVN r64827]
2010-08-15 16:44:33 +00:00
Daniel James
6b6aad78a6 Ids for headings.
[SVN r64826]
2010-08-15 16:43:40 +00:00
Daniel James
8fe8e33699 Fix command line macros in quickbook.
[SVN r64825]
2010-08-15 16:41:54 +00:00
Daniel James
77cf3b5672 Merge quickbook typo fix from trunk.
[SVN r64654]
2010-08-07 07:22:28 +00:00
Daniel James
1b0c30e3bf Use filesystem v2 in quickbook for now.
[SVN r64604]
2010-08-04 22:11:39 +00:00
Daniel James
1dfcbf1dcb Typo in quickbook compile error.
[SVN r64601]
2010-08-04 21:28:49 +00:00
Daniel James
d32783ea8f Merge documentation changes.
[SVN r64186]
2010-07-19 23:29:09 +00:00
Daniel James
3dfa03deb7 Update bjam calls in quickbook docs.
[SVN r64138]
2010-07-18 16:49:01 +00:00
Daniel James
4977fab39a Redo previous merge.
Looks like there were some changes in my release repository that were
accidentally included.


[SVN r63921]
2010-07-12 11:08:43 +00:00
Daniel James
bbffbc83cb Merge quickbook, iostreams.
[SVN r63917]
2010-07-12 08:13:38 +00:00
Daniel James
54938aef15 Restore the invalid doc info attributes.
Removing them breaks the release notes, there's still a warning that
they're invalid. Refs #1281

[SVN r63896]
2010-07-11 23:15:18 +00:00
Daniel James
da2533ddee Merge quickbook.
Fixes #4302, #1436, #3907, #4416


[SVN r63815]
2010-07-10 15:25:25 +00:00
Daniel James
230a211767 Check the quickbook version is valid.
[SVN r63814]
2010-07-10 15:03:45 +00:00
Daniel James
c6d769cf0d Make repeated quickbook image attributes a warning rather than an error.
[SVN r63813]
2010-07-10 15:03:07 +00:00
Daniel James
1bc916f41f Generate different ids when reusing code snippets.
Generates the ids during template expansion instead of when parsing the
code snippet - so that different ids are used for different exapnsions.
Refs #4416

[SVN r63809]
2010-07-10 11:24:54 +00:00
Daniel James
a6712ee34f Use a structure for template symbol info.
[SVN r63808]
2010-07-10 11:24:07 +00:00
Daniel James
df0ab8082e Organise the quickbook release notes a bit better.
[SVN r63764]
2010-07-08 20:49:52 +00:00
Daniel James
26030cc220 Copy tests from spirit 2 branch.
The only remaining difference is the invalid output for callouts.

[SVN r63736]
2010-07-08 07:14:35 +00:00
Daniel James
f3a52f99ee Fix duplicate image attribute detection.
[SVN r63735]
2010-07-08 07:14:03 +00:00
Daniel James
9d9721f79e Fix xml encoding in a few places.
[SVN r63734]
2010-07-08 07:13:26 +00:00
Daniel James
db2cfd0d79 Fix documentation info handling in included files. Refs #3907.
[SVN r63733]
2010-07-08 07:12:43 +00:00
Daniel James
3127d2fd1b Fix identifier generation for headings. Refs #1436.
[SVN r63732]
2010-07-08 07:11:58 +00:00
Daniel James
c83eece449 Detab last commit.
[SVN r63714]
2010-07-06 23:15:23 +00:00
Daniel James
93fb714dac Backport improved paragraphs from spirit 2 version
Templates are no longer expanded inside paragraphs, although callout
lists still are. Refs #4302.

[SVN r63713]
2010-07-06 23:10:10 +00:00
Daniel James
3dfcf5ef14 Don't output empty paragraphs.
[SVN r63621]
2010-07-04 18:52:05 +00:00
Daniel James
5dd58732a1 Test some empty templates.
[SVN r63612]
2010-07-04 16:56:28 +00:00
Daniel James
c8cdcd075e Don't match empty paragraphs.
[SVN r63611]
2010-07-04 16:55:58 +00:00
Daniel James
e3e2018a45 Allow empty document bodies.
[SVN r63610]
2010-07-04 16:55:24 +00:00
Daniel James
a47a09e259 Clear template_info before parsing a template.
Sometimes template_info contains values from a previous failed parse. I
think this makes the last change unnecessary, but I'm going to leave it
in as I feel like it improved the grammar.

[SVN r63609]
2010-07-04 16:54:44 +00:00
Daniel James
1cde9f5cfe Only store template name after correct match.
Fixes a bug where a failed template expansion would leave the template
name in template_info.

[SVN r63608]
2010-07-04 16:53:54 +00:00
Daniel James
f4834d5c6a Make author parsing a little stricter.
[SVN r63607]
2010-07-04 16:53:25 +00:00
Daniel James
87b3423402 Keep the quickbook documentation compatible with the last version.
[SVN r63354]
2010-06-26 15:56:03 +00:00
Daniel James
7e299228fe Don't require commas between authors.
Makes the author grammar more consistent with the rest of quickbook.

[SVN r63342]
2010-06-26 12:09:56 +00:00
Daniel James
a666d8a628 Merge quickbook.
[SVN r63267]
2010-06-23 19:33:37 +00:00
Daniel James
3d58eb2835 Fix images in quickbook docs.
[SVN r63154]
2010-06-20 18:05:21 +00:00
Daniel James
415f847cb0 Update various libraries' documentation build.
Mostly to use the images and css files under doc/src instead of
doc/html, usually be deleting the settings in order to use the defaults.
Also add 'boost.root' to some builds in order to fix links which rely on
it.

[SVN r63146]
2010-06-20 18:00:48 +00:00