flnews_post_proc 1.93b → 1.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6fe16934baacc6cd321805179264c34fd2b47d2de48452130d753f5bed342f1
4
- data.tar.gz: 13c5c2ae66d07cbcfc16f7133322aa94478c07de788649c56b69ed28d91933e4
3
+ metadata.gz: 56252ac144947269f2c3da32cd3515c156e2291035ddbb3e5639833e82db2b8e
4
+ data.tar.gz: f496b15533d85ef6193555c2fc0fae8a9ddc0fcd84cc74fd929db71228d74c2c
5
5
  SHA512:
6
- metadata.gz: 3a20c7a6685869a15e9559a56b31d92e966452d7608fe9ce7e5f899a82247b00149569805ad7b12ad498d931c133ffb92b48b3160b5c259aa45f0aaa8c4f7f04
7
- data.tar.gz: 46161bd2b67b5763d6f22d19b92d7bd3c4f0ad3ffe2e9da6d157bca2315864fa585e51305653f4461047c36289146e3ab02e34fa0a718ae80890b0cee79f9779
6
+ metadata.gz: c04cae0d061deedadfa4fbd08adf9ef2bedecaa68e0f2c2bed977c99eea2967aa463c653419a68fc124ee6ef147a9f1b6e152c5ef146be7beeb7f758721cccdd
7
+ data.tar.gz: 0fc009b0228e5c9e8370f7eb2105acc2dd02857319d47905ec44872df015eed20e4ebb6a0c1b80e423515c4aa81c97c5113c2bb6eb94c5a388102976a25b767e
@@ -104,7 +104,7 @@
104
104
  </li>
105
105
 
106
106
  <li>
107
- <p><a class="reference internal" href="#configuration"
107
+ <p><a class="reference internal" href="#configuration-1"
108
108
  id="toc-entry-5">CONFIGURATION</a>
109
109
  </p>
110
110
 
@@ -125,34 +125,41 @@
125
125
  </p>
126
126
 
127
127
  <ul>
128
+ <li>
129
+ <p><a class="reference internal" href=
130
+ "#creation-des-notes-de-bas-de-page-1" id=
131
+ "toc-entry-8">Création des notes de bas de page</a>
132
+ </p>
133
+ </li>
134
+
128
135
  <li>
129
136
  <p><a class="reference internal" href=
130
137
  "#remplacement-avec-signature" id=
131
- "toc-entry-8">Remplacement avec signature</a>
138
+ "toc-entry-9">Remplacement avec signature</a>
132
139
  </p>
133
140
  </li>
134
141
 
135
142
  <li>
136
143
  <p><a class="reference internal" href="#tester" id=
137
- "toc-entry-9">Tester</a>
144
+ "toc-entry-10">Tester</a>
138
145
  </p>
139
146
  </li>
140
147
 
141
148
  <li>
142
149
  <p><a class="reference internal" href="#code-source"
143
- id="toc-entry-10">Code source</a>
150
+ id="toc-entry-11">Code source</a>
144
151
  </p>
145
152
  </li>
146
153
 
147
154
  <li>
148
155
  <p><a class="reference internal" href="#license" id=
149
- "toc-entry-11">License</a>
156
+ "toc-entry-12">License</a>
150
157
  </p>
151
158
  </li>
152
159
 
153
160
  <li>
154
161
  <p><a class="reference internal" href="#auteur" id=
155
- "toc-entry-12">Auteur</a>
162
+ "toc-entry-13">Auteur</a>
156
163
  </p>
157
164
  </li>
158
165
  </ul>
@@ -302,7 +309,10 @@
302
309
 
303
310
  <p>Exemple (avec séparateur <strong>%=</strong> ) : «
304
311
  Ceci est un objet %=et ceci devient la note en bas de
305
- page, qui décrit l'objet plus précisément=% »</p>
312
+ page, qui décrit l'objet plus précisément=% » (voir
313
+ plus bas : <a class="reference internal" href=
314
+ "#creation-des-notes-de-bas-de-page">Création des notes
315
+ de bas de page</a>:</p>
306
316
  </li>
307
317
  </ul>
308
318
  </section>
@@ -363,7 +373,8 @@
363
373
  </section>
364
374
  </section>
365
375
 
366
- <section id="configuration">
376
+ <section id="configuration-1">
377
+ <span id="configuration"></span>
367
378
  <h2>CONFIGURATION</h2>
368
379
 
369
380
  <p>La première fois que vous exécutez le logiciel, une copie
@@ -618,7 +629,7 @@ alt.fr.test: /home/[utilisateur]/.signatures</pre>
618
629
  <p>EXEMPLE: '%?'</p>
619
630
  </blockquote>
620
631
 
621
- <p><strong>REFERENCE_FORMAT</strong>
632
+ <p id="reference-format"><strong>REFERENCE_FORMAT</strong>
622
633
  </p>
623
634
 
624
635
  <blockquote>
@@ -695,6 +706,24 @@ alt.fr.test: /home/[utilisateur]/.signatures</pre>
695
706
  <section id="autres-informations">
696
707
  <h2>Autres Informations</h2>
697
708
 
709
+ <section id="creation-des-notes-de-bas-de-page-1">
710
+ <span id="creation-des-notes-de-bas-de-page"></span>
711
+ <h3>Création des notes de bas de page</h3>
712
+
713
+ <p>Il peut être tentant d'écrire le texte des notes de bas
714
+ de page (ou les références URL) en ligne lors de la
715
+ rédaction d'un article, mais cela risque de perturber la
716
+ mise en forme de vos lignes. Il est difficile de prévoir la
717
+ longueur des lignes après le déplacement automatique des
718
+ notes de bas de page à la fin. Écrivez plutôt votre article
719
+ dans son intégralité, puis ajoutez les notes de bas de page
720
+ juste avant la publication. Cela vous permettra d'anticiper
721
+ l'apparence finale de l'article une fois que les marqueurs
722
+ de notes de bas de page auront remplacé le texte intégré
723
+ (voir <a class="reference internal" href=
724
+ "#reference-format">REFERENCE_FORMAT</a>, ci-dessus).</p>
725
+ </section>
726
+
698
727
  <section id="remplacement-avec-signature">
699
728
  <h3>Remplacement avec signature</h3>
700
729
 
@@ -813,16 +842,9 @@ alt.fr.test: /home/[utilisateur]/.signatures</pre>
813
842
  <section id="auteur">
814
843
  <h3>Auteur</h3>
815
844
 
816
- <div class="line-block">
817
- <div class="line">
818
- <strong>flnews_post_proc</strong> a été développé par
819
- </div>
820
-
821
- <div class="line">
822
- Michael Uplawski &lt;<a class="reference external"
823
- href="mailto:michael.uplawski@uplawski.eu">michael.uplawski@uplawski.eu</a>&gt;
824
- </div>
825
- </div>
845
+ <p><strong>flnews_post_proc</strong> a été développé par
846
+ Michael Uplawski &lt;<a class="reference external" href=
847
+ "mailto:michael.uplawski@uplawski.eu">michael.uplawski@uplawski.eu</a>&gt;</p>
826
848
 
827
849
  <p>Ω</p>
828
850
  </section>
Binary file
Binary file
@@ -106,7 +106,8 @@ des raisons parfois arbitraires :
106
106
 
107
107
  Exemple (avec séparateur **%=** ) :
108
108
  « Ceci est un objet %=et ceci devient la note en bas de page, qui décrit
109
- l'objet plus précisément=% »
109
+ l'objet plus précisément=% » (voir plus bas : `Création des notes de bas
110
+ de page`_:
110
111
 
111
112
  Dialogue pour désactiver des options
112
113
  ---------------------------------------
@@ -140,6 +141,8 @@ Vous pouvez même désactiver le dialogue, ce qui garantit que toutes les option
140
141
  configurées seront appliquées sans interaction supplémentaire (voir ci-dessous :
141
142
  option OVERRIDE_CONFIG).
142
143
 
144
+ .. _configuration:
145
+
143
146
  CONFIGURATION
144
147
  =============
145
148
  La première fois que vous exécutez le logiciel, une copie de la configuration
@@ -332,6 +335,8 @@ Options de configuration
332
335
 
333
336
  EXEMPLE: '%?'
334
337
 
338
+ .. _REFERENCE_FORMAT:
339
+
335
340
  **REFERENCE_FORMAT**
336
341
 
337
342
  Une chaîne de formatage, contenant %s pour représenter une nombre, qui
@@ -385,6 +390,20 @@ Options de configuration
385
390
  Autres Informations
386
391
  ===================
387
392
 
393
+ .. _Création des notes de bas de page:
394
+
395
+ Création des notes de bas de page
396
+ -------------------------------------
397
+ Il peut être tentant d'écrire le texte des notes de bas de page (ou les
398
+ références URL) en ligne lors de la rédaction d'un article, mais cela risque de
399
+ perturber la mise en forme de vos lignes. Il est difficile de prévoir la
400
+ longueur des lignes après le déplacement automatique des notes de bas de page à
401
+ la fin.
402
+ Écrivez plutôt votre article dans son intégralité, puis ajoutez les notes de
403
+ bas de page juste avant la publication. Cela vous permettra d'anticiper
404
+ l'apparence finale de l'article une fois que les marqueurs de notes de bas de
405
+ page auront remplacé le texte intégré (voir REFERENCE_FORMAT_, ci-dessus).
406
+
388
407
  Remplacement avec signature
389
408
  ---------------------------
390
409
 
@@ -449,7 +468,6 @@ répertoire « doc » de la gem ).
449
468
 
450
469
  Auteur
451
470
  ------
452
- | |program| a été développé par
453
- | Michael Uplawski <michael.uplawski@uplawski.eu>
471
+ |program| a été développé par Michael Uplawski <michael.uplawski@uplawski.eu>
454
472
 
455
473
  Ω
@@ -1,11 +1,9 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
3
  <head>
4
- <meta name="generator" content=
5
- "HTML Tidy for HTML5 for Linux version 5.8.0" />
6
- <meta charset="utf-8" />
7
- <meta name="generator" content=
8
- "Docutils 0.22.4: https://docutils.sourceforge.io/" />
4
+ <meta name="generator" content="vim - Vi Improved, a programmer's editor; HTML Tidy for Linux version 5.8.0
5
+ "/>
6
+ <meta charset="utf-8" />
9
7
  <meta name="viewport" content=
10
8
  "width=device-width, initial-scale=1" />
11
9
  <title>Flnews_post_proc</title>
@@ -126,34 +124,41 @@
126
124
  </p>
127
125
 
128
126
  <ul>
127
+ <li>
128
+ <p><a class="reference internal" href=
129
+ "#editing-footnotes-1" id="toc-entry-8">Editing
130
+ footnotes</a>
131
+ </p>
132
+ </li>
133
+
129
134
  <li>
130
135
  <p><a class="reference internal" href=
131
136
  "#signatures-in-supersedes-1" id=
132
- "toc-entry-8">Signatures in Supersedes</a>
137
+ "toc-entry-9">Signatures in Supersedes</a>
133
138
  </p>
134
139
  </li>
135
140
 
136
141
  <li>
137
142
  <p><a class="reference internal" href="#testing-1"
138
- id="toc-entry-9">Testing</a>
143
+ id="toc-entry-10">Testing</a>
139
144
  </p>
140
145
  </li>
141
146
 
142
147
  <li>
143
148
  <p><a class="reference internal" href=
144
- "#source-code-1" id="toc-entry-10">Source Code</a>
149
+ "#source-code-1" id="toc-entry-11">Source Code</a>
145
150
  </p>
146
151
  </li>
147
152
 
148
153
  <li>
149
154
  <p><a class="reference internal" href="#license-1"
150
- id="toc-entry-11">License</a>
155
+ id="toc-entry-12">License</a>
151
156
  </p>
152
157
  </li>
153
158
 
154
159
  <li>
155
160
  <p><a class="reference internal" href="#author-1" id=
156
- "toc-entry-12">Author</a>
161
+ "toc-entry-13">Author</a>
157
162
  </p>
158
163
  </li>
159
164
  </ul>
@@ -168,8 +173,7 @@
168
173
  <p>The post-processor is invoked by piping an article into
169
174
  it. This typically occurs automatically when the "post_proc"
170
175
  variable is set to <strong>flnews_post_proc</strong> in the
171
- flnews <a class="reference internal" href=
172
- "#configuration">configuration</a> file.</p>
176
+ flnews configuration file.</p>
173
177
 
174
178
  <p>For testing purposes, you can also pipe locally stored
175
179
  articles into the post-processor using a command like:</p>
@@ -219,13 +223,12 @@
219
223
  <li>
220
224
  <p>If you're posting to different newsgroups in
221
225
  multiple languages, the introductory line referencing a
222
- prior post can only be set once in the flnews <a class=
223
- "reference internal" href=
224
- "#configuration">configuration</a> file. As a result,
225
- posts to a French newsgroup, for example, may start
226
- with an introduction in English. The post-processor can
227
- address this by setting specific introductory lines for
228
- each newsgroup.</p>
226
+ prior post can only be set once in the flnews
227
+ configuration file. As a result, posts to a French
228
+ newsgroup, for example, may start with an introduction
229
+ in English. The post-processor can address this by
230
+ setting specific introductory lines for each
231
+ newsgroup.</p>
229
232
  </li>
230
233
 
231
234
  <li>
@@ -241,10 +244,8 @@
241
244
  <p>Custom headers, such as GnuPG key IDs or your
242
245
  language proficiency, can also be added to posts,
243
246
  though signatures may be a better alternative. Custom
244
- headers can be defined in the <a class=
245
- "reference internal" href=
246
- "#configuration">configuration</a> file and will be
247
- added to outgoing posts.</p>
247
+ headers can be defined in the configuration file and
248
+ will be added to outgoing posts.</p>
248
249
  </li>
249
250
 
250
251
  <li>
@@ -266,11 +267,12 @@
266
267
  URLs can become cluttered. The post-processor can
267
268
  convert marked text into footnotes, similar to the
268
269
  &lt;ref/&gt; link format used in Wikipedia, with the
269
- delimiter configurable in the <a class=
270
- "reference internal" href=
271
- "#configuration">configuration</a> file. Example (using
272
- %=): "This is an object %=and this becomes the
273
- footnote, describing the object further=%"</p>
270
+ delimiter configurable in the configuration file.
271
+ Example (using %=): "This is an object %=and this
272
+ becomes the footnote, describing the object further=%".
273
+ See also the hints under <a class="reference internal"
274
+ href="#editing-footnotes">EDITING FOOTNOTES</a>,
275
+ below.</p>
274
276
  </li>
275
277
  </ul>
276
278
  </section>
@@ -285,18 +287,17 @@
285
287
  <p>Before the post-processor runs, a dialog can be
286
288
  displayed to allow users to <strong>disable</strong>
287
289
  certain <a class="reference internal" href=
288
- "#configuration">configuration</a> options. If Whiptail or
290
+ "#configuration">CONFIGURATION</a> options. If Whiptail or
289
291
  xterm are available, you can choose to disable the
290
292
  following options. You <strong>cannot</strong> enable
291
- options that haven't already been set in the <a class=
292
- "reference internal" href=
293
- "#configuration">configuration</a>.</p>
293
+ options that haven't already been set in the
294
+ configuration.</p>
294
295
 
295
296
  <ul class="simple">
296
297
  <li>
297
298
  <p>Signatures (if set in the <a class=
298
299
  "reference internal" href=
299
- "#configuration">configuration</a>) can be
300
+ "#configuration">CONFIGURATION</a>) can be
300
301
  <strong>ignored</strong>. A default signature will be
301
302
  used, or no signature at all.</p>
302
303
  </li>
@@ -531,7 +532,7 @@ comp.*: /home/[user]/.my_sigs</pre>
531
532
  <p>EXAMPLE: '%?'</p>
532
533
  </blockquote>
533
534
 
534
- <p><strong>REFERENCE_FORMAT</strong>
535
+ <p id="reference-format"><strong>REFERENCE_FORMAT</strong>
535
536
  </p>
536
537
 
537
538
  <blockquote>
@@ -580,6 +581,26 @@ comp.*: /home/[user]/.my_sigs</pre>
580
581
  <span id="other-information"></span>
581
582
  <h2>Other Information</h2>
582
583
 
584
+ <section id="editing-footnotes-1">
585
+ <span id="editing-footnotes"></span>
586
+ <h3>Editing footnotes</h3>
587
+
588
+ <p>Writing footnote text (or URL-references) inline when
589
+ you are about to redact a news article, may be tempting,
590
+ but it can –and probably will– mess up the line breaks in
591
+ the post: It is too difficult to estimate the length of a
592
+ text line, after the footnote is automatically removed and
593
+ put at the end of the article.</p>
594
+
595
+ <p>You should rather prepare the entire article and
596
+ <strong>insert</strong> footnote text right before posting.
597
+ This way you have a realistic grasp of the appearance of
598
+ the authentic article, after the additional text has been
599
+ replaced by your choice of a symbol (see <a class=
600
+ "reference internal" href=
601
+ "#reference-format">REFERENCE_FORMAT</a>, above).</p>
602
+ </section>
603
+
583
604
  <section id="signatures-in-supersedes-1">
584
605
  <span id="signatures-in-supersedes"></span>
585
606
  <h3>Signatures in Supersedes</h3>
Binary file
Binary file
@@ -21,7 +21,7 @@ SYNOPSIS
21
21
  ===========================
22
22
  The post-processor is invoked by piping an article into it. This typically
23
23
  occurs automatically when the "post_proc" variable is set to |program|
24
- in the flnews `configuration`_ file.
24
+ in the flnews configuration file.
25
25
 
26
26
  For testing purposes, you can also pipe locally stored articles into the
27
27
  post-processor using a command like:
@@ -60,7 +60,7 @@ unsatisfactory for arbitrary reasons:
60
60
 
61
61
  * If you're posting to different newsgroups in multiple languages, the
62
62
  introductory line referencing a prior post can only be set once in the flnews
63
- `configuration`_ file. As a result, posts to a French newsgroup, for example,
63
+ configuration file. As a result, posts to a French newsgroup, for example,
64
64
  may start with an introduction in English. The post-processor can address
65
65
  this by setting specific introductory lines for each newsgroup.
66
66
 
@@ -71,7 +71,7 @@ unsatisfactory for arbitrary reasons:
71
71
 
72
72
  * Custom headers, such as GnuPG key IDs or your language proficiency, can also
73
73
  be added to posts, though signatures may be a better alternative. Custom
74
- headers can be defined in the `configuration`_ file and will be added to
74
+ headers can be defined in the configuration file and will be added to
75
75
  outgoing posts.
76
76
 
77
77
  * Headers like "Archive" and "X-No-Archive" are sometimes set to prevent an
@@ -86,9 +86,10 @@ unsatisfactory for arbitrary reasons:
86
86
  * Posts that include many references to other posts or URLs can become
87
87
  cluttered. The post-processor can convert marked text into footnotes, similar
88
88
  to the <ref/> link format used in Wikipedia, with the delimiter configurable
89
- in the `configuration`_ file.
89
+ in the configuration file.
90
90
  Example (using %=): "This is an object %=and this becomes the footnote,
91
- describing the object further=%"
91
+ describing the object further=%". See also the hints under
92
+ `EDITING FOOTNOTES`_, below.
92
93
 
93
94
  .. _Dialog for Overriding Settings:
94
95
 
@@ -98,11 +99,11 @@ Dialog for Overriding Settings
98
99
  interface.
99
100
 
100
101
  Before the post-processor runs, a dialog can be displayed to allow users to
101
- **disable** certain `configuration`_ options. If Whiptail or xterm are available,
102
+ **disable** certain `CONFIGURATION`_ options. If Whiptail or xterm are available,
102
103
  you can choose to disable the following options. You **cannot** enable options
103
- that haven't already been set in the `configuration`_.
104
+ that haven't already been set in the configuration.
104
105
 
105
- * Signatures (if set in the `configuration`_) can be **ignored**. A default
106
+ * Signatures (if set in the `CONFIGURATION`_) can be **ignored**. A default
106
107
  signature will be used, or no signature at all.
107
108
  * Custom headers can be **omitted**.
108
109
  * The "Archive" and "X-No-Archive" headers can be **ignored** if set for the
@@ -155,7 +156,7 @@ Configuration Options
155
156
 
156
157
  EXAMPLE2: "**(.*)** wrote:"
157
158
 
158
- .. _fup_group:
159
+ .. _FUP_GROUP:
159
160
 
160
161
  **FUP_GROUP**
161
162
 
@@ -170,7 +171,7 @@ Configuration Options
170
171
 
171
172
  EXAMPLE: "wrote in **(.*)**:"
172
173
 
173
- .. _group_intros:
174
+ .. _GROUP_INTROS:
174
175
 
175
176
  **GROUP_INTROS**
176
177
 
@@ -271,6 +272,8 @@ Configuration Options
271
272
 
272
273
  EXAMPLE: '%?'
273
274
 
275
+ .. _REFERENCE_FORMAT:
276
+
274
277
  **REFERENCE_FORMAT**
275
278
 
276
279
  A format string using `%s` for a number to replace the reference text in
@@ -310,6 +313,18 @@ Configuration Options
310
313
  Other Information
311
314
  ========================
312
315
 
316
+ .. _EDITING FOOTNOTES:
317
+
318
+ Editing footnotes
319
+ -----------------
320
+ Writing footnote text (or URL references) inline while composing an article may
321
+ be tempting, but it will likely break your line formatting. It's difficult to
322
+ predict line lengths after footnotes are automatically moved to the end.
323
+ Instead, write your complete article first, then add footnotes just before
324
+ posting.
325
+ This lets you anticipate how the final article will look after footnote markers
326
+ replace the inline text (see REFERENCE_FORMAT_, above).
327
+
313
328
  .. _Signatures in Supersedes:
314
329
 
315
330
  Signatures in Supersedes
data/lib/version.rb CHANGED
@@ -14,8 +14,8 @@
14
14
  =end
15
15
 
16
16
  PROGNAME = 'flnews_post_proc'
17
- PROGVERSION = "1.93b"
17
+ PROGVERSION = "1.94"
18
18
  AUTHORS = "Michael Uplawski"
19
19
  EMAIL = "michael.uplawski@uplawski.eu"
20
20
  YEARS = "2023 - 2026"
21
- SUMMARY = "Ruby 4.x References precede a signature, also in Supersedes"
21
+ SUMMARY = "Documentation improved (concerns mainly the PDF)"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flnews_post_proc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.93b
4
+ version: '1.94'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Uplawski
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-01-24 00:00:00.000000000 Z
10
+ date: 2026-01-26 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: diffy
@@ -103,5 +103,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements: []
104
104
  rubygems_version: 4.0.4
105
105
  specification_version: 4
106
- summary: Ruby 4.x References precede a signature, also in Supersedes
106
+ summary: Documentation improved (concerns mainly the PDF)
107
107
  test_files: []