Commit Graph

11 Commits

Author SHA1 Message Date
Daniel James
202b0f90e7 Merge quickbook. Starting 1.6 alpha, plus some 1.7 development.
[SVN r85050]
2013-07-15 21:45:25 +00:00
Daniel James
24ab5cc5bc Merge quickbook to release.
[SVN r84500]
2013-05-25 15:57:48 +00:00
Daniel James
d8b487499b Merge quickbook to release.
[SVN r84300]
2013-05-16 21:30:01 +00:00
Daniel James
0f051efd8c Quickbook: Allow a single newline at the end of an explicit code block.
Again, less gratuitous changes from older versions (although it's still
different). Also more consistent with generated markup from indented code
blocks.


[SVN r75732]
2011-11-29 22:57:23 +00:00
Daniel James
44cdb88eec Quickbook: Deal with unbalanced code snippets.
[SVN r75627]
2011-11-22 23:49:26 +00:00
Daniel James
a26a70fc7b Quickbook: Don't unindent code blocks in code snippets.
Because code blocks are added in sections, a nested section could be
unindented too far. Code is unindented in the main quickbook actions, so
there's actually no need to do it when extracting code snippets.

But this lead to left over whitespace that would have been stripped. So
change the `start_snippet` and `end_snippet` grammars to swallow up the
line they're on.

I also added a newline before the end of the snippet, this cleaned up
the occasional syntax error.

But due to these changes there is more leading and trailing whitespace
in the generated code blocks, so I just changed the code block grammar
to strip them out. This means there are no newlines at the beginning or
end of code blocks, but that should be fine.

[SVN r75613]
2011-11-22 23:45:16 +00:00
Daniel James
3c39fbca2e Quickbook: Clean up whitespace prior to programlisting.
[SVN r75223]
2011-11-01 19:00:02 +00:00
Daniel James
4012b1f753 Quickbook: Merge to quickbook-dev.
[SVN r73983]
2011-08-21 13:27:52 +00:00
Daniel James
bf1d753dba Merge tools directory from trunk.
[SVN r72698]
2011-06-20 19:19:56 +00:00
Daniel James
bbea15be1e Quickbook: Remove accidentally commited test result.
[SVN r70864]
2011-04-02 17:42:37 +00:00
Daniel James
6500170f49 Pass-thru comments.
[SVN r70018]
2011-03-16 09:12:01 +00:00