summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-entry/Makefile9
-rw-r--r--desktop-entry/spec.dsl21
2 files changed, 24 insertions, 6 deletions
diff --git a/desktop-entry/Makefile b/desktop-entry/Makefile
index a612d82..678c153 100644
--- a/desktop-entry/Makefile
+++ b/desktop-entry/Makefile
@@ -1,4 +1,7 @@
-all: desktop-entry-spec.html
+all: desktop-entry-spec.html desktop-entry-spec.ps
-desktop-entry-spec.html: desktop-entry-spec.sgml
- jade -t sgml -i html -d spec.dsl#html -V nochunks $^ > $@ \ No newline at end of file
+desktop-entry-spec.html: desktop-entry-spec.sgml spec.dsl
+ jade -t sgml -i html -d spec.dsl#html -V nochunks desktop-entry-spec.sgml > $@
+
+desktop-entry-spec.ps: desktop-entry-spec.sgml spec.dsl
+ docbook2ps -d spec.dsl#print desktop-entry-spec.sgml > $@
diff --git a/desktop-entry/spec.dsl b/desktop-entry/spec.dsl
index 24b66f5..55062c0 100644
--- a/desktop-entry/spec.dsl
+++ b/desktop-entry/spec.dsl
@@ -26,7 +26,10 @@
;;# This is Version 1.0-4 #
;;#######################################################################
;;
-;; article-titlepage-recto-elements: Modified for desktop entry spec.
+;; Modified for desktop entry spec.
+;;
+;; article-titlepage-recto-elements: Added date, release info
+;; %section-autolabel%: Turn on enumerated sections
;;
;; Owen Taylor 8 March 2001
;;
@@ -52,7 +55,7 @@
;;Do you want enumerated sections? (E.g, 1.1, 1.1.1, 1.2, etc.)
(define %section-autolabel%
- #f)
+ #t)
;;What is the default extension for graphics?
(define %graphic-default-extension%
@@ -152,6 +155,18 @@
(define %generate-article-titlepage%
#t)
+;;Which elements should appear
+;;on title page?
+(define (article-titlepage-recto-elements)
+ (list (normalize "title")
+ (normalize "subtitle")
+ (normalize "authorgroup")
+ (normalize "copyright")
+ (normalize "legalnotice")
+ (normalize "releaseinfo")
+ (normalize "date")
+ (normalize "abstract")))
+
;;Generate Article TOC?
(define %generate-article-toc%
#t)
@@ -770,7 +785,7 @@
;;Enumerate Sections?
(define %section-autolabel%
- #f)
+ #t)
;;=========================
;; HTML Attributes