[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
avoid some overfull lines in gnulib.pdf
From: |
Werner LEMBERG |
Subject: |
avoid some overfull lines in gnulib.pdf |
Date: |
Mon, 23 Jul 2018 12:18:56 +0200 (CEST) |
The attached patch fixes all overfull lines except the ones caused by
overlong URLs.[*] I've tested it with texinfo 6.5 – I hope using
@inlinefmt (introduced 2013 in version 5.0) is OK.
Werner
[*] The @url command produces overfull lines even if within a
@raggedright environment. I consider this a bug.
diff --git a/doc/glibc-functions/futimesat.texi
b/doc/glibc-functions/futimesat.texi
index 73a9235f1..ac7bb615d 100644
--- a/doc/glibc-functions/futimesat.texi
+++ b/doc/glibc-functions/futimesat.texi
@@ -18,6 +18,11 @@ On some platforms, this function mis-handles trailing slash:
Solaris 9.
@item
This function cannot set full timestamp resolution. Use
address@hidden ? utimensat(fd,file,times,0) : futimens(fd,times)}, or the
-gnulib module fdutimensat, instead.
+
address@hidden
+file ? utimensat(fd, file, times, 0)
+ : futimens(fd, times)
address@hidden example
+
address@hidden or the gnulib module fdutimensat, instead.
@end itemize
diff --git a/doc/pastposix-functions/pthread_attr_getstackaddr.texi
b/doc/pastposix-functions/pthread_attr_getstackaddr.texi
index a3cf1ac8a..d0aaf42bd 100644
--- a/doc/pastposix-functions/pthread_attr_getstackaddr.texi
+++ b/doc/pastposix-functions/pthread_attr_getstackaddr.texi
@@ -2,7 +2,8 @@
@section @code{pthread_attr_getstackaddr}
@findex pthread_attr_getstackaddr
-POSIX specification:
@url{http://www.opengroup.org/susv3xsh/pthread_attr_getstackaddr.html}
+POSIX specification:@inlinefmt{tex,@*}
address@hidden://www.opengroup.org/susv3xsh/pthread_attr_getstackaddr.html}
Gnulib module: ---
diff --git a/doc/pastposix-functions/pthread_attr_setstackaddr.texi
b/doc/pastposix-functions/pthread_attr_setstackaddr.texi
index 5c695abda..9e6b588da 100644
--- a/doc/pastposix-functions/pthread_attr_setstackaddr.texi
+++ b/doc/pastposix-functions/pthread_attr_setstackaddr.texi
@@ -2,7 +2,8 @@
@section @code{pthread_attr_setstackaddr}
@findex pthread_attr_setstackaddr
-POSIX specification:
@url{http://www.opengroup.org/susv3xsh/pthread_attr_setstackaddr.html}
+POSIX specification:@inlinefmt{tex,@*}
address@hidden://www.opengroup.org/susv3xsh/pthread_attr_setstackaddr.html}
Gnulib module: ---
diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi
index 36cceb622..d1e7090bc 100644
--- a/doc/relocatable-maint.texi
+++ b/doc/relocatable-maint.texi
@@ -120,7 +120,7 @@ If your package installs shell scripts, also import the
@code{relocatable-script} module. Then, near the beginning of each
shell script that your package installs, add the following:
address@hidden
address@hidden
@@relocatable_sh@@
if test "@@RELOCATABLE@@" = yes; then
exec_prefix="@@exec_prefix@@"
@@ -142,7 +142,7 @@ fi
# Get some relocated directory names.
sysconfdir=`relocate "@@sysconfdir@@"`
some_datadir=`relocate "@@datadir@@/something"`
address@hidden example
address@hidden smallexample
You must adapt the definition of @code{orig_installdir}, depending on
where the script gets installed. Also, at the end, instead of
@@ -154,13 +154,16 @@ If your package installs Perl scripts, also import the
@code{relocatable-perl} module. Then, near the beginning of each
Perl script that your package installs, add the following:
address@hidden
address@hidden
@@relocatable_pl@@
if ("@@RELOCATABLE@@" eq "yes") @{
my $exec_prefix = "@@exec_prefix@@";
my $orig_installdir = "@@bindir@@"; # see Makefile.am's *_SCRIPTS variables
- my ($orig_installprefix, $curr_installprefix) =
find_prefixes($orig_installdir, find_curr_installdir());
- sub relocate @{ # the subroutine is defined whether or not the enclosing
block is executed
+ my ($orig_installprefix, $curr_installprefix) =
+ find_prefixes($orig_installdir, find_curr_installdir());
+
+ # the subroutine is defined whether or not the enclosing block is executed
+ sub relocate @{
my ($dir) = @@_;
if ("@@RELOCATABLE@@" eq "yes") @{
$dir =~ s%^$orig_installprefix/%$curr_installprefix/%;
@@ -174,7 +177,7 @@ if ("@@RELOCATABLE@@" eq "yes") @{
# (The gnulib module 'configmake' can help with this.)
$sysconfdir = relocate("@@sysconfdir@@");
$some_datadir = relocate(@@datadir@@/something");
address@hidden example
address@hidden smallexample
You must adapt the definition of @code{$orig_installdir}, depending on
where the script gets installed. Also, at the end, instead of
@@ -211,9 +214,10 @@ endif
@code{SHLIBS_IN_BINDIR} is defined in @file{configure.ac} as follows:
address@hidden
-AM_CONDITIONAL([SHLIBS_IN_BINDIR], [case "$host_os" in mingw* | cygwin*)
true;; *) false;; esac])
address@hidden example
address@hidden
+AM_CONDITIONAL([SHLIBS_IN_BINDIR],
+ [case "$host_os" in mingw* | cygwin*) true;; *) false;; esac])
address@hidden smallexample
@item
You may also need to add a couple of variable assignments to your
- avoid some overfull lines in gnulib.pdf,
Werner LEMBERG <=