Commit Graph

1426 Commits

Author SHA1 Message Date
Daniel James
bd8c0894b0 Place section anchors inside the section title.
Generates better html.

[SVN r68559]
2011-01-30 10:52:35 +00:00
Daniel James
8b9dedf0e3 Use 'teletype' for syntax highlighting in quickbook docs.
[SVN r68558]
2011-01-30 10:51:47 +00:00
Daniel James
286007ec53 Update the quickbook installation instructions.
[SVN r68557]
2011-01-30 10:51:02 +00:00
Daniel James
d5dce8c46d Quickbook release notes.
[SVN r68556]
2011-01-30 10:50:00 +00:00
Daniel James
c9b5364585 Revert quickbook documentation changes.
Not abandoning them, I'll continue on a branch. There's just no need to do this
on trunk.


[SVN r68490]
2011-01-27 21:38:58 +00:00
Daniel James
2e904fb60e Fix class/struct warning.
[SVN r68398]
2011-01-23 16:50:31 +00:00
Daniel James
d94c4726f8 Windows support for unicode filenames.
[SVN r68397]
2011-01-23 16:49:34 +00:00
Daniel James
12625ac2ff Use a function to convert paths to and from utf-8.
This will eventually try to cope with unicode characters. Not sure if
it'll ever be truely cross platform.

[SVN r68396]
2011-01-23 16:48:27 +00:00
Daniel James
70c5398ec3 Replace input_path with manual path conversion.
[SVN r68395]
2011-01-23 16:47:23 +00:00
Daniel James
9557da3e43 Use filesystem alias more consistently.
[SVN r68394]
2011-01-23 16:45:57 +00:00
Daniel James
9505be4e85 Use fs::path in more places.
[SVN r68393]
2011-01-23 16:44:32 +00:00
Daniel James
024feb181b Change the way the filename is stored.
No longer stored in the iterator which means there's less messing around
with pointers and strings. Always stored as a fs::path which will help
with support for unicode. Also passed to outwarn and outerr as fs::path
so they can handle writing unicode filenames to the output.

[SVN r68392]
2011-01-23 16:42:51 +00:00
Daniel James
51b6314872 Use generic string for __FILENAME__.
Will hopefully a bit more consistent across platforms. Obviously proper
conversion to UTF-8 would be better.

[SVN r68391]
2011-01-23 16:41:05 +00:00
Daniel James
034d70e562 Branch to work on filename handling without disturbing trunk.
[SVN r68345]
2011-01-21 09:17:08 +00:00
Daniel James
06fe0ae76e Merge xinclude fix for windows.
[SVN r68330]
2011-01-21 00:24:42 +00:00
Daniel James
fa03c44528 Use generic paths in xinclude.
Will hopefully make xslt happier on windows.

[SVN r68308]
2011-01-19 22:05:48 +00:00
Daniel James
6d7475344d Merge quickbook from trunk.
- Use a single symbol table for all elements.
- Fix filesystem use on windows. Fixes #5055.


[SVN r68115]
2011-01-13 18:18:18 +00:00
Daniel James
f2034862d9 Fix quickbook windows compile error. Refs #5055.
Patch by Joshua Boyce. Thanks.

[SVN r67908]
2011-01-10 08:23:27 +00:00
Daniel James
d4d728baf0 Update metadata.
[SVN r67891]
2011-01-09 21:16:24 +00:00
Daniel James
913e239cd9 More document metadata documentation.
[SVN r67890]
2011-01-09 21:15:47 +00:00
Daniel James
396f372820 Make the section documentation fit its new location better.
[SVN r67889]
2011-01-09 21:15:12 +00:00
Daniel James
6a15e79f03 Update links.
[SVN r67888]
2011-01-09 21:14:36 +00:00
Daniel James
1da1a19b9c Move section documentation into syntax section.
[SVN r67887]
2011-01-09 21:14:02 +00:00
Daniel James
1cd94b7cf3 Move the comments section after the document info section.
[SVN r67886]
2011-01-09 21:13:27 +00:00
Daniel James
a77b957c02 Start with a very simple quickbook document.
[SVN r67885]
2011-01-09 21:12:55 +00:00
Daniel James
ae7f22136d A bit more detail on document info.
[SVN r67884]
2011-01-09 21:12:24 +00:00
Daniel James
05fe74227c Move the document info section to the syntax section.
[SVN r67883]
2011-01-09 21:11:20 +00:00
Daniel James
fe2387313f Fix a typo.
[SVN r67856]
2011-01-09 12:02:27 +00:00
Daniel James
aea4163f6c Use a single symbol table for all elements.
[SVN r67855]
2011-01-09 12:01:15 +00:00
Daniel James
b7fc6ccb05 Merge quickbook from trunk.
Left docs out of this merge, I want to do a little work on them.

- Add 'lang' element to docinfo.
- Improved anchor implementation. Especially for using an anchor before a
  section or heading.
- Reorganize the grammar, there's now a single main grammar. Elements are added
  separately using the Nabialek trick.
- Fixed some more issues where lines containing comments were treated as blank
  lines.
- Introduce a spirit rule for scoped actions when parsing. Could do with some
  improvement, but works okay.
- Allow import, include and xinclude in conditional phrases. Will allow more
  block elements in a future version.
- Use filesystem 3. Remove cygwin support.


[SVN r67784]
2011-01-08 15:22:18 +00:00
Daniel James
7a1895c4b2 Call things inside square brackets 'elements'.
It doesn't quite fit for section markup, but 'markup' was a terrible name (it's
all markup).


[SVN r67735]
2011-01-06 23:20:25 +00:00
Daniel James
6daf40dd41 Use filesystem 3 in quickbook.
And remove cygwin 1.5 support.

[SVN r67661]
2011-01-04 22:34:36 +00:00
Daniel James
b0cc667a2b Detab again.
[SVN r67638]
2011-01-03 22:19:35 +00:00
Daniel James
d626f30cd5 Allow include, import and xinclude in conditional macros.
[SVN r67637]
2011-01-03 22:15:41 +00:00
Daniel James
3e075a122b Make the newline after block markup optional.
[SVN r67636]
2011-01-03 22:13:54 +00:00
Daniel James
29c97dc3f3 Add an option to turn off all quickbook actions, and use it to implement conditional phrase.
[SVN r67635]
2011-01-03 22:12:58 +00:00
Daniel James
51d09f5631 Use a single grammar.
Speeds up quickbook a fair bit, hopefully will make up for the anchors
change which was quite costly.

[SVN r67634]
2011-01-03 22:11:44 +00:00
Daniel James
915ae8a31a Move 'no_eols' into actions_class.
Should remove the need to create a new grammar when expanding templates
etc.

[SVN r67633]
2011-01-03 22:10:21 +00:00
Daniel James
fff43d6853 Make the scoped parser more generic and use it for conditional phrases.
[SVN r67632]
2011-01-03 22:09:10 +00:00
Daniel James
26dbdc09ec Fix tabs and files without copyright.
[SVN r67612]
2011-01-03 12:43:34 +00:00
Daniel James
96e128aef5 Quickbook changelog entries.
[SVN r67336]
2010-12-19 13:35:26 +00:00
Daniel James
c4a93603e5 More use of shared rules.
[SVN r67335]
2010-12-19 13:34:50 +00:00
Daniel James
c5d7296a4c Get rid of 'skip_initial_spaces'.
[SVN r67334]
2010-12-19 13:34:09 +00:00
Daniel James
345d3f813c Combine the block and phrase grammars.
[SVN r67333]
2010-12-19 13:33:28 +00:00
Daniel James
cd00be9558 Split out the block and phrase markup.
[SVN r67332]
2010-12-19 13:32:42 +00:00
Daniel James
4717183c52 Combine the block and paragraph parsers.
Now instead of having a block parser which calls the paragraph parser,
there's a top level parser which calls the block parser for lists, code
blocks etc. at the points at they can occur.

[SVN r67331]
2010-12-19 13:31:52 +00:00
Daniel James
3e02253180 Move block and paragraph rules together.
[SVN r67330]
2010-12-19 13:31:17 +00:00
Daniel James
87e219c1a6 Don't treat lines containing comments as blank.
[SVN r67329]
2010-12-19 13:30:43 +00:00
Daniel James
f13389af62 Use the same symbol tables for parsing block tags and checking for the end of paragraphs.
[SVN r67328]
2010-12-19 13:30:06 +00:00
Daniel James
7e453b0150 Create a single grammar class.
Like on the spirit 2 branch, although this is a bit of an odd thing to
do with classic spirit. Still also requiring the expected scanner.

[SVN r67327]
2010-12-19 13:29:25 +00:00