Permalink
Browse files

First commit

  • Loading branch information...
0 parents commit d3208fbc57df2b6b9a58ad7e041e32b8c91e4426 @wakaleo wakaleo committed Dec 31, 2011
Showing with 4,147 additions and 0 deletions.
  1. BIN .gradle/1.0-milestone-6/fileHashes/cache.bin
  2. +1 −0 .gradle/1.0-milestone-6/fileHashes/cache.properties
  3. +1 −0 .gradle/1.0-milestone-6/fileHashes/cache.properties.lock
  4. BIN .gradle/1.0-milestone-6/fileSnapshots/cache.bin
  5. +1 −0 .gradle/1.0-milestone-6/fileSnapshots/cache.properties
  6. +1 −0 .gradle/1.0-milestone-6/fileSnapshots/cache.properties.lock
  7. BIN .gradle/1.0-milestone-6/outputFileStates/cache.bin
  8. +1 −0 .gradle/1.0-milestone-6/outputFileStates/cache.properties
  9. +1 −0 .gradle/1.0-milestone-6/outputFileStates/cache.properties.lock
  10. BIN .gradle/1.0-milestone-6/taskArtifacts/cache.bin
  11. +1 −0 .gradle/1.0-milestone-6/taskArtifacts/cache.properties
  12. +1 −0 .gradle/1.0-milestone-6/taskArtifacts/cache.properties.lock
  13. +34 −0 build.gradle
  14. +65 −0 docbook-xsl/asciidoc-docbook-xsl.txt
  15. +17 −0 docbook-xsl/chunked.xsl
  16. +106 −0 docbook-xsl/common.xsl
  17. +355 −0 docbook-xsl/custom-chunked.xsl
  18. +35 −0 docbook-xsl/epub.xsl
  19. +152 −0 docbook-xsl/fo.xsl
  20. +16 −0 docbook-xsl/htmlhelp.xsl
  21. +31 −0 docbook-xsl/manpage.xsl
  22. +55 −0 docbook-xsl/text.xsl
  23. +14 −0 docbook-xsl/xhtml.xsl
  24. BIN figs/.DS_Store
  25. BIN figs/aggregate-report.png
  26. BIN figs/jira-integration-example.png
  27. BIN figs/maven-search-report.png
  28. BIN figs/maven-search-results.png
  29. BIN figs/story-results-pending.png
  30. BIN figs/test-report.png
  31. BIN figs/thucydides-maven-reports.png
  32. BIN images/.DS_Store
  33. BIN images/annot-close.png
  34. BIN images/annot-open.png
  35. BIN images/blank.png
  36. BIN images/callouts/1.gif
  37. BIN images/callouts/1.png
  38. +15 −0 images/callouts/1.svg
  39. BIN images/callouts/10.gif
  40. BIN images/callouts/10.png
  41. +18 −0 images/callouts/10.svg
  42. BIN images/callouts/11.gif
  43. BIN images/callouts/11.png
  44. +16 −0 images/callouts/11.svg
  45. BIN images/callouts/12.gif
  46. BIN images/callouts/12.png
  47. +18 −0 images/callouts/12.svg
  48. BIN images/callouts/13.gif
  49. BIN images/callouts/13.png
  50. +20 −0 images/callouts/13.svg
  51. BIN images/callouts/14.gif
  52. BIN images/callouts/14.png
  53. +17 −0 images/callouts/14.svg
  54. BIN images/callouts/15.gif
  55. BIN images/callouts/15.png
  56. +19 −0 images/callouts/15.svg
  57. +20 −0 images/callouts/16.svg
  58. +17 −0 images/callouts/17.svg
  59. +21 −0 images/callouts/18.svg
  60. +20 −0 images/callouts/19.svg
  61. BIN images/callouts/2.gif
  62. BIN images/callouts/2.png
  63. +17 −0 images/callouts/2.svg
  64. +20 −0 images/callouts/20.svg
  65. +18 −0 images/callouts/21.svg
  66. +20 −0 images/callouts/22.svg
  67. +22 −0 images/callouts/23.svg
  68. +19 −0 images/callouts/24.svg
  69. +21 −0 images/callouts/25.svg
  70. +22 −0 images/callouts/26.svg
  71. +19 −0 images/callouts/27.svg
  72. +23 −0 images/callouts/28.svg
  73. +22 −0 images/callouts/29.svg
  74. BIN images/callouts/3.gif
  75. BIN images/callouts/3.png
  76. +19 −0 images/callouts/3.svg
  77. +22 −0 images/callouts/30.svg
  78. BIN images/callouts/4.gif
  79. BIN images/callouts/4.png
  80. +16 −0 images/callouts/4.svg
  81. BIN images/callouts/5.gif
  82. BIN images/callouts/5.png
  83. +18 −0 images/callouts/5.svg
  84. BIN images/callouts/6.gif
  85. BIN images/callouts/6.png
  86. +19 −0 images/callouts/6.svg
  87. BIN images/callouts/7.gif
  88. BIN images/callouts/7.png
  89. +16 −0 images/callouts/7.svg
  90. BIN images/callouts/8.gif
  91. BIN images/callouts/8.png
  92. +20 −0 images/callouts/8.svg
  93. BIN images/callouts/9.gif
  94. BIN images/callouts/9.png
  95. +19 −0 images/callouts/9.svg
  96. BIN images/caution.gif
  97. BIN images/caution.png
  98. +25 −0 images/caution.svg
  99. BIN images/caution.tif
  100. BIN images/draft.png
  101. BIN images/highlighter.png
  102. BIN images/home.gif
  103. BIN images/home.png
  104. +26 −0 images/home.svg
  105. +5 −0 images/icons/README
  106. BIN images/icons/callouts/1.png
  107. BIN images/icons/callouts/10.png
  108. BIN images/icons/callouts/11.png
  109. BIN images/icons/callouts/12.png
  110. BIN images/icons/callouts/13.png
  111. BIN images/icons/callouts/14.png
  112. BIN images/icons/callouts/15.png
  113. BIN images/icons/callouts/2.png
  114. BIN images/icons/callouts/3.png
  115. BIN images/icons/callouts/4.png
  116. BIN images/icons/callouts/5.png
  117. BIN images/icons/callouts/6.png
  118. BIN images/icons/callouts/7.png
  119. BIN images/icons/callouts/8.png
  120. BIN images/icons/callouts/9.png
  121. BIN images/icons/caution.png
  122. BIN images/icons/example.png
  123. BIN images/icons/home.png
  124. BIN images/icons/important.png
  125. BIN images/icons/next.png
  126. BIN images/icons/note.png
  127. BIN images/icons/prev.png
  128. BIN images/icons/tip.png
  129. BIN images/icons/up.png
  130. BIN images/icons/warning.png
  131. BIN images/important.gif
  132. BIN images/important.png
  133. +25 −0 images/important.svg
  134. BIN images/important.tif
  135. BIN images/next.gif
  136. BIN images/next.png
  137. +19 −0 images/next.svg
  138. BIN images/note.gif
  139. BIN images/note.png
  140. +33 −0 images/note.svg
  141. BIN images/note.tif
  142. BIN images/prev.gif
  143. BIN images/prev.png
  144. +19 −0 images/prev.svg
  145. BIN images/smallnew.png
  146. BIN images/sonatype/logo.png
  147. BIN images/sonatype/logo.psd
  148. BIN images/tiger.png
  149. BIN images/tip.gif
  150. BIN images/tip.png
  151. +31 −0 images/tip.svg
  152. BIN images/tip.tif
  153. BIN images/toc-blank.png
  154. BIN images/toc-minus.png
  155. BIN images/toc-plus.png
  156. BIN images/up.gif
  157. BIN images/up.png
  158. +19 −0 images/up.svg
  159. BIN images/warning.gif
  160. BIN images/warning.png
  161. +23 −0 images/warning.svg
  162. BIN images/warning.tif
  163. +2,461 −0 thucydides.doc
Binary file not shown.
@@ -0,0 +1 @@
+#Wed Dec 28 17:33:47 EST 2011
Binary file not shown.
@@ -0,0 +1 @@
+#Wed Dec 28 17:33:47 EST 2011
Binary file not shown.
@@ -0,0 +1 @@
+#Wed Dec 28 17:33:47 EST 2011
Binary file not shown.
@@ -0,0 +1 @@
+#Wed Dec 28 17:33:47 EST 2011
@@ -0,0 +1,34 @@
+def srcFile = file('thucydides.doc')
+def srcImages = file("$projectDir/images")
+def srcFigures = file("$projectDir/figs")
+def destFile = file("$buildDir/thucydides.html")
+def destImages = file("$buildDir/images")
+def destFigures = file("$buildDir/figs")
+
+task copyImages(type: Copy) {
+ from srcImages
+ into destImages
+}
+
+task copyFigs(type: Copy) {
+ from srcFigures
+ into destFigures
+}
+
+task generateDocumentation() {
+ dependsOn << [copyImages, copyFigs]
+
+ inputs.file srcFile
+ outputs.file destFile
+
+ "asciidoc -b html5 -a icons -a toc2 -a numbered -a pygments -o $destFile $srcFile".execute()
+
+}
+
+task build {
+ dependsOn << generateDocumentation
+}
+
+task clean {
+ buildDir.deleteDir()
+}
@@ -0,0 +1,65 @@
+AsciiDoc DocBook XSL Stylesheets Notes
+======================================
+
+Output file customisation is achieved by tweaking the DocBook XSL
+stylesheets. I've tried to keep customization to a minimum and
+confine it to the separate XSL driver files in the distribution
+`./docbook-xsl/` directory (see the User Guide for details).
+
+To polish some rough edges I've written some patches for the DocBook
+XSL stylesheets -- you don't need them but they're documented below
+and included in the distribution `./docbook-xsl/` directory.
+
+
+Manually upgrading Debian to the latest DocBook XSL stylesheets
+---------------------------------------------------------------
+The DocBook XSL Stylesheets distribution is just a directory full of
+text files and you can switch between releases by changing the
+directory name in the system XML catalog.
+
+To upgrade to the latest docbook-xsl stylesheets without having to
+wait for the Debian `docbook-xsl` package:
+
+- Download the latest docbook-xsl tarball from
+ http://sourceforge.net/projects/docbook/. Bleeding edge snapshots
+ can be found at http://docbook.sourceforge.net/snapshots/
+
+- Unzip the tarball to `/usr/share/xml/docbook/stylesheet/`:
+
+ $ cd /usr/share/xml/docbook/stylesheet
+ $ sudo tar -xzf /tmp/docbook-xsl-1.72.0.tar.gz
+
+- Edit `/etc/xml/docbook-xsl.xml` catalog and replace occurences of
+ the current stylesheets directory with the new one (in our example
+ it would be `/usr/share/xml/docbook/stylesheet/docbook-xsl-1.72.0`.
+
+ $ cd /etc/xml/
+ $ sudo cp -p docbook-xsl.xml docbook-xsl.xml.ORIG
+ $ sudo vi docbook-xsl.xml
+
+
+Customizing Generated Text
+--------------------------
+An example
+http://www.sagehill.net/docbookxsl/CustomGentext.html#CustomGenText[DocBook
+XSL Stylesheets customization file] for formatting chapter titles
+without chapter numbering.
+
+.custom-chapter.xml
+---------------------------------------------------------------------
+<!-- Customize chapter title -->
+<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+ <l:l10n language="en">
+ <l:context name="title">
+ <l:template name="chapter" text="%t"/>
+ </l:context>
+ </l:l10n>
+</l:i18n>
+---------------------------------------------------------------------
+
+Executed with this 'xsltproc' parameter:
+
+ --param local.l10n.xml document\(\'custom-chapter.xml\'\)
+
+NOTE: This example is hypothetical -- use the 'xsltproc'
+`--stringparam chapter.autolabel 0` option to do the same job.
@@ -0,0 +1,17 @@
+<!--
+ Generates chunked XHTML documents from DocBook XML source using DocBook XSL
+ stylesheets.
+
+ NOTE: The URL reference to the current DocBook XSL stylesheets is
+ rewritten to point to the copy on the local disk drive by the XML catalog
+ rewrite directives so it doesn't need to go out to the Internet for the
+ stylesheets. This means you don't need to edit the <xsl:import> elements on
+ a machine by machine basis.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+<xsl:import href="common.xsl"/>
+<xsl:param name="navig.graphics.path">images/icons/</xsl:param>
+<xsl:param name="admon.graphics.path">images/icons/</xsl:param>
+<xsl:param name="callout.graphics.path" select="'images/icons/callouts/'"/>
+</xsl:stylesheet>
@@ -0,0 +1,106 @@
+<!--
+ Inlcuded in xhtml.xsl, xhtml.chunked.xsl, htmlhelp.xsl.
+ Contains common XSL stylesheets parameters.
+ Output documents styled by docbook.css.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:param name="html.stylesheet" select="'docbook-xsl.css'"/>
+
+<xsl:param name="htmlhelp.chm" select="'htmlhelp.chm'"/>
+<xsl:param name="htmlhelp.hhc.section.depth" select="5"/>
+
+<xsl:param name="section.autolabel">
+ <xsl:choose>
+ <xsl:when test="/processing-instruction('asciidoc-numbered')">1</xsl:when>
+ <xsl:otherwise>0</xsl:otherwise>
+ </xsl:choose>
+</xsl:param>
+
+<xsl:param name="suppress.navigation" select="0"/>
+<xsl:param name="navig.graphics.extension" select="'.png'"/>
+<xsl:param name="navig.graphics" select="0"/>
+<xsl:param name="navig.graphics.path">images/icons/</xsl:param>
+<xsl:param name="navig.showtitles">0</xsl:param>
+
+<xsl:param name="shade.verbatim" select="0"/>
+<xsl:attribute-set name="shade.verbatim.style">
+ <xsl:attribute name="border">0</xsl:attribute>
+ <xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:param name="admon.graphics" select="1"/>
+<xsl:param name="admon.graphics.path">images/icons/</xsl:param>
+<xsl:param name="admon.graphics.extension" select="'.png'"/>
+<xsl:param name="admon.style">
+ <xsl:text>margin-left: 0; margin-right: 10%;</xsl:text>
+</xsl:param>
+<xsl:param name="admon.textlabel" select="1"/>
+
+<xsl:param name="callout.defaultcolumn" select="'60'"/>
+<xsl:param name="callout.graphics.extension" select="'.png'"/>
+<xsl:param name="callout.graphics" select="'1'"/>
+<xsl:param name="callout.graphics.number.limit" select="'10'"/>
+<xsl:param name="callout.graphics.path" select="'images/icons/callouts/'"/>
+<xsl:param name="callout.list.table" select="'1'"/>
+
+<!-- This does not seem to work. -->
+<xsl:param name="section.autolabel.max.depth" select="2"/>
+
+<xsl:param name="chunk.first.sections" select="1"/>
+<xsl:param name="chunk.section.depth" select="1"/>
+<xsl:param name="chunk.quietly" select="0"/>
+<xsl:param name="chunk.toc" select="''"/>
+<xsl:param name="chunk.tocs.and.lots" select="0"/>
+
+<xsl:param name="html.cellpadding" select="'4px'"/>
+<xsl:param name="html.cellspacing" select="''"/>
+
+<xsl:param name="table.borders.with.css" select="1"/>
+<xsl:param name="table.cell.border.color" select="'#527bbd'"/>
+
+<xsl:param name="table.cell.border.style" select="'solid'"/>
+<xsl:param name="table.cell.border.thickness" select="'1px'"/>
+<xsl:param name="table.footnote.number.format" select="'a'"/>
+<xsl:param name="table.footnote.number.symbols" select="''"/>
+<xsl:param name="table.frame.border.color" select="'#527bbd'"/>
+<xsl:param name="table.frame.border.style" select="'solid'"/>
+<xsl:param name="table.frame.border.thickness" select="'3px'"/>
+<xsl:param name="tablecolumns.extension" select="'1'"/>
+
+<xsl:param name="highlight.source" select="1"/>
+
+<xsl:param name="section.label.includes.component.label" select="1"/>
+
+<!--
+ Table of contents inserted by <?asciidoc-toc?> processing instruction.
+-->
+<xsl:param name="generate.toc">
+ <xsl:choose>
+ <xsl:when test="/processing-instruction('asciidoc-toc')">
+article toc,title
+book toc,title,figure,table,example,equation
+ <!-- The only way I could find that suppressed book chapter TOCs -->
+ <xsl:if test="$generate.section.toc.level != 0">
+chapter toc,title
+part toc,title
+preface toc,title
+qandadiv toc
+qandaset toc
+reference toc,title
+sect1 toc
+sect2 toc
+sect3 toc
+sect4 toc
+sect5 toc
+section toc
+set toc,title
+ </xsl:if>
+ </xsl:when>
+ <xsl:otherwise>
+article nop
+book nop
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:param>
+
+</xsl:stylesheet>
Oops, something went wrong.

0 comments on commit d3208fb

Please sign in to comment.