~ubuntu-branches/ubuntu/jaunty/python-docutils/jaunty

« back to all changes in this revision

Viewing changes to debian/patches/10_doc_debian_paths.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2008-07-24 10:39:53 UTC
  • mfrom: (1.1.4 upstream) (3.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080724103953-8gh4uezg17g9ysgy
Tags: 0.5-2
* Upload docutils 0.5 to unstable
* Update rst.el to upstream Subversion r5596, which apparently fixes
  all its performance problems (17_speed_up_rst_el.dpatch, closes: #474941)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 10_doc_debian_paths.dpatch by Simon McVittie <smcv@ianadd.pseudorandom.co.uk>
 
2
## 10_doc_debian_paths.dpatch by Simon McVittie <smcv@debian.org>
3
3
##
4
4
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: No description.
 
5
## DP: Change paths in documentation to match Debian's
6
6
 
7
7
@DPATCH@
8
8
 
9
 
diff -urNad docutils-0.4~/README.txt docutils-0.4/README.txt
10
 
--- docutils-0.4~/README.txt    2005-12-14 17:37:48.000000000 +0000
11
 
+++ docutils-0.4/README.txt     2006-07-02 17:27:37.720499432 +0100
 
9
From c65b99927c6074b0010bb663e18544666697e459 Mon Sep 17 00:00:00 2001
 
10
From: Simon McVittie <smcv@debian.org>
 
11
Date: Thu, 17 Jul 2008 11:08:10 +0100
 
12
Subject: [PATCH] [debian-specific] Change paths in documentation to match Debian's
 
13
 
 
14
(debian/patches/10_doc_debian_paths.dpatch)
 
15
---
 
16
 README.txt          |   21 +++++++++++++++++++--
 
17
 docs/user/emacs.txt |    3 +++
 
18
 docs/user/tools.txt |   36 +++++++++++++++++++++++++++++-------
 
19
 3 files changed, 51 insertions(+), 9 deletions(-)
 
20
 
 
21
diff --git a/README.txt b/README.txt
 
22
index 291e3f3..1375145 100644
 
23
--- a/README.txt
 
24
+++ b/README.txt
12
25
@@ -11,8 +11,19 @@
13
26
 .. contents::
14
27
 
31
44
 
32
45
 This is for those who want to get up & running quickly.  Read on for
33
46
 complete details.
34
 
@@ -259,6 +270,12 @@
 
47
@@ -259,6 +270,12 @@ with STDIN and STDOUT being the defaults.  Use the "--help" option to
35
48
 the front-end tools for details on options and arguments.  See
36
49
 Docutils Front-End Tools (``docs/user/tools.txt``) for full documentation.
37
50
 
44
57
 The package modules are continually growing and evolving.  The
45
58
 ``docutils.statemachine`` module is usable independently.  It contains
46
59
 extensive inline documentation (in reStructuredText format of course).
47
 
diff -urNad docutils-0.4~/docs/user/emacs.txt docutils-0.4/docs/user/emacs.txt
48
 
--- docutils-0.4~/docs/user/emacs.txt   2005-11-18 04:26:30.000000000 +0000
49
 
+++ docutils-0.4/docs/user/emacs.txt    2006-07-02 17:25:57.884998612 +0100
50
 
@@ -37,6 +37,9 @@
 
60
diff --git a/docs/user/emacs.txt b/docs/user/emacs.txt
 
61
index c61d781..d257ac4 100644
 
62
--- a/docs/user/emacs.txt
 
63
+++ b/docs/user/emacs.txt
 
64
@@ -99,6 +99,9 @@ adjust a section title::
51
65
 
52
 
   (require 'rst)  ;; or (load "rst")
 
66
   (add-hook 'rst-adjust-hook 'rst-toc-update)
53
67
 
54
68
+The Debian ``python-docutils`` package automatically sets up a suitable
55
69
+configuration.
57
71
 Additional configuration variables can be customized and can be found
58
72
 by browsing the source code for ``rst.el``.
59
73
 
60
 
diff -urNad docutils-0.4~/docs/user/tools.txt docutils-0.4/docs/user/tools.txt
61
 
--- docutils-0.4~/docs/user/tools.txt   2005-12-09 04:21:34.000000000 +0000
62
 
+++ docutils-0.4/docs/user/tools.txt    2006-07-02 17:26:45.984758112 +0100
63
 
@@ -39,6 +39,10 @@
 
74
diff --git a/docs/user/tools.txt b/docs/user/tools.txt
 
75
index 2c728de..05d2623 100644
 
76
--- a/docs/user/tools.txt
 
77
+++ b/docs/user/tools.txt
 
78
@@ -39,6 +39,10 @@ one argument (source) is specified, the standard output (stdout) is
64
79
 used for the destination.  If no arguments are specified, the standard
65
80
 input (stdin) is used for the source as well.
66
81
 
71
86
 
72
87
 Getting Help
73
88
 ============
74
 
@@ -66,13 +70,15 @@
 
89
@@ -66,13 +70,15 @@ buildhtml.py
75
90
 :Parser: reStructuredText
76
91
 :Writers: HTML, PEP/HTML
77
92
 
88
103
 
89
104
 After unpacking the Docutils package, the following shell commands
90
105
 will generate HTML for all included documentation::
91
 
@@ -103,6 +109,8 @@
 
106
@@ -103,6 +109,8 @@ rst2html.py
92
107
 :Parser: reStructuredText
93
108
 :Writer: HTML
94
109
 
97
112
 The ``rst2html.py`` front end reads standalone reStructuredText source
98
113
 files and produces HTML 4 (XHTML 1) output compatible with modern
99
114
 browsers that support cascading stylesheets (CSS).  A stylesheet is
100
 
@@ -112,13 +120,13 @@
 
115
@@ -112,13 +120,13 @@ installed and used by default (see Stylesheets_ below).
101
116
 For example, to process a reStructuredText file "``test.txt``" into
102
117
 HTML::
103
118
 
113
128
 
114
129
 
115
130
 Stylesheets
116
 
@@ -146,6 +154,8 @@
 
131
@@ -146,6 +154,8 @@ rstpep2html.py
117
132
 :Parser: reStructuredText
118
133
 :Writer: PEP/HTML
119
134
 
122
137
 ``rstpep2html.py`` reads a new-style PEP (marked up with
123
138
 reStructuredText) and produces HTML.  It requires a template file and
124
139
 a stylesheet.  By default, it makes use of a "``pep-html-template``"
125
 
@@ -156,7 +166,7 @@
 
140
@@ -156,7 +166,7 @@ by command-line options or configuration files.
126
141
 For example, to process a PEP into HTML::
127
142
 
128
143
     cd <path-to-docutils>/docs/peps
131
146
 
132
147
 
133
148
 rst2s5.py
134
 
@@ -166,6 +176,8 @@
 
149
@@ -166,6 +176,8 @@ rst2s5.py
135
150
 :Parser: reStructuredText
136
151
 :Writer: S5/HTML
137
152
 
140
155
 The ``rst2s5.py`` front end reads standalone reStructuredText source
141
156
 files and produces (X)HTML output compatible with S5_, the "Simple
142
157
 Standards-based Slide Show System" by Eric Meyer.  A theme is required
143
 
@@ -175,7 +187,7 @@
 
158
@@ -175,7 +187,7 @@ are available; see Themes_ below.
144
159
 For example, to process a reStructuredText file "``slides.txt``" into
145
160
 S5/HTML::
146
161
 
149
164
 
150
165
 Now open the "``slides.html``" file in your favorite browser, switch
151
166
 to full-screen mode, and enjoy the results.
152
 
@@ -193,7 +205,7 @@
 
167
@@ -193,7 +205,7 @@ using the "``--theme``" option (for themes that come with Docutils) or
153
168
 the "``--theme-url``" option (for themes anywhere).  For example, the
154
169
 "medium-black" theme can be specified as follows::
155
170
 
158
173
 
159
174
 The theme will be copied to the ``ui/medium-black`` directory.
160
175
 
161
 
@@ -276,11 +288,14 @@
 
176
@@ -276,11 +288,14 @@ rst2latex.py
162
177
 :Parser: reStructuredText
163
178
 :Writer: LaTeX2e
164
179
 
174
189
 
175
190
 The output file "``test.tex``" should then be processed with ``latex``
176
191
 or ``pdflatex`` to get a typeset document.
177
 
@@ -306,6 +321,8 @@
 
192
@@ -306,6 +321,8 @@ rst2xml.py
178
193
 :Parser: reStructuredText
179
194
 :Writer: XML (Docutils native)
180
195
 
183
198
 The ``rst2xml.py`` front end produces Docutils-native XML output.
184
199
 This can be transformed with standard XML tools such as XSLT
185
200
 processors into arbitrary final forms.
186
 
@@ -321,6 +338,8 @@
 
201
@@ -321,6 +338,8 @@ rst2pseudoxml.py
187
202
 :Parser: reStructuredText
188
203
 :Writer: Pseudo-XML
189
204
 
192
207
 ``rst2pseudoxml.py`` is used for debugging the Docutils "Reader to
193
208
 Transform to Writer" pipeline.  It produces a compact pretty-printed
194
209
 "pseudo-XML", where nesting is indicated by indentation (no end-tags).
195
 
@@ -335,6 +354,9 @@
 
210
@@ -335,6 +354,9 @@ quicktest.py
196
211
 :Parser: reStructuredText
197
212
 :Writer: N/A
198
213
 
202
217
 The ``quicktest.py`` tool is used for testing the reStructuredText
203
218
 parser.  It does not use a Docutils Reader or Writer or the standard
204
219
 Docutils command-line options.  Rather, it does its own I/O and calls
 
220
-- 
 
221
1.5.6.2
 
222