resolves #685 number chapters sequentially, always
Merge pull request #688 from mojavelinux/issue-685

resolves #685 number chapters sequentially, always
resolves #683 number sections in appendix using appendix number

- don't use normal numbering on appendix titles
- number subsections using appendix letter in first position
- use regular section numbering format when appendix-caption is blank
check context instead of type to detect sections
resolves #693 use reftext of section or block in text of xref link
Merge pull request #694 from mojavelinux/issue-693

resolves #693 use reftext of section or block in text of xref link
resolves #695 allow spaces in reftext defined in block anchor

- also recognize only legal characters in id
strengthen anchor matches

- strengthen match for anchors
- split id and reftext in embedded section title anchor
- honor escaping of embedded section title anchor
- more anchor tests
Merge pull request #696 from mojavelinux/issue-695

resolves #695 allow spaces in reftext defined in block anchor
resolves #697 honor reftext defined in embedded section title anchor

- assign reftext defined in embedded anchor to section
- register id for block even if reftext and title are empty
- don't split on comma in reftext (only split on first comma)
disallow quoted values in block and inline anchors
Merge pull request #698 from mojavelinux/issue-697

resolves #697 honor reftext defined in embedded section title anchor
resolves #664 honor list continuations on indented, nested list items
Merge pull request #703 from mojavelinux/issue-664

resolves #664 honor list continuations on indented, nested list items
Merge pull request #691 from mojavelinux/issue-683

resolves #683 number sections in appendix using appendix number
resolves #300 copy custom stylesheet if linkcss is set
Merge pull request #701 from mojavelinux/issue-300

resolves #300 copy custom stylesheet if linkcss is set
fix test cleanup routine in Ruby 1.8
resolves #494 output XHTML when backend is xhtml or xhtml5
Merge pull request #707 from mojavelinux/issue-494

resolves #494 output XHTML when backend is xhtml or xhtml5