Package: bookletimposer / 0.2-5

fix-help.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
Description: Update help for python-distutils-extra 2.38
Author: Jeremy Bicha <jbicha@ubuntu.com>
Forwarded: kjo@a4nancy.net.eu.org
Index: bookletimposer-0.2/help/C/bookletimposer.xml
===================================================================
--- bookletimposer-0.2.orig/help/C/bookletimposer.xml	2012-05-15 09:22:08.000000000 -0400
+++ /dev/null	1970-01-01 00:00:00.000000000 +0000
@@ -1,265 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
-"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
-  <!ENTITY legal SYSTEM "legal.xml">
-  <!ENTITY appversion "0.1">
-  <!ENTITY manrevision "0.1">
-  <!ENTITY app "Bookletimposer">
-]>
-<!-- 
-  Maintained by the GNOME Documentation Project
-  http://developer.gnome.org/projects/gdp
-  Template version: 2.0 beta
-  Template last modified Apr 11, 2002
--->
-<article id="index" lang="en">
-  <articleinfo> 
-    <title>&app; Manual</title> 
-    <abstract role="description">
-      <para>&app; is an utility to achieve some basic imposition on PDF
-      documents</para>
-    </abstract>
-    <copyright> 
-      <year>2012</year> 
-      <holder>Kjö Hansi Glaz</holder> 
-    </copyright>
-    <!-- translators: uncomment this:
-    <copyright>
-      <year>2003</year>
-      <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
-    </copyright>
-    -->
-    <publisher> 
-      <publishername>Kjö Hansi Glaz</publishername> 
-    </publisher> 
-
-    &legal;
-    <!-- This file  contains link to license for the documentation (GNU FDL), and 
-    other legal stuff such as "NO WARRANTY" statement. Please do not change 
-    any of this. -->
-
-    <authorgroup> 
-      <author> 
-        <firstname>Kjö Hansi Glaz</firstname> 
-      </author> 
-    </authorgroup>
-
-
-    <!-- According to GNU FDL, revision history is mandatory if you are -->
-    <!-- modifying/reusing someone else's document.  If not, you can omit it. -->
-    <!-- Remember to remove the &manrevision; entity from the revision entries other -->
-    <!-- than the current revision. -->
-    <revhistory>
-      <revision> 
-        <revnumber>&app; User Manual 0.1</revnumber> 
-        <date>17 Fev 2012</date> 
-        <revdescription> 
-                <para role="author">Kjö Hansi Glaz</para>
-        </revdescription> 
-        </revision> 
-    </revhistory> 
-
-    <releaseinfo>This manual describes version &appversion; of &app;.</releaseinfo> 
-    <legalnotice> 
-      <title>Feedback</title> 
-      <para>To report a bug or make a suggestion regarding &app; or
-      this manual, please send an email to
-      <email>kjo@a4nancy.net.eu.org</email>.</para>
-<!-- Translators may also add here feedback address for translations -->
-    </legalnotice> 
-  </articleinfo> 
-
-  <indexterm><primary>bookletimposer</primary></indexterm>
-
-
-  <!-- ============= Document Body ============================= -->
-  <!-- ============= Introduction ============================== -->
-  <!-- Use the Introduction section to give a brief overview of what
-       the application is and what it does. -->
-  <sect1 id="introduction"> 
-    <title>Introduction</title> 
-
-    <mediaobject>
-      <imageobject><imagedata fileref="figures/icon.png" format="PNG"/></imageobject>
-      <textobject><phrase><application>&app;</application> icon.</phrase></textobject> 
-    </mediaobject> 
- 
-    <para><application>&app;</application> is an utility to achieve some basic imposition on PDF
-    documents, especially designed to work on booklets.</para>
-
-    <para>
-      <application>&app;</application> allows:
-    </para>
-    <itemizedlist> 
-      <listitem><para>
-        to transform linear documents to booklets;
-      </para></listitem>
-      <listitem><para>
-        to reduce a document to put many on one sheet (for tracts for example);
-      </para></listitem>
-      <listitem><para>
-        to transform booklets to linear documents.
-      </para></listitem>
-    </itemizedlist>
-
-  </sect1>
-
-  <sect1 id="usage"> 
-    <title>Usage</title> 
-
-    <sect2 id="usage-start">
-    <title>To Start <application>&app;</application></title>
-    <para>You can start <application>&app;</application> in the following ways:
-    </para> 
-    <variablelist>
-      <varlistentry>
-        <term><guimenu>Applications</guimenu> menu</term>
-        <listitem>
-          <para>Choose 
-            <menuchoice>
-              <guisubmenu>Office</guisubmenu>
-              <guimenuitem>&app;</guimenuitem>
-            </menuchoice>.
-          </para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>Command line</term>
-          <listitem>
-            <para>To start <application>&app;</application> from a command line, type the following command, 
-            then press <keycap>Return</keycap>: <command>bookletimposer</command></para>
-          </listitem>
-        </varlistentry>
-      </variablelist>
-    </sect2>
-
-    <sect2 id="usage-main">
-    <title>Main window</title>
-    <para>When you start <application>&app;</application>, the following window
-      is displayed.</para>
-
-      <figure id="main-window-fig"> 
-        <title><application>&app;</application> window</title> 
-        <screenshot> 
-          <mediaobject>
-            <imageobject><imagedata fileref="figures/main-window.png" format="PNG"/></imageobject>
-            <textobject><phrase>Shows the<application>&app;</application> window.</phrase></textobject> 
-          </mediaobject> 
-        </screenshot> 
-      </figure>
-        
-        <para>The <application>&app;</application> window contains the following elements: </para>
-
-        <variablelist>
-          <varlistentry>
-            <term><guilabel>Input file</guilabel> button</term>
-            <listitem>
-              <para>Click on the button to choose the PDF file to work on.</para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><guilabel>Conversion type</guilabel></term>
-            <listitem>
-              <para>Choose the action to perform on the selected PDF file.</para>
-              <para>Available actions are:</para>
-              <itemizedlist> 
-                <listitem><para>
-                  <guilabel>Produce a booklet out of a linear
-                  document</guilabel> – to transform linear documents to
-                  booklets;
-                </para></listitem>
-                <listitem><para>
-                  <guilabel>Produce a linear document out of a
-                  booklet</guilabel> – to transform booklets to linear
-                  documents.
-                </para></listitem>
-                <listitem><para>
-                  <guilabel>Put multiple input pages on one output
-                  page</guilabel> – to reduce a document to put many on
-                  one sheet (for flyers for example);
-                </para></listitem>
-              </itemizedlist>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><guilabel>Copy the same group of input pages on one output
-            page</guilabel></term>
-            <listitem>
-              <para>To copy several times the same input page on each output
-              page. For instance with a one page input document, you may
-              select<guilabel>Put multiple input pages on one output
-              page</guilabel> in <guilabel>Conversion type</guilabel> and check
-              this box to obtain several copies of the input page.</para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><guilabel>Layout</guilabel></term>
-            <listitem>
-              <para>Use this drop-down list to select how to dispose input pages
-              on each output page. For example, select <guilabel>2x1</guilabel> to
-              output a simple booklet.</para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><guilabel>Output paper format</guilabel></term>
-            <listitem>
-              <para>Use this drop-down list to select the paper size of the
-              output and thus the scaling factor.</para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><guilabel>Output file</guilabel></term>
-            <listitem>
-              <para>Click on the button to open a choose where to save the
-              converted PDF file.</para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><guilabel>Apply</guilabel> button</term>
-            <listitem>
-              <para>Click on this button to launch the conversion. A window will
-              pop up to show the progression.</para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><guilabel>Close</guilabel> button</term>
-            <listitem>
-              <para>Click on this button to close <application>&app;</application>.</para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><guilabel>Help</guilabel> button</term>
-            <listitem>
-              <para>Click on this button to display this help.</para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><guilabel>About</guilabel> button</term>
-            <listitem>
-              <para>Click on this button to display informations about &app;,
-              its version, etc.</para>
-            </listitem>
-          </varlistentry>
-        </variablelist>
-
-    </sect2>
-  </sect1>
-
-  <sect1 id="about"> 
-    <title>About &app;</title> 
-    <para>
-      To find more information about &app;, please visit the <ulink
-      url="http://kjo.herbesfolles.org/bookletimposer/" type="http">&app; Web
-      site</ulink>.
-    </para>
-
-    <para> This program is distributed under the terms of the GNU
-      General Public license as published by the Free Software
-      Foundation; either version 3 of the License, or (at your option)
-      any later version. A copy of this license can be found at this
-      <ulink url="ghelp:gpl" type="help">link</ulink>, or in the file
-      COPYING included with the source code of this program.
-    </para>
-  </sect1> 
-
-</article>
Index: bookletimposer-0.2/help/C/index.docbook
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ bookletimposer-0.2/help/C/index.docbook	2013-07-23 13:15:12.953330952 -0400
@@ -0,0 +1,265 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+  <!ENTITY legal SYSTEM "legal.xml">
+  <!ENTITY appversion "0.1">
+  <!ENTITY manrevision "0.1">
+  <!ENTITY app "Bookletimposer">
+]>
+<!-- 
+  Maintained by the GNOME Documentation Project
+  http://developer.gnome.org/projects/gdp
+  Template version: 2.0 beta
+  Template last modified Apr 11, 2002
+-->
+<article id="index" lang="en">
+  <articleinfo> 
+    <title>&app; Manual</title> 
+    <abstract role="description">
+      <para>&app; is an utility to achieve some basic imposition on PDF
+      documents</para>
+    </abstract>
+    <copyright> 
+      <year>2012</year> 
+      <holder>Kjö Hansi Glaz</holder> 
+    </copyright>
+    <!-- translators: uncomment this:
+    <copyright>
+      <year>2003</year>
+      <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
+    </copyright>
+    -->
+    <publisher> 
+      <publishername>Kjö Hansi Glaz</publishername> 
+    </publisher> 
+
+    &legal;
+    <!-- This file  contains link to license for the documentation (GNU FDL), and 
+    other legal stuff such as "NO WARRANTY" statement. Please do not change 
+    any of this. -->
+
+    <authorgroup> 
+      <author> 
+        <firstname>Kjö Hansi Glaz</firstname> 
+      </author> 
+    </authorgroup>
+
+
+    <!-- According to GNU FDL, revision history is mandatory if you are -->
+    <!-- modifying/reusing someone else's document.  If not, you can omit it. -->
+    <!-- Remember to remove the &manrevision; entity from the revision entries other -->
+    <!-- than the current revision. -->
+    <revhistory>
+      <revision> 
+        <revnumber>&app; User Manual 0.1</revnumber> 
+        <date>17 Fev 2012</date> 
+        <revdescription> 
+                <para role="author">Kjö Hansi Glaz</para>
+        </revdescription> 
+        </revision> 
+    </revhistory> 
+
+    <releaseinfo>This manual describes version &appversion; of &app;.</releaseinfo> 
+    <legalnotice> 
+      <title>Feedback</title> 
+      <para>To report a bug or make a suggestion regarding &app; or
+      this manual, please send an email to
+      <email>kjo@a4nancy.net.eu.org</email>.</para>
+<!-- Translators may also add here feedback address for translations -->
+    </legalnotice> 
+  </articleinfo> 
+
+  <indexterm><primary>bookletimposer</primary></indexterm>
+
+
+  <!-- ============= Document Body ============================= -->
+  <!-- ============= Introduction ============================== -->
+  <!-- Use the Introduction section to give a brief overview of what
+       the application is and what it does. -->
+  <sect1 id="introduction"> 
+    <title>Introduction</title> 
+
+    <mediaobject>
+      <imageobject><imagedata fileref="figures/icon.png" format="PNG"/></imageobject>
+      <textobject><phrase><application>&app;</application> icon.</phrase></textobject> 
+    </mediaobject> 
+ 
+    <para><application>&app;</application> is an utility to achieve some basic imposition on PDF
+    documents, especially designed to work on booklets.</para>
+
+    <para>
+      <application>&app;</application> allows:
+    </para>
+    <itemizedlist> 
+      <listitem><para>
+        to transform linear documents to booklets;
+      </para></listitem>
+      <listitem><para>
+        to reduce a document to put many on one sheet (for tracts for example);
+      </para></listitem>
+      <listitem><para>
+        to transform booklets to linear documents.
+      </para></listitem>
+    </itemizedlist>
+
+  </sect1>
+
+  <sect1 id="usage"> 
+    <title>Usage</title> 
+
+    <sect2 id="usage-start">
+    <title>To Start <application>&app;</application></title>
+    <para>You can start <application>&app;</application> in the following ways:
+    </para> 
+    <variablelist>
+      <varlistentry>
+        <term><guimenu>Applications</guimenu> menu</term>
+        <listitem>
+          <para>Choose 
+            <menuchoice>
+              <guisubmenu>Office</guisubmenu>
+              <guimenuitem>&app;</guimenuitem>
+            </menuchoice>.
+          </para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>Command line</term>
+          <listitem>
+            <para>To start <application>&app;</application> from a command line, type the following command, 
+            then press <keycap>Return</keycap>: <command>bookletimposer</command></para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </sect2>
+
+    <sect2 id="usage-main">
+    <title>Main window</title>
+    <para>When you start <application>&app;</application>, the following window
+      is displayed.</para>
+
+      <figure id="main-window-fig"> 
+        <title><application>&app;</application> window</title> 
+        <screenshot> 
+          <mediaobject>
+            <imageobject><imagedata fileref="figures/main-window.png" format="PNG"/></imageobject>
+            <textobject><phrase>Shows the<application>&app;</application> window.</phrase></textobject> 
+          </mediaobject> 
+        </screenshot> 
+      </figure>
+        
+        <para>The <application>&app;</application> window contains the following elements: </para>
+
+        <variablelist>
+          <varlistentry>
+            <term><guilabel>Input file</guilabel> button</term>
+            <listitem>
+              <para>Click on the button to choose the PDF file to work on.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><guilabel>Conversion type</guilabel></term>
+            <listitem>
+              <para>Choose the action to perform on the selected PDF file.</para>
+              <para>Available actions are:</para>
+              <itemizedlist> 
+                <listitem><para>
+                  <guilabel>Produce a booklet out of a linear
+                  document</guilabel> – to transform linear documents to
+                  booklets;
+                </para></listitem>
+                <listitem><para>
+                  <guilabel>Produce a linear document out of a
+                  booklet</guilabel> – to transform booklets to linear
+                  documents.
+                </para></listitem>
+                <listitem><para>
+                  <guilabel>Put multiple input pages on one output
+                  page</guilabel> – to reduce a document to put many on
+                  one sheet (for flyers for example);
+                </para></listitem>
+              </itemizedlist>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><guilabel>Copy the same group of input pages on one output
+            page</guilabel></term>
+            <listitem>
+              <para>To copy several times the same input page on each output
+              page. For instance with a one page input document, you may
+              select<guilabel>Put multiple input pages on one output
+              page</guilabel> in <guilabel>Conversion type</guilabel> and check
+              this box to obtain several copies of the input page.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><guilabel>Layout</guilabel></term>
+            <listitem>
+              <para>Use this drop-down list to select how to dispose input pages
+              on each output page. For example, select <guilabel>2x1</guilabel> to
+              output a simple booklet.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><guilabel>Output paper format</guilabel></term>
+            <listitem>
+              <para>Use this drop-down list to select the paper size of the
+              output and thus the scaling factor.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><guilabel>Output file</guilabel></term>
+            <listitem>
+              <para>Click on the button to open a choose where to save the
+              converted PDF file.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><guilabel>Apply</guilabel> button</term>
+            <listitem>
+              <para>Click on this button to launch the conversion. A window will
+              pop up to show the progression.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><guilabel>Close</guilabel> button</term>
+            <listitem>
+              <para>Click on this button to close <application>&app;</application>.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><guilabel>Help</guilabel> button</term>
+            <listitem>
+              <para>Click on this button to display this help.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><guilabel>About</guilabel> button</term>
+            <listitem>
+              <para>Click on this button to display informations about &app;,
+              its version, etc.</para>
+            </listitem>
+          </varlistentry>
+        </variablelist>
+
+    </sect2>
+  </sect1>
+
+  <sect1 id="about"> 
+    <title>About &app;</title> 
+    <para>
+      To find more information about &app;, please visit the <ulink
+      url="http://kjo.herbesfolles.org/bookletimposer/" type="http">&app; Web
+      site</ulink>.
+    </para>
+
+    <para> This program is distributed under the terms of the GNU
+      General Public license as published by the Free Software
+      Foundation; either version 3 of the License, or (at your option)
+      any later version. A copy of this license can be found at this
+      <ulink url="help:gpl" type="help">link</ulink>, or in the file
+      COPYING included with the source code of this program.
+    </para>
+  </sect1> 
+
+</article>
Index: bookletimposer-0.2/help/C/legal.xml
===================================================================
--- bookletimposer-0.2.orig/help/C/legal.xml	2012-04-25 19:56:06.000000000 -0400
+++ bookletimposer-0.2/help/C/legal.xml	2013-07-23 13:15:40.193331531 -0400
@@ -6,7 +6,7 @@
       by the Free Software Foundation with no Invariant Sections,
       no Front-Cover Texts, and no Back-Cover Texts.  You can find
       a copy of the GFDL at this <ulink type="help"
-      url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS
+      url="help:fdl">link</ulink> or in the file COPYING-DOCS
       distributed with this manual.
     </para>
   </legalnotice>
Index: bookletimposer-0.2/lib/bookletimposer/gui.py
===================================================================
--- bookletimposer-0.2.orig/lib/bookletimposer/gui.py	2012-05-15 14:16:47.000000000 -0400
+++ bookletimposer-0.2/lib/bookletimposer/gui.py	2013-07-23 13:15:28.521331283 -0400
@@ -248,7 +248,7 @@
         self.close_application()
     
     def cb_help_button(self, widget, data=None):
-        uri = "ghelp:bookletimposer"
+        uri = "help:bookletimposer"
         try:
             Gtk.show_uri(screen = None, uri = uri,
                 timestamp = Gtk.get_current_event_time())