[Top][All Lists]

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

[bug-libunistring] [PATCH] Allow latex to wrap long URLs.

From: Ralf Wildenhues
Subject: [bug-libunistring] [PATCH] Allow latex to wrap long URLs.
Date: Tue, 28 Apr 2009 20:23:14 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* doc/libunistring.texi (Unicode, char * strings, Autoconf macro)
(Reporting problems): Place `@/' markers between URL separators.
* doc/unictype.texi (Canonical combining class)
(Bidirectional category): Likewise.
* doc/uniwbrk.texi (Word break property): Likewise.

This patch (on top of the other; you can apply both with "git am")
allows (pdf)latex to wrap some of the URLs, which significantly reduces
the length of some lines, but still allows clickable URLs.  The patch
changes all URLs I found, I do that to avoid having to adjust the
wrapping when I change text later.


 doc/libunistring.texi |   14 +++++++-------
 doc/unictype.texi     |    4 ++--
 doc/uniwbrk.texi      |    2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/doc/libunistring.texi b/doc/libunistring.texi
index 0ce43fe..bde9b21 100644
--- a/doc/libunistring.texi
+++ b/doc/libunistring.texi
@@ -31,7 +31,7 @@
 @include version.texi
 @c Location of the POSIX specification on the web.
address@hidden POSIXURL http://www.opengroup.org/onlinepubs/9699919799
address@hidden POSIXURL http://www.opengroup.org/@/onlinepubs/@/9699919799
 @c Macro for referencing a POSIX function.
 @c We don't write it as func(), see section "GNU Manuals" of the
@@ -335,12 +335,12 @@ References:
 The Unicode standard: @url{http://www.unicode.org/}
-Definition of UTF-8: @url{http://www.rfc-editor.org/rfc/rfc3629.txt}
+Definition of UTF-8: @url{http://www.rfc-editor.org/@/rfc/@/rfc3629.txt}
-Definition of UTF-16: @url{http://www.rfc-editor.org/rfc/rfc2781.txt}
+Definition of UTF-16: @url{http://www.rfc-editor.org/@/rfc/@/rfc2781.txt}
 Markus Kuhn's UTF-8 and Unicode FAQ:
 @end itemize
 @node Unicode and i18n
@@ -516,7 +516,7 @@ The @posixfunc{strcasecmp}, @posixfunc{strncasecmp}, and 
 functions do not work with multibyte strings.
 @end itemize
-The workarounds can be found in GNU gnulib 
+The workarounds can be found in GNU gnulib 
 gnulib has modules @samp{mbchar}, @samp{mbiter}, @samp{mbuiter} that
@@ -834,7 +834,7 @@ that uses @code{libunistring} was installed.
 @cindex autoconf macro
 GNU Gnulib provides an autoconf macro that test for the availability
 of @code{libunistring}.  It is contained in the Gnulib module
 @amindex gl_LIBUNISTRING
 The macro is called @code{gl_LIBUNISTRING}.  It searches for an installed
@@ -875,7 +875,7 @@ on most systems.
 If you encounter any problem, please don't hesitate to send a detailed
 bug report to the @code{bug-libunistring@@gnu.org} mailing list.  You can
 alternatively also use the bug tracker at the project page
 Please always include the version number of this library, and a short
 description of your operating system and compilation environment with
diff --git a/doc/unictype.texi b/doc/unictype.texi
index f5b201b..56464ea 100644
--- a/doc/unictype.texi
+++ b/doc/unictype.texi
@@ -377,7 +377,7 @@ combining classes are attached "first" or "closer" to the 
base character.
 The canonical combining class of a character is a number in the range
 0..255.  The possible values are described in the Unicode Character Database
address@hidden://www.unicode.org/Public/UNIDATA/UCD.html}.  The list here is not
address@hidden://www.unicode.org/@/Public/@/UNIDATA/@/UCD.html}.  The list here 
is not
 definitive; more values can be added in future versions.
 @deftypevr Constant int UC_CCC_NR
@@ -472,7 +472,7 @@ Every Unicode character or code point has a 
@emph{bidirectional category}
 assigned to it.
 The bidirectional category guides the bidirectional algorithm
-(@url{http://www.unicode.org/reports/tr9/}).  The possible values are
+(@url{http://www.unicode.org/@/reports/@/tr9/}).  The possible values are
 the following.
 @deftypevr Constant int UC_BIDI_L
diff --git a/doc/uniwbrk.texi b/doc/uniwbrk.texi
index 1f4fece..9dd6673 100644
--- a/doc/uniwbrk.texi
+++ b/doc/uniwbrk.texi
@@ -43,7 +43,7 @@ word break to be present at the beginning of the string 
 This is a more low-level API.  The word break property is a property defined
 in Unicode Standard Annex #29, section ``Word Boundaries'', see
address@hidden://www.unicode.org/reports/tr29/#Word_Boundaries}.  It is used for
address@hidden://www.unicode.org/@/reports/@/tr29/@/#Word_Boundaries}.  It is 
used for
 determining the word breaks in a string.
 The following are the possible values of the word break property.  More values

reply via email to

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