texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * doc/texinfo.texi (@code{@@code}, @code{@@allowc


From: Patrice Dumas
Subject: branch master updated: * doc/texinfo.texi (@code{@@code}, @code{@@allowcodebreaks}): make clear that @allowcodebreaks has no effect in HTML.
Date: Tue, 07 Sep 2021 17:01:09 -0400

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

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new d70ddb5  * doc/texinfo.texi (@code{@@code}, @code{@@allowcodebreaks}): 
make clear that @allowcodebreaks has no effect in HTML.
d70ddb5 is described below

commit d70ddb551b19907fd37e28df84fe3a499838b0ec
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Sep 7 23:00:59 2021 +0200

    * doc/texinfo.texi (@code{@@code}, @code{@@allowcodebreaks}):
    make clear that @allowcodebreaks has no effect in HTML.
    
    * tp/Texinfo/Convert/HTML.pm (@informative_global_commands):
    remove allowcodebreaks and documentencoding that are not used
    at all.
---
 ChangeLog                  | 9 +++++++++
 doc/texinfo.texi           | 8 ++++----
 tp/Texinfo/Convert/HTML.pm | 7 ++-----
 3 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ca795a2..27e8e4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2021-09-07  Patrice Dumas  <pertusus@free.fr>
 
+       * doc/texinfo.texi (@code{@@code}, @code{@@allowcodebreaks}):
+       make clear that @allowcodebreaks has no effect in HTML.
+
+       * tp/Texinfo/Convert/HTML.pm (@informative_global_commands):
+       remove allowcodebreaks and documentencoding that are not used
+       at all.
+
+2021-09-07  Patrice Dumas  <pertusus@free.fr>
+
        * doc/texinfo.texi (@code{@@documentlanguage}): explain that
        in DocBook lang only sets the language in the following sections.
        Text from Gavin.
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index 5622761..fd98956 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -5392,9 +5392,9 @@ of the Emacs Lisp functions that the keystroke commands 
invoke.
 By default, @TeX{} will consider breaking lines at @samp{-} and
 @samp{_} characters within @code{@@code} and related commands.  This
 can be controlled with @code{@@allowcodebreaks}
-(@pxref{@code{@@allowcodebreaks}}).  The HTML output attempts to
-respect this for @samp{-}, but ultimately it is up to the browser's
-behavior.  For Info, it seems better never to make such breaks.
+(@pxref{@code{@@allowcodebreaks}}).  In the HTML output breaking
+lines is up to the browser's behavior.  For Info, it seems better
+never to make such breaks.
 
 For Info, the quotes are omitted in the output of the @code{@@code}
 command and related commands (e.g., @code{@@kbd}, @code{@@command}),
@@ -10795,7 +10795,7 @@ These commands can be given anywhere in the document.  
For example,
 you may have just one problematic paragraph where you need to turn off
 the breaks, but want them in general, or vice versa.
 
-This command has no effect except in HTML and @TeX{} output.
+This command has no effect except in @TeX{} output.
 
 
 @node @code{@@w}
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 7b917fd..1cb3e67 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -1260,12 +1260,9 @@ sub default_commands_conversion($$)
 my %kept_misc_commands;
 
 my @informative_global_commands = ('contents', 'shortcontents',
-  'summarycontents', 'allowcodebreaks', 'documentlanguage',
-  'footnotestyle', 'documentencoding', 
+  'summarycontents', 'documentlanguage', 'footnotestyle',
   'xrefautomaticsectiontitle', 'deftypefnnewline');
-# taken from global
-# 'documentencoding'
-# 'novalidate'
+
 foreach my $misc_command(@informative_global_commands,
         'verbatiminclude', 'insertcopying', 'printindex', 'listoffloats',
         'author', 'subtitle',



reply via email to

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