diff --git a/web/Makefile b/web/Makefile
index ff856c88..da409220 100644
--- a/web/Makefile
+++ b/web/Makefile
@@ -5,6 +5,8 @@ BOOK=./htdocs/book
RSYNC=rsync
RSYNCOPTS=-av --rsh=ssh --exclude=.svn
+JWOPTS=-d UrJTAG.dsl\#html
+
DIRS="cgi-bin" "htdocs"
sync-to-sf: book
@@ -14,8 +16,13 @@ sync-from-sf:
$(RSYNC) $(RSYNCOPTS) "$(WEB)/*" .
.PHONY: book
-book: $(BOOK)/UrJTAG.dbk
- docbook2html -o $(BOOK) $(BOOK)/UrJTAG.dbk
+# book: $(BOOK)/UrJTAG.html
+book: $(BOOK)/UrJTAG.dbk $(BOOK)/UrJTAG.html
+ docbook2html $(JWOPTS) -o $(BOOK) $(BOOK)/UrJTAG.dbk
+
+.PHONY: $(BOOK)/UrJTAG.html
+$(BOOK)/UrJTAG.html: $(BOOK)/UrJTAG.dbk
+ docbook2html $(JWOPTS) -o $(BOOK) -u $(BOOK)/UrJTAG.dbk
$(BOOK)/UrJTAG.dbk: $(JTAG)/doc/*.txt
mkdir -p $(BOOK)
diff --git a/web/UrJTAG.dsl b/web/UrJTAG.dsl
new file mode 100644
index 00000000..f39e9b6a
--- /dev/null
+++ b/web/UrJTAG.dsl
@@ -0,0 +1,115 @@
+
+
+
+
+
+ ]]>
+
+
+ ]]>
+]>
+
+
+
+
+
+;; ===================================================================
+;; Generic Parameters
+;; (Generic currently means: both print and html)
+
+(define %chapter-autolabel% #t)
+(define %section-autolabel% #t)
+(define (toc-depth nd) 3)
+
+
+
+
+
+
+;; ===================================================================
+;; Print Parameters
+;; Call: jade -d docbook-utils.dsl#print
+
+; === Page layout ===
+;; (define %paper-type% "A4") ;; use A4 paper - comment this out if needed
+
+; === Media objects ===
+(define preferred-mediaobject-extensions ;; this magic allows to use different graphical
+ (list "eps")) ;; formats for printing and putting online
+(define acceptable-mediaobject-extensions
+ '())
+(define preferred-mediaobject-notations
+ (list "EPS"))
+(define acceptable-mediaobject-notations
+ (list "linespecific"))
+
+; === Rendering ===
+(define %head-after-factor% 0.2) ;; not much whitespace after orderedlist head
+(define ($paragraph$) ;; more whitespace after paragraph than before
+ (make paragraph
+ first-line-start-indent: (if (is-first-para)
+ %para-indent-firstpara%
+ %para-indent%)
+ space-before: (* %para-sep% 4)
+ space-after: (/ %para-sep% 4)
+ quadding: %default-quadding%
+ hyphenate?: %hyphenation%
+ language: (dsssl-language-code)
+ (process-children)))
+
+
+
+
+
+
+;; ===================================================================
+;; HTML Parameters
+;; Call: jade -d docbook-utils.dsl#html
+
+; === File names ===
+(define %root-filename% "index") ;; name for the root html file
+(define %html-ext% ".html") ;; default extension for html output files
+(define %html-prefix% "") ;; prefix for all filenames generated (except root)
+(define %use-id-as-filename% #t) ;; if #t uses ID value, if present, as filename
+ ;; otherwise a code is used to indicate level
+ ;; of chunk, and general element number
+ ;; (nth element in the document)
+(define use-output-dir #f) ;; output in separate directory?
+(define %output-dir% "HTML") ;; if output in directory, it's called HTML
+
+; === HTML settings ===
+(define %html-pubid% "-//W3C//DTD HTML 4.01 Transitional//EN") ;; Nearly true :-(
+(define %html40% #t)
+
+; === Media objects ===
+(define preferred-mediaobject-extensions ;; this magic allows to use different graphical
+ (list "png" "jpg" "jpeg")) ;; formats for printing and putting online
+(define acceptable-mediaobject-extensions
+ (list "bmp" "gif" "eps" "epsf" "avi" "mpg" "mpeg" "qt"))
+(define preferred-mediaobject-notations
+ (list "PNG" "JPG" "JPEG"))
+(define acceptable-mediaobject-notations
+ (list "EPS" "BMP" "GIF" "linespecific"))
+; === Rendering ===
+(define %admon-graphics% #t) ;; use symbols for Caution|Important|Note|Tip|Warning
+
+; === Books only ===
+(define %generate-book-titlepage% #t)
+(define %generate-book-toc% #t)
+(define ($generate-chapter-toc$) #f) ;; never generate a chapter TOC in books
+
+; === Articles only ===
+(define %generate-article-titlepage% #t)
+(define %generate-article-toc% #t) ;; make TOC
+
+
+
+
+
+
+
diff --git a/web/htdocs/index.html b/web/htdocs/index.html
index 5e6e34ed..7a79715b 100644
--- a/web/htdocs/index.html
+++ b/web/htdocs/index.html
@@ -40,7 +40,7 @@