texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * doc/texinfo.texi (Other Customization Variables


From: Patrice Dumas
Subject: branch master updated: * doc/texinfo.texi (Other Customization Variables), NEWS: document DATA_INPUT_ENCODING_NAME, DOC_ENCODING_FOR_INPUT_FILE_NAME, DOC_ENCODING_FOR_OUTPUT_FILE_NAME, LOCALE_INPUT_FILE_NAME_ENCODING, LOCALE_OUTPUT_FILE_NAME_ENCODING and LOCALE_OUTPUT_ENCODING_NAME.
Date: Sun, 06 Mar 2022 06:54:10 -0500

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 96088142fa * doc/texinfo.texi (Other Customization Variables), NEWS: 
document DATA_INPUT_ENCODING_NAME, DOC_ENCODING_FOR_INPUT_FILE_NAME, 
DOC_ENCODING_FOR_OUTPUT_FILE_NAME, LOCALE_INPUT_FILE_NAME_ENCODING, 
LOCALE_OUTPUT_FILE_NAME_ENCODING and LOCALE_OUTPUT_ENCODING_NAME.
96088142fa is described below

commit 96088142fa7af6ecd7cd88ea36ceb14c053cb3af
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Mar 6 12:53:58 2022 +0100

    * doc/texinfo.texi (Other Customization Variables), NEWS: document
    DATA_INPUT_ENCODING_NAME, DOC_ENCODING_FOR_INPUT_FILE_NAME,
    DOC_ENCODING_FOR_OUTPUT_FILE_NAME, LOCALE_INPUT_FILE_NAME_ENCODING,
    LOCALE_OUTPUT_FILE_NAME_ENCODING and LOCALE_OUTPUT_ENCODING_NAME.
---
 ChangeLog        |  7 +++++++
 NEWS             |  2 +-
 doc/texinfo.texi | 35 +++++++++++++++++++++++++++++++++++
 tp/TODO          | 21 +++++++++++++++------
 4 files changed, 58 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 57e0526a5b..aed25d0eff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-03-06  Patrice Dumas  <pertusus@free.fr>
+
+       * doc/texinfo.texi (Other Customization Variables), NEWS: document
+       DATA_INPUT_ENCODING_NAME, DOC_ENCODING_FOR_INPUT_FILE_NAME,
+       DOC_ENCODING_FOR_OUTPUT_FILE_NAME, LOCALE_INPUT_FILE_NAME_ENCODING,
+       LOCALE_OUTPUT_FILE_NAME_ENCODING and LOCALE_OUTPUT_ENCODING_NAME.
+
 2022-03-06  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/Convert/Converter.pm (determine_files_and_directory):
diff --git a/NEWS b/NEWS
index e12c037c73..3f1dba16e8 100644
--- a/NEWS
+++ b/NEWS
@@ -18,7 +18,7 @@ See the manual for detailed information.
  . new customization variables:
    LOCALE_OUTPUT_ENCODING_NAME, LOCALE_INPUT_FILE_NAME_ENCODING,
    LOCALE_OUTPUT_FILE_NAME_ENCODING, DOC_ENCODING_FOR_INPUT_FILE_NAME, and
-   DOC_ENCODING_FOR_OUTPUT_FILE_NAME (documentation required)
+   DOC_ENCODING_FOR_OUTPUT_FILE_NAME
  . rename COPIABLE_ANCHORS as COPIABLE_LINKS
  . L2H customization variable removed.  Replaced by HTML_MATH set to l2h.
  . Meaning of USE_NUMERIC_ENTITY changed to be using numeric entities in
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index d70e7ec36f..98864224b9 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -16743,12 +16743,32 @@ The default for Info is the same as 
@code{OPEN_QUOTE_SYMBOL} (see below).
 Recognize @code{#line} directives in a ``preprocessing'' pass
 (@pxref{External Macro Processors}); on by default.
 
+@item DATA_INPUT_ENCODING_NAME
+Encoding used to decode command line arguments.  Default is based on the locale
+encoding.  Note that some file and directory names from the command line may
+not be decoded immediately, and may not be decoded at all.
+
 @item DEBUG
 If set, debugging output is generated; default is off (zero).
 @c The integer value specifies what kinds of debugging output are
 @c generated.  It is a bitmask.  Setting it to 255 ensures having all
 @c available debugging output.
 
+@item DOC_ENCODING_FOR_INPUT_FILE_NAME
+If set, use the input Texinfo document encoding information for
+the encoding of input file names, such as file names specified as
+@code{@@include} or @code{@@verbatiminclude} arguments.  If unset, use
+@code{LOCALE_INPUT_FILE_NAME_ENCODING} value instead.  Default is set.  Note
+that this is for file names only, @code{@@documentencoding} is always used for
+the encoding of file content (@pxref{@code{@@documentencoding}}).
+
+@item DOC_ENCODING_FOR_OUTPUT_FILE_NAME
+If set, use the input Texinfo document encoding information for
+the encoding of output file names, such as files specified with 
@option{--output}.
+If unset, use @code{LOCALE_OUTPUT_FILE_NAME_ENCODING} value.  Default
+is unset.  Note that this is for file names only, @code{OUTPUT_ENCODING_NAME}
+is used for the encoding of file content.
+
 @item DOCTYPE
 @vindex SystemLiteral
 For DocBook, HTML, XML@.  Specifies the @code{SystemLiteral}, the
@@ -16803,6 +16823,21 @@ default true.  Do not warn about index entries, since 
parsing problems
 there don't prevent navigation; readers can still relatively easily
 find their way to the node in question.
 
+@item LOCALE_INPUT_FILE_NAME_ENCODING
+Encoding used for input file names if @code{DOC_ENCODING_FOR_INPUT_FILE_NAME}
+is unset.  Default is based on the locale encoding.
+
+@item LOCALE_OUTPUT_FILE_NAME_ENCODING
+Encoding for output file names if @code{DOC_ENCODING_FOR_INPUT_FILE_NAME}
+is unsed.  Default is based on the locale encoding.
+
+@item LOCALE_OUTPUT_ENCODING_NAME
+Encoding used to encode messages output by @command{texi2any} and command line
+arguments strings passed to commands called from @command{texi2any}.  For
+example @command{latex2html} will be called from @command{texi2any} if
+@code{HTML_MATH} is set to @samp{l2h}.  Default is based on the locale
+encoding.
+
 @item MAX_MACRO_CALL_NESTING
 The maximal number of recursive calls of @@-commands defined through
 @code{@@rmacro}; default 100000.  The purpose of this variable is to
diff --git a/tp/TODO b/tp/TODO
index dd8ad808c3..919deab0cb 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -20,6 +20,21 @@ Before next release
 for @example args, use *-user as class?
 
 
+@item --enable-encoding
+@itemx --disable-encoding
+@opindex --enable-encoding
+@opindex --disable-encoding
+@vindex ENABLE_ENCODING
+By default, or with @option{--enable-encoding}, output accented and
+special characters in Info and plain text output based on
+@samp{@@documentencoding}.  With @option{--disable-encoding}, 7-bit
+ASCII transliterations are output.  @xref{@code{@@documentencoding}},
+and @ref{Inserting Accents}.
+
+=> does not really depend on @documentencoding, change to read
+Texinfo input manual encoding?
+
+
 bytes.  To check that they can never be upgraded + document
 * texi2any.pl
  @input_files = @ARGV
@@ -40,12 +55,6 @@ html_image_file_location_name: $image_path
 
 Document new return of html_image_file_location_name
 
-Document
-LOCALE_OUTPUT_ENCODING_NAME.
-Add DOC_ENCODING_FOR_INPUT_FILE_NAME,
-DOC_ENCODING_FOR_OUTPUT_FILE_NAME,
-LOCALE_INPUT_FILE_NAME_ENCODING, LOCALE_OUTPUT_FILE_NAME_ENCODING.
-
 
 Bugs
 ====



reply via email to

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