From f06e9dbc5a07fe74a5f7f3ac054d2efc6019b965 Mon Sep 17 00:00:00 2001 From: debacle Date: Fri, 13 Jun 2008 13:36:31 +0000 Subject: [PATCH] Improved text output. (Better parametrisation of XSL and w3m.) git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@5237 313b444b-1b9f-4f58-a734-7bb04f332e8d --- Makefile | 2 +- txt.xsl | 48 +++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 42 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 2622444..8393f21 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ endif developers-reference.txt: $(CURDIR)/developers-reference.txt %/developers-reference.txt: $(addprefix %/,$(SOURCES)) $(XP) $(DBK2HTML1) $(@D)/index.dbk \ - | w3m -cols 65 -dump -T text/html > $@ + | w3m -cols 70 -dump -no-graph -T text/html > $@ developers-reference.pdf: $(CURDIR)/developers-reference.pdf %/developers-reference.pdf: $(addprefix %/,$(SOURCES)) diff --git a/txt.xsl b/txt.xsl index 227d812..81ab1b1 100644 --- a/txt.xsl +++ b/txt.xsl @@ -3,8 +3,12 @@ version="1.0"> - 1 - 1 + + + + + + appendix title article/appendix nop @@ -16,12 +20,42 @@ qandadiv toc qandaset toc reference toc,title - sect1 toc - sect2 toc - sect3 toc - sect4 toc - sect5 toc section toc set toc,title + + + +
+
+ +
+
+
+
+ + +
+ +
+
+ + +
+ +
+
+
+ + + +
    + +
+
+ -- 2.30.2