<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,11 +10,15 @@
 . &quot;${TM_SUPPORT_PATH}/lib/webpreview.sh&quot;
 
 # Prepare output window.
-html_header 'Typeset &amp;amp;amp; View' &quot;$$TM_FILENAME (PDF)&quot;
+html_header 'Typeset &amp;amp;amp; View' &quot;$TM_FILENAME (PDF)&quot;
 
 # Compile.
-asciidoc --unsafe --backend=latex &quot;$TM_FILEPATH&quot;
-pdflatex &quot;${TM_FILEPATH%.*}.tex&quot;
+asciidoc --backend=docbook &quot;$TM_FILEPATH&quot;
+if [ -f ./custom.sty ] ; then
+  dblatex -b pdftex --texstyle ./custom.sty &quot;${TM_FILEPATH%.*}.xml&quot;
+else
+  dblatex -b pdftex &quot;${TM_FILEPATH%.*}.xml&quot;
+fi
 RC=$?
 html_footer
 open &quot;${TM_FILEPATH%.*}.pdf&quot;</diff>
      <filename>Commands/Typeset as PDF.tmCommand</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9ef4509d5b6ed80f9a2bc61f82ac4c9453573ffd</id>
    </parent>
  </parents>
  <author>
    <name>Christian W. Zuckschwerdt</name>
    <email>christian@zuckschwerdt.org</email>
  </author>
  <url>http://github.com/zuckschwerdt/asciidoc.tmbundle/commit/d8d54abbaa598af580c6c8a069389745e079a67e</url>
  <id>d8d54abbaa598af580c6c8a069389745e079a67e</id>
  <committed-date>2009-04-19T07:18:07-07:00</committed-date>
  <authored-date>2009-04-19T07:18:07-07:00</authored-date>
  <message>switching PDF typeset to docbook+dblatex</message>
  <tree>263ebc9422ede97bbebdb6b7d6a2b71f8e983270</tree>
  <committer>
    <name>Christian W. Zuckschwerdt</name>
    <email>christian@zuckschwerdt.org</email>
  </committer>
</commit>
