texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch release/7.1 updated: * Pod-Simple-Texinfo/pod2texi.pl ($pod2texi_


From: Patrice Dumas
Subject: branch release/7.1 updated: * Pod-Simple-Texinfo/pod2texi.pl ($pod2texi_help, $outdir) (@included): add --outdir to specify the directory where included files are output, with default based on --subdir. --subdir is now only used to specify include files directory from the main manual.
Date: Fri, 20 Sep 2024 03:28:11 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch release/7.1
in repository texinfo.

The following commit(s) were added to refs/heads/release/7.1 by this push:
     new cb3f273f49 * Pod-Simple-Texinfo/pod2texi.pl ($pod2texi_help, $outdir) 
(@included): add --outdir to specify the directory where included files are 
output, with default based on --subdir.  --subdir is now only used to specify 
include files directory from the main manual.
cb3f273f49 is described below

commit cb3f273f49e228d21bd8e7a98751176c90d35cfe
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Sep 20 09:28:05 2024 +0200

    * Pod-Simple-Texinfo/pod2texi.pl ($pod2texi_help, $outdir)
    (@included): add --outdir to specify the directory where included
    files are output, with default based on --subdir.  --subdir is now
    only used to specify include files directory from the main manual.
---
 ChangeLog                      |   7 ++
 Pod-Simple-Texinfo/pod2texi.pl |  66 ++++++++++++++-----
 doc/pod2texi.texi              |  12 +++-
 doc/tp_api/Makefile.am         |   3 +-
 man/pod2texi.1                 | 146 +++++++++++------------------------------
 5 files changed, 108 insertions(+), 126 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 96757d015d..4999d7fde1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-09-20  Patrice Dumas  <pertusus@free.fr>
+
+       * Pod-Simple-Texinfo/pod2texi.pl ($pod2texi_help, $outdir)
+       (@included): add --outdir to specify the directory where included
+       files are output, with default based on --subdir.  --subdir is now
+       only used to specify include files directory from the main manual.
+
 2024-09-10  Gavin Smith <gavinsmith0123@gmail.com>
 
        * info/terminal.c (terminal_prep_terminal_hook): Return void not
diff --git a/Pod-Simple-Texinfo/pod2texi.pl b/Pod-Simple-Texinfo/pod2texi.pl
index b39e3c544c..6d87d74506 100755
--- a/Pod-Simple-Texinfo/pod2texi.pl
+++ b/Pod-Simple-Texinfo/pod2texi.pl
@@ -123,12 +123,14 @@ and all the \@include is generated.");
   $pod2texi_help .= __("    --no-fill-section-gaps  do not fill sectioning 
gaps")."\n";
   $pod2texi_help .= __("    --no-section-nodes      use anchors for sections 
instead of nodes")."\n";
   $pod2texi_help .= __("    --menus                 generate node menus")."\n";
+  $pod2texi_help .= __("    --outdir=NAME           output included files in 
NAME.
+                                                    Defaults to 
--subdir")."\n";
   $pod2texi_help .= __("    --output=NAME           output to NAME for the 
first or main manual
                             instead of standard output")."\n";
   $pod2texi_help .= __("    --preamble=STR          insert STR as beginning 
boilerplate.
                             Defaults to a minimal Texinfo document 
beginning")."\n";
   $pod2texi_help .= __("    --setfilename           \@setfilename for the main 
manual")."\n";
-  $pod2texi_help .= __("    --subdir=NAME           put files included in the 
main manual in NAME")."\n";
+  $pod2texi_help .= __("    --subdir=NAME           include files from NAME in 
the main manual")."\n";
   $pod2texi_help .= __("    --top                   top for the main 
manual")."\n";
   $pod2texi_help .= __("    --unnumbered-sections   do not number 
sections")."\n";
   $pod2texi_help .= __("    --version               display version 
information and exit");
@@ -145,6 +147,7 @@ my $unnumbered_sections = 0;
 my $appendix_sections = 0;
 my $headings_as_sections = 0;
 my $generate_node_menus = 0;
+my $outdir;
 my $output = '-';
 my $top = 'top';
 my $setfilename = undef;
@@ -176,6 +179,7 @@ There is NO WARRANTY, to the extent permitted by law.\n"), 
"2021";
   'fill-section-gaps!' => \$fill_sectioning_gaps,
   'headings-as-sections!' => \$headings_as_sections,
   'menus!' => \$generate_node_menus,
+  'outdir' => \$outdir,
   'output|o=s' => \$output,
   'preamble=s' => \$preamble,
   'setfilename=s' => \$setfilename,
@@ -188,11 +192,15 @@ There is NO WARRANTY, to the extent permitted by 
law.\n"), "2021";
 
 exit 1 if (!$result_options);
 
-if (defined($subdir)) {
-  if (! -d $subdir) {
-    if (!mkdir($subdir)) {
+if (!defined($outdir) and defined($subdir)) {
+  $outdir = $subdir;
+}
+
+if (defined($outdir)) {
+  if (! -d $outdir) {
+    if (!mkdir($outdir)) {
       die sprintf(__("%s: could not create directory %s: %s"),
-                  $real_command_name, $subdir, $!);
+                  $real_command_name, $outdir, $!);
     }
   }
 }
@@ -393,6 +401,7 @@ my @included;
 foreach my $file (@input_files) {
   my $manual_texi = '';
   my $outfile;
+  my $incfile;
   my $outfile_name;
   my $name = shift @all_manual_names;
   if ($base_level == 0 and !$file_nr) {
@@ -413,11 +422,16 @@ foreach my $file (@input_files) {
         $outfile_name .= '.texi';
       }
     }
-    if (defined($subdir)) {
-      $outfile = File::Spec->catfile($subdir, $outfile_name);
+    if (defined($outdir)) {
+      $outfile = File::Spec->catfile($outdir, $outfile_name);
     } else {
       $outfile = $outfile_name;
     }
+    if (defined($subdir)) {
+      $incfile = File::Spec->catfile($subdir, $outfile_name);
+    } else {
+      $incfile = $outfile_name;
+    }
   }
 
   #my $pod_simple_tree = Pod::Simple::SimpleTree->new->parse_file($file)->root;
@@ -425,7 +439,7 @@ foreach my $file (@input_files) {
 
   my $new = Pod::Simple::Texinfo->new();
 
-  push @included, [$name, $outfile, $file] if ($base_level > 0);
+  push @included, [$name, $outfile, $incfile, $file] if ($base_level > 0);
   my $fh;
   if ($outfile eq '-') {
     $fh = *STDOUT;
@@ -498,18 +512,29 @@ foreach my $file (@input_files) {
       if (defined($short_title) and $short_title =~ /\S/) {
         push @manuals, $short_title;
         pop @included;
-        my $new_outfile
+        my $new_outfile_name
          = Pod::Simple::Texinfo::_pod_title_to_file_name($short_title);
-        $new_outfile .= '.texi';
-        $new_outfile = File::Spec->catfile($subdir, $new_outfile)
-           if (defined($subdir));
+        $new_outfile_name .= '.texi';
+        my $new_outfile;
+        if (defined($outdir)) {
+          $new_outfile = File::Spec->catfile($outdir, $new_outfile_name);
+        } else {
+          $new_outfile = $new_outfile_name;
+        }
+        my $new_incfile;
+        if (defined($subdir)) {
+          $new_incfile = File::Spec->catfile($subdir, $new_outfile_name);
+        } else {
+          $new_incfile = $new_outfile_name;
+        }
+
         if ($new_outfile ne $outfile) {
           unless (rename ($outfile, $new_outfile)) {
             die sprintf(__("%s: rename %s failed: %s\n"),
                         $real_command_name, $outfile, $!);
           }
         }
-        push @included, [$short_title, $new_outfile, $file];
+        push @included, [$short_title, $new_outfile, $new_incfile, $file];
       }
     }
   }
@@ -563,8 +588,8 @@ if ($base_level > 0) {
     print $fh $menu."\n";
   }
   foreach my $include (@included) {
-    my $file = $include->[1];
-    print $fh "\@include ".Pod::Simple::Texinfo::_protect_text($file)."\n";
+    my $incfile = $include->[2];
+    print $fh "\@include ".Pod::Simple::Texinfo::_protect_text($incfile)."\n";
   }
   print $fh "\n\@bye\n";
   
@@ -665,6 +690,12 @@ Output node menus. If there is a main manual, its Top node 
menu
 is always output, since a master menu is generated. Other nodes
 menus are not output in the default case.
 
+=item B<--outdir>=I<NAME>
+
+If there is a main manual with include files (each corresponding to
+an input Pod file), then the generated Texinfo files are put in
+directory I<NAME>.  Default is based on C<--subdir>.
+
 =item B<--output>=I<NAME>
 
 Name for the first manual, or the main manual if there is a main manual.
@@ -693,7 +724,10 @@ No C<@setfilename> is output in the default case.
 =item B<--subdir>=I<NAME>
 
 If there is a main manual with include files (each corresponding to
-an input Pod file), then those include files are put in directory I<NAME>.
+an input Pod file), then those include files are included from I<NAME>.
+
+If C<--outdir> is set, I<NAME> should in general be set to the relative
+directory between the main manual and C<--outdir> argument.
 
 =item B<--unnumbered-sections>
 
diff --git a/doc/pod2texi.texi b/doc/pod2texi.texi
index 6c664c6f5d..4806da03f6 100644
--- a/doc/pod2texi.texi
+++ b/doc/pod2texi.texi
@@ -79,6 +79,13 @@ Output node menus. If there is a main manual, its Top node 
menu
 is always output, since a master menu is generated. Other nodes
 menus are not output in the default case.
 
+@item @strong{@asis{}-@asis{}-@asis{}outdir}=@emph{NAME}
+@anchor{pod2texi @strong{@asis{}-@asis{}-@asis{}outdir}=@emph{NAME}}
+
+If there is a main manual with include files (each corresponding to
+an input Pod file), then the generated Texinfo files are put in
+directory @emph{NAME}.  Default is based on @code{--subdir}.
+
 @item @strong{@asis{}-@asis{}-@asis{}output}=@emph{NAME}
 @anchor{pod2texi @strong{@asis{}-@asis{}-@asis{}output}=@emph{NAME}}
 
@@ -113,7 +120,10 @@ No @code{@@setfilename} is output in the default case.
 @anchor{pod2texi @strong{@asis{}-@asis{}-@asis{}subdir}=@emph{NAME}}
 
 If there is a main manual with include files (each corresponding to
-an input Pod file), then those include files are put in directory @emph{NAME}.
+an input Pod file), then those include files are included from @emph{NAME}.
+
+If @code{--outdir} is set, @emph{NAME} should in general be set to the relative
+directory between the main manual and @code{--outdir} argument.
 
 @item @strong{@asis{}-@asis{}-@asis{}unnumbered-sections}
 @anchor{pod2texi @strong{@asis{}-@asis{}-@asis{}unnumbered-sections}}
diff --git a/doc/tp_api/Makefile.am b/doc/tp_api/Makefile.am
index b38fd6f827..dc9f9ebbb2 100644
--- a/doc/tp_api/Makefile.am
+++ b/doc/tp_api/Makefile.am
@@ -15,7 +15,8 @@
 AM_MAKEINFOFLAGS = -c INFO_SPECIAL_CHARS_WARNING=0 -c 
TREE_TRANSFORMATIONS=complete_tree_nodes_menus
 
 # Use the programs built in our distribution.  Use absolute directory
-# names so we can run from a different working directory.
+# names so we can run from a different working directory as is the
+# case for the texi2any_internals.texi target.
 MAKEINFO_ENVIRONMENT = TEXINFO_DEV_SOURCE=1 \
                        top_srcdir="$(abs_top_srcdir)" \
                        top_builddir="$(abs_top_builddir)"
diff --git a/man/pod2texi.1 b/man/pod2texi.1
index faee09107d..96d61a2e5c 100644
--- a/man/pod2texi.1
+++ b/man/pod2texi.1
@@ -1,4 +1,5 @@
-.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
+.\" -*- mode: troff; coding: utf-8 -*-
+.\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)
 .\"
 .\" Standard preamble:
 .\" ========================================================================
@@ -15,29 +16,12 @@
 .ft R
 .fi
 ..
-.\" Set up some character translations and predefined strings.  \*(-- will
-.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
-.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
-.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
-.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
-.\" nothing in troff, for use with C<>.
-.tr \(*W-
-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
 .ie n \{\
-.    ds -- \(*W-
-.    ds PI pi
-.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
-.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
-.    ds L" ""
-.    ds R" ""
 .    ds C` ""
 .    ds C' ""
 'br\}
 .el\{\
-.    ds -- \|\(em\|
-.    ds PI \(*p
-.    ds L" ``
-.    ds R" ''
 .    ds C`
 .    ds C'
 'br\}
@@ -68,84 +52,22 @@
 .    \}
 .\}
 .rr rF
-.\"
-.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
-.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
-.    \" fudge factors for nroff and troff
-.if n \{\
-.    ds #H 0
-.    ds #V .8m
-.    ds #F .3m
-.    ds #[ \f1
-.    ds #] \fP
-.\}
-.if t \{\
-.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
-.    ds #V .6m
-.    ds #F 0
-.    ds #[ \&
-.    ds #] \&
-.\}
-.    \" simple accents for nroff and troff
-.if n \{\
-.    ds ' \&
-.    ds ` \&
-.    ds ^ \&
-.    ds , \&
-.    ds ~ ~
-.    ds /
-.\}
-.if t \{\
-.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
-.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
-.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
-.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
-.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
-.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
-.\}
-.    \" troff and (daisy-wheel) nroff accents
-.ds : 
\\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
-.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
-.ds o 
\\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
-.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
-.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
-.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
-.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
-.ds ae a\h'-(\w'a'u*4/10)'e
-.ds Ae A\h'-(\w'A'u*4/10)'E
-.    \" corrections for vroff
-.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
-.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
-.    \" for low resolution devices (crt and lpr)
-.if \n(.H>23 .if \n(.V>19 \
-\{\
-.    ds : e
-.    ds 8 ss
-.    ds o a
-.    ds d- d\h'-1'\(ga
-.    ds D- D\h'-1'\(hy
-.    ds th \o'bp'
-.    ds Th \o'LP'
-.    ds ae ae
-.    ds Ae AE
-.\}
-.rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
 .IX Title "POD2TEXI 1"
-.TH POD2TEXI 1 "2024-08-29" "perl v5.34.0" "User Contributed Perl 
Documentation"
+.TH POD2TEXI 1 2024-09-20 "perl v5.38.2" "User Contributed Perl Documentation"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
 .nh
-.SH "NAME"
+.SH NAME
 pod2texi \- convert Pod to Texinfo
-.SH "SYNOPSIS"
+.SH SYNOPSIS
 .IX Header "SYNOPSIS"
 .Vb 1
 \&  pod2texi [OPTION]... POD...
 .Ve
-.SH "DESCRIPTION"
+.SH DESCRIPTION
 .IX Header "DESCRIPTION"
 Translate Pod file(s) to Texinfo.  There are two basic modes of
 operation.  First, by default, each Pod is translated to a standalone
@@ -154,14 +76,14 @@ Texinfo manual.
 Second, if \f(CW\*(C`\-\-base\-level\*(C'\fR is set higher than 0, each Pod is 
translated
 to a file suitable for \f(CW@include\fR, and one more file with a main menu
 and all the \f(CW@include\fR is generated.
-.SH "OPTIONS"
+.SH OPTIONS
 .IX Header "OPTIONS"
-.IP "\fB\-\-appendix\-sections\fR" 4
+.IP \fB\-\-appendix\-sections\fR 4
 .IX Item "--appendix-sections"
 Use appendix sectioning commands (\f(CW@appendix\fR, ...) instead of the
 default numbered sectioning Texinfo @\-commands (\f(CW@chapter\fR,
 \&\f(CW@section\fR, ...).
-.IP "\fB\-\-base\-level\fR=\fINUM|NAME\fR" 4
+.IP \fB\-\-base\-level\fR=\fINUM|NAME\fR 4
 .IX Item "--base-level=NUM|NAME"
 Sets the level of the \f(CW\*(C`head1\*(C'\fR commands.  It may be an integer 
or a
 Texinfo sectioning command (without the \f(CW\*(C`@\*(C'\fR): 1 corresponds to 
the
@@ -177,57 +99,65 @@ chapter in a large manual, you should use 
\f(CW\*(C`section\*(C'\fR as the base
 .Sp
 For an example of making Texinfo out of the Perl documentation itself,
 see \f(CW\*(C`contrib/perldoc\-all\*(C'\fR in the Texinfo source distribution.
-.IP "\fB\-\-debug\fR=\fI\s-1NUM\s0\fR" 4
+.IP \fB\-\-debug\fR=\fINUM\fR 4
 .IX Item "--debug=NUM"
-Set debugging level to \fI\s-1NUM\s0\fR.
-.IP "\fB\-\-headings\-as\-sections\fR" 4
+Set debugging level to \fINUM\fR.
+.IP \fB\-\-headings\-as\-sections\fR 4
 .IX Item "--headings-as-sections"
 Use headings commands (\f(CW@heading\fR, ...) instead of the
 default numbered sectioning Texinfo @\-commands (\f(CW@chapter\fR,
 \&\f(CW@section\fR, ...). The sectioning command covering the entire
 file output for each Pod file if \fB\-\-base\-level\fR is not 0 is a
 numbered command.
-.IP "\fB\-\-help\fR" 4
+.IP \fB\-\-help\fR 4
 .IX Item "--help"
 Display help and exit.
-.IP "\fB\-\-menus\fR" 4
+.IP \fB\-\-menus\fR 4
 .IX Item "--menus"
 Output node menus. If there is a main manual, its Top node menu
 is always output, since a master menu is generated. Other nodes
 menus are not output in the default case.
-.IP "\fB\-\-output\fR=\fI\s-1NAME\s0\fR" 4
+.IP \fB\-\-outdir\fR=\fINAME\fR 4
+.IX Item "--outdir=NAME"
+If there is a main manual with include files (each corresponding to
+an input Pod file), then the generated Texinfo files are put in
+directory \fINAME\fR.  Default is based on \f(CW\*(C`\-\-subdir\*(C'\fR.
+.IP \fB\-\-output\fR=\fINAME\fR 4
 .IX Item "--output=NAME"
 Name for the first manual, or the main manual if there is a main manual.
 Default is to write to standard output.
-.IP "\fB\-\-no\-section\-nodes\fR" 4
+.IP \fB\-\-no\-section\-nodes\fR 4
 .IX Item "--no-section-nodes"
 Use anchors for sections instead of nodes.
-.IP "\fB\-\-no\-fill\-section\-gaps\fR" 4
+.IP \fB\-\-no\-fill\-section\-gaps\fR 4
 .IX Item "--no-fill-section-gaps"
 Do not fill sectioning gaps with empty \f(CW@unnumbered\fR files.
 Ordinarily, it's good to keep the sectioning hierarchy intact.
-.IP "\fB\-\-preamble\fR=\fI\s-1STR\s0\fR" 4
+.IP \fB\-\-preamble\fR=\fISTR\fR 4
 .IX Item "--preamble=STR"
-Insert \fI\s-1STR\s0\fR as top boilerplate before menu and includes.  If 
\fI\s-1STR\s0\fR is
+Insert \fISTR\fR as top boilerplate before menu and includes.  If \fISTR\fR is
 set to \f(CW\*(C`\-\*(C'\fR, read the top boilerplate from the standard input. 
 The default top
 boilerplate is a minimal beginning for a Texinfo document.
-.IP "\fB\-\-setfilename\fR=\fI\s-1STR\s0\fR" 4
+.IP \fB\-\-setfilename\fR=\fISTR\fR 4
 .IX Item "--setfilename=STR"
-Use \fI\s-1STR\s0\fR in top boilerplate before menu and includes for 
\f(CW@setfilename\fR.
+Use \fISTR\fR in top boilerplate before menu and includes for 
\f(CW@setfilename\fR.
 No \f(CW@setfilename\fR is output in the default case.
-.IP "\fB\-\-subdir\fR=\fI\s-1NAME\s0\fR" 4
+.IP \fB\-\-subdir\fR=\fINAME\fR 4
 .IX Item "--subdir=NAME"
 If there is a main manual with include files (each corresponding to
-an input Pod file), then those include files are put in directory 
\fI\s-1NAME\s0\fR.
-.IP "\fB\-\-unnumbered\-sections\fR" 4
+an input Pod file), then those include files are included from \fINAME\fR.
+.Sp
+If \f(CW\*(C`\-\-outdir\*(C'\fR is set, \fINAME\fR should in general be set to 
the relative
+directory between the main manual and \f(CW\*(C`\-\-outdir\*(C'\fR argument.
+.IP \fB\-\-unnumbered\-sections\fR 4
 .IX Item "--unnumbered-sections"
 Use unnumbered sectioning commands (\f(CW@unnumbered\fR, ...) instead of the
 default numbered sectioning Texinfo @\-commands (\f(CW@chapter\fR,
 \&\f(CW@section\fR, ...).
-.IP "\fB\-\-top\fR=\fI\s-1TOP\s0\fR" 4
+.IP \fB\-\-top\fR=\fITOP\fR 4
 .IX Item "--top=TOP"
 Name of the \f(CW@top\fR element for the main manual.  May contain Texinfo 
code.
-.IP "\fB\-\-version\fR" 4
+.IP \fB\-\-version\fR 4
 .IX Item "--version"
 Display version information and exit.
 .SH "SEE ALSO"
@@ -239,11 +169,11 @@ Texinfo home page: <http://www.gnu.org/software/texinfo/>
 Copyright 2012\-2023 Free Software Foundation, Inc.
 .PP
 This program is free software; you can redistribute it and/or modify
-it under the terms of the \s-1GNU\s0 General Public License as published by
+it 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.
 .PP
-There is \s-1NO WARRANTY,\s0 to the extent permitted by law.
-.SH "AUTHOR"
+There is NO WARRANTY, to the extent permitted by law.
+.SH AUTHOR
 .IX Header "AUTHOR"
 Patrice Dumas <bug\-texinfo@gnu.org>.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]