[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * NEWS, doc/texinfo.texi (HTML Customization Vari
From: |
Patrice Dumas |
Subject: |
branch master updated: * NEWS, doc/texinfo.texi (HTML Customization Variables) (Other Customization Variables), tp/Texinfo/Convert/HTML.pm (%defaults, output, _set_variables_texi2html): set SHOW_TITLE to undef, and have NO_TOP_NODE_OUTPUT set SHOW_TITLE to 1 if SHOW_TITLE is undef. Set USE_TITLEPAGE_FOR_TITLE to 1. That way, there is no title in the default case, as it is redundant with the @top header, there is a title only if NO_TOP_NODE_OUTPUT is set. |
Date: |
Fri, 11 Mar 2022 11:47:57 -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 d4a32aabbd * NEWS, doc/texinfo.texi (HTML Customization Variables)
(Other Customization Variables), tp/Texinfo/Convert/HTML.pm (%defaults, output,
_set_variables_texi2html): set SHOW_TITLE to undef, and have NO_TOP_NODE_OUTPUT
set SHOW_TITLE to 1 if SHOW_TITLE is undef. Set USE_TITLEPAGE_FOR_TITLE to 1.
That way, there is no title in the default case, as it is redundant with the
@top header, there is a title only if NO_TOP_NODE_OUTPUT is set.
d4a32aabbd is described below
commit d4a32aabbd025e2fea94a1cd7defd7cadd2dc8d9
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Mar 11 17:47:40 2022 +0100
* NEWS, doc/texinfo.texi (HTML Customization Variables)
(Other Customization Variables), tp/Texinfo/Convert/HTML.pm
(%defaults, output, _set_variables_texi2html): set SHOW_TITLE
to undef, and have NO_TOP_NODE_OUTPUT set SHOW_TITLE to 1
if SHOW_TITLE is undef. Set USE_TITLEPAGE_FOR_TITLE to 1.
That way, there is no title in the default case, as it is
redundant with the @top header, there is a title only if
NO_TOP_NODE_OUTPUT is set.
---
ChangeLog | 11 ++++++++
NEWS | 2 ++
doc/texinfo.texi | 17 ++++++------
tp/TODO | 30 ++++++++++++++++++++++
tp/Texinfo/Convert/HTML.pm | 10 ++++----
tp/t/25regions.t | 4 +--
tp/t/30sectioning.t | 2 +-
tp/t/converters_tests.t | 2 +-
tp/t/html_tests.t | 8 +++---
tp/t/input_files/sample_utf8.texi | 2 +-
tp/t/results/converters_tests/line_breaks.pl | 1 +
.../japanese_shift_jis/res_html/index.html | 6 -----
tp/t/results/formats_encodings/sample_utf8.pl | 4 +--
.../res_html/DiYiZhang_0028First-Chapter_0029.html | 6 ++---
.../sample_utf8/res_html/Index-node.html | 6 ++---
.../res_html/Second-Chapter-AE-AE-ae-ae.html | 6 ++---
.../sample_utf8/res_html/index.html | 8 +++---
tp/t/results/html_tests/shorttitlepage.pl | 1 +
tp/t/results/html_tests/titles.pl | 1 +
tp/t/results/sectioning/no_element.pl | 1 +
tp/tests/contents/list-of-tests | 2 +-
21 files changed, 85 insertions(+), 45 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9270afa6e5..37a6f46aac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2022-03-11 Patrice Dumas <pertusus@free.fr>
+
+ * NEWS, doc/texinfo.texi (HTML Customization Variables)
+ (Other Customization Variables), tp/Texinfo/Convert/HTML.pm
+ (%defaults, output, _set_variables_texi2html): set SHOW_TITLE
+ to undef, and have NO_TOP_NODE_OUTPUT set SHOW_TITLE to 1
+ if SHOW_TITLE is undef. Set USE_TITLEPAGE_FOR_TITLE to 1.
+ That way, there is no title in the default case, as it is
+ redundant with the @top header, there is a title only if
+ NO_TOP_NODE_OUTPUT is set.
+
2022-03-10 Patrice Dumas <pertusus@free.fr>
* doc/texinfo.texi (Other Customization Variables): expand
diff --git a/NEWS b/NEWS
index 52828fb0cf..da6fa93a51 100644
--- a/NEWS
+++ b/NEWS
@@ -42,6 +42,8 @@ See the manual for detailed information.
Texinfo @-command names. Renaming of class attributes to avoid
confusion with @-commands formatting and describe the role in the
document rather than the formatting style.
+ . do not add a title in the default case, SHOW_TITLE has to be set
+ (or NO_TOP_NODE_OUTPUT). Set USE_TITLEPAGE_FOR_TITLE to true.
6.8 (3 July 2021)
* Language
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index ad960db592..28bc5e2c45 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -16541,7 +16541,9 @@ Output the built-in default CSS rules on the standard
output and exit.
@item SHOW_TITLE
If set, output the title at the beginning of the document;
-default true.
+default @samp{undef}. If set to @samp{undef}, setting
+@code{NO_TOP_NODE_OUTPUT} also sets @code{SHOW_TITLE}.
+
@item SIMPLE_MENU
If set, use a simple preformatted style for the menu,
@@ -16839,14 +16841,14 @@ avoid infinite recursions.
@item NO_TOP_NODE_OUTPUT
If set do not output the Top node content. The Top node is still
parsed, but the content is discarded. Not set in the default case
-for HTML. If @code{USE_TITLEPAGE_FOR_TITLE} is @samp{undef}, setting
-@code{NO_TOP_NODE_OUTPUT} also sets @code{USE_TITLEPAGE_FOR_TITLE}.
+for HTML. If @code{SHOW_TITLE} is @samp{undef}, setting
+@code{NO_TOP_NODE_OUTPUT} also sets @code{SHOW_TITLE}.
Setting @code{NO_TOP_NODE_OUTPUT}, which removes the Top node and adds
a title page corresponds more to the formatting of a book. Setting
-@code{NO_TOP_NODE_OUTPUT} to false, with @code{USE_TITLEPAGE_FOR_TITLE}
-remaining @samp{undef}, and false, corresponds more to a document setup for
-browsing, with a direct access to the information at the Top node.
+@code{NO_TOP_NODE_OUTPUT} to false, with @code{SHOW_TITLE} remaining
+@samp{undef}, and false, corresponds more to a document setup for browsing,
+with a direct access to the information at the Top node.
@item NO_USE_SETFILENAME
If set, do not use @code{@@setfilename} to set the document name;
@@ -17039,8 +17041,7 @@ the extension. You should not need to explicitly set
this variable.
@item USE_TITLEPAGE_FOR_TITLE
Use the full @code{@@titlepage} as the title, not a simple title string;
-default @samp{undef}. If set to @samp{undef}, setting
-@code{NO_TOP_NODE_OUTPUT} also sets @code{USE_TITLEPAGE_FOR_TITLE}.
+default true. Only relevant if @code{SHOW_TITLE} is set.
@item USE_UNIDECODE
@pindex Text::Unidecode
diff --git a/tp/TODO b/tp/TODO
index 878fd07901..d88e936f63 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -47,6 +47,36 @@ bytes. document more somewhere?
$self->{'parser_info'}->{'input_file_name'}
$self->{'info'}->{'input_directory'}
+For plaintext, I propose to have two options
+* book-like: format the text before the first @node or sectioning
+ command, not necessarily the @titlepage, but at least determine
+ some title. Do not output the Top node.
+* non book: do not output the text before the first @node or
+ sectioning command. If there is @*content before the first @node or
+ sectioning command, the table of content is is still output
+ before the first node or sectioning command. The change is that
+ text before the first @node or sectioning command is not output.
+Default is non book.
+
+DocBook is book-like, but does not allow any text outside of semantic
+elements. Text can be in abstract, dedication, preface, chapter but not
+directly in <book>. Title information and @copying are already used to
+format the beginning of DocBook output. I propose to ignore text before
+the first @node or sectioning (unless there is a semantic markup), and
+also not to output the Top node, both being changes.
+
+Ignoring Top node: only danger here is if people were using the output
+of DocBook to create HTML and relying on the Top node there as being
+a table of contents. I expect it would be fine, though, as DocBook
+tools would probably supply their own table of contents.
+
+HTML:
+It may be fine not to output anything for @settitle specifically in
+the default output, as long as there are enough headings output for
+other reasons.
+
+
+
Bugs
====
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 89dd74dd28..b006debf83 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -1789,9 +1789,9 @@ my %defaults = (
'BODYTEXT' => undef,
'documentlanguage' => 'en',
'xrefautomaticsectiontitle' => 'on',
- 'SHOW_TITLE' => 1,
+ 'SHOW_TITLE' => undef,
'SECTION_NAME_IN_TITLE' => 0,
- 'USE_TITLEPAGE_FOR_TITLE' => undef,
+ 'USE_TITLEPAGE_FOR_TITLE' => 1,
'MONOLITHIC' => 1,
'CHAPTER_HEADER_LEVEL' => 2,
'MAX_HEADER_LEVEL' => 4,
@@ -9317,8 +9317,8 @@ sub output($$)
}
if ($self->get_conf('NO_TOP_NODE_OUTPUT')
- and not defined($self->get_conf('USE_TITLEPAGE_FOR_TITLE'))) {
- $self->set_conf('USE_TITLEPAGE_FOR_TITLE', 1);
+ and not defined($self->get_conf('SHOW_TITLE'))) {
+ $self->set_conf('SHOW_TITLE', 1);
}
# the configuration has potentially been modified for
@@ -10225,6 +10225,7 @@ sub _set_variables_texi2html()
['USE_ACCESSKEY', 0],
['NODE_NAME_IN_MENU', 0],
['SHORT_TOC_LINK_TO_TOC', 0],
+ ['SHOW_TITLE', 1],
['USE_UP_NODE_FOR_ELEMENT_UP', 1],
['USE_REL_REV', 0],
['USE_LINKS', 0],
@@ -10233,7 +10234,6 @@ sub _set_variables_texi2html()
['PROGRAM_NAME_IN_FOOTER', 1],
['PROGRAM_NAME_IN_ABOUT', 1],
['HEADER_IN_TABLE', 1],
- ['USE_TITLEPAGE_FOR_TITLE', 1],
['MENU_ENTRY_COLON', ''],
['INDEX_ENTRY_COLON', ''],
['DO_ABOUT', undef],
diff --git a/tp/t/25regions.t b/tp/t/25regions.t
index 24c7bbf4a3..bcb78c61ae 100644
--- a/tp/t/25regions.t
+++ b/tp/t/25regions.t
@@ -99,13 +99,13 @@ In footnote.
$format_in_titlepage_text
],
['format_in_titlepage_titlepage',
-$format_in_titlepage_text, {}, {'USE_TITLEPAGE_FOR_TITLE' => 1}
+$format_in_titlepage_text, {}, {'SHOW_TITLE' => 1}
],
['anchor_in_titlepage',
$anchor_in_titlepage_text
],
['anchor_in_titlepage_titlepage',
-$anchor_in_titlepage_text, {}, {'USE_TITLEPAGE_FOR_TITLE' => 1}
+$anchor_in_titlepage_text, {}, {'SHOW_TITLE' => 1}
],
['ref_in_copying',
'@copying
diff --git a/tp/t/30sectioning.t b/tp/t/30sectioning.t
index 499a7d9fcb..74108f047c 100644
--- a/tp/t/30sectioning.t
+++ b/tp/t/30sectioning.t
@@ -710,7 +710,7 @@ Ref to float
@end menu
@cindex index entry
-'],
+', {}, {'SHOW_TITLE' => 1}],
['placed_things_before_element',
'@anchor{An anchor}
diff --git a/tp/t/converters_tests.t b/tp/t/converters_tests.t
index 37646dd29f..376a39bb65 100644
--- a/tp/t/converters_tests.t
+++ b/tp/t/converters_tests.t
@@ -293,7 +293,7 @@ Text
@quotation Q@* uotation
T
@end quotation
-'],
+', {}, {'SHOW_TITLE' => 1}],
['test_deftypefnnewline',
'@setfilename test_deftypefnnewline.info
diff --git a/tp/t/html_tests.t b/tp/t/html_tests.t
index 4d102af843..6038b19b8a 100644
--- a/tp/t/html_tests.t
+++ b/tp/t/html_tests.t
@@ -437,7 +437,7 @@ aa
Top.
Second paragraph.
-'],
+', {}, {'SHOW_TITLE' => 1}],
['shorttitlepage',
'@setfilename html-shorttitlepage.info
@shorttitlepage @@title @sc{html} @code{test}
@@ -448,7 +448,7 @@ Second paragraph.
Top.
Second paragraph.
-'],
+', {}, {'SHOW_TITLE' => 1}],
['html_in_copying',
'
@copying
@@ -506,7 +506,7 @@ In top.
@contents
-', {}, {'CONTENTS_OUTPUT_LOCATION' => 'after_title'}],
+', {}, {'SHOW_TITLE' => 1, 'CONTENTS_OUTPUT_LOCATION' => 'after_title'}],
['text_before_top_and_summarycontents_after_title',
'
Some text before top
@@ -520,7 +520,7 @@ In top.
@summarycontents
-', {}, {'CONTENTS_OUTPUT_LOCATION' => 'after_title'}],
+', {}, {'SHOW_TITLE' => 1, 'CONTENTS_OUTPUT_LOCATION' => 'after_title'}],
['example_class',
'@example perl
foreach my $unclosed_file (keys(%unclosed_files)) @{
diff --git a/tp/t/input_files/sample_utf8.texi
b/tp/t/input_files/sample_utf8.texi
index 2966f3075c..e5298f9c96 100644
--- a/tp/t/input_files/sample_utf8.texi
+++ b/tp/t/input_files/sample_utf8.texi
@@ -1,7 +1,7 @@
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename sample_utf8.info
-@settitle Sample
+@settitle Sample 示例 ĄĘ ù
@documentencoding UTF-8
@c %**end of header
diff --git a/tp/t/results/converters_tests/line_breaks.pl
b/tp/t/results/converters_tests/line_breaks.pl
index f32721da7e..5bfb3b40fe 100644
--- a/tp/t/results/converters_tests/line_breaks.pl
+++ b/tp/t/results/converters_tests/line_breaks.pl
@@ -624,6 +624,7 @@ h1.settitle {text-align:center}
<body lang="en">
<h1 class="settitle">the manual <br> new version</h1>
+<hr>
<h1 class="title">AWK As A Major Systems Programming <br>
Language—Revisited</h1>
diff --git
a/tp/t/results/formats_encodings/japanese_shift_jis/res_html/index.html
b/tp/t/results/formats_encodings/japanese_shift_jis/res_html/index.html
index b96967a23e..a209114fad 100644
--- a/tp/t/results/formats_encodings/japanese_shift_jis/res_html/index.html
+++ b/tp/t/results/formats_encodings/japanese_shift_jis/res_html/index.html
@@ -21,17 +21,11 @@ legally counts.
<link href="#Top" rel="start" title="Top">
<link href="Preface.html" rel="next" title="Preface">
-<style type="text/css">
-<!--
-h1.settitle {text-align:center}
--->
-</style>
</head>
<body lang="ja">
-<h1 class="settitle">GNU LilyPond – Manuel d’initiation
japanese</h1>
<div class="top-level-extent" id="Top">
diff --git a/tp/t/results/formats_encodings/sample_utf8.pl
b/tp/t/results/formats_encodings/sample_utf8.pl
index b304e2ba11..1faffd7199 100644
--- a/tp/t/results/formats_encodings/sample_utf8.pl
+++ b/tp/t/results/formats_encodings/sample_utf8.pl
@@ -82,7 +82,7 @@ $result_trees{'sample_utf8'} = {
'contents' => [
{
'parent' => {},
- 'text' => 'Sample'
+ 'text' => "Sample \x{793a}\x{4f8b} \x{104}\x{118} \x{f9}"
}
],
'extra' => {
@@ -1620,7 +1620,7 @@ $result_trees{'sample_utf8'}{'contents'}[9]{'parent'} =
$result_trees{'sample_ut
$result_texis{'sample_utf8'} = '\\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename sample_utf8.info
-@settitle Sample
+@settitle Sample 示例 ĄĘ ù
@documentencoding UTF-8
@c %**end of header
diff --git
a/tp/t/results/formats_encodings/sample_utf8/res_html/DiYiZhang_0028First-Chapter_0029.html
b/tp/t/results/formats_encodings/sample_utf8/res_html/DiYiZhang_0028First-Chapter_0029.html
index 3d39c0012b..c1fd9c60bb 100644
---
a/tp/t/results/formats_encodings/sample_utf8/res_html/DiYiZhang_0028First-Chapter_0029.html
+++
b/tp/t/results/formats_encodings/sample_utf8/res_html/DiYiZhang_0028First-Chapter_0029.html
@@ -7,10 +7,10 @@
Copyright (C) 2005 Someone.
Texinfo中文示例 -->
-<title>第一章(First Chapter) (Sample)</title>
+<title>第一章(First Chapter) (Sample 示例 ĄĘ ù)</title>
-<meta name="description" content="第一章(First Chapter) (Sample)">
-<meta name="keywords" content="第一章(First Chapter) (Sample)">
+<meta name="description" content="第一章(First Chapter) (Sample 示例 ĄĘ ù)">
+<meta name="keywords" content="第一章(First Chapter) (Sample 示例 ĄĘ ù)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="viewport" content="width=device-width,initial-scale=1">
diff --git
a/tp/t/results/formats_encodings/sample_utf8/res_html/Index-node.html
b/tp/t/results/formats_encodings/sample_utf8/res_html/Index-node.html
index 749b3811f1..2ba4334cc1 100644
--- a/tp/t/results/formats_encodings/sample_utf8/res_html/Index-node.html
+++ b/tp/t/results/formats_encodings/sample_utf8/res_html/Index-node.html
@@ -7,10 +7,10 @@
Copyright (C) 2005 Someone.
Texinfo中文示例 -->
-<title>Index node (Sample)</title>
+<title>Index node (Sample 示例 ĄĘ ù)</title>
-<meta name="description" content="Index node (Sample)">
-<meta name="keywords" content="Index node (Sample)">
+<meta name="description" content="Index node (Sample 示例 ĄĘ ù)">
+<meta name="keywords" content="Index node (Sample 示例 ĄĘ ù)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="viewport" content="width=device-width,initial-scale=1">
diff --git
a/tp/t/results/formats_encodings/sample_utf8/res_html/Second-Chapter-AE-AE-ae-ae.html
b/tp/t/results/formats_encodings/sample_utf8/res_html/Second-Chapter-AE-AE-ae-ae.html
index 7bddebe406..e20df65a20 100644
---
a/tp/t/results/formats_encodings/sample_utf8/res_html/Second-Chapter-AE-AE-ae-ae.html
+++
b/tp/t/results/formats_encodings/sample_utf8/res_html/Second-Chapter-AE-AE-ae-ae.html
@@ -7,10 +7,10 @@
Copyright (C) 2005 Someone.
Texinfo中文示例 -->
-<title>Second Chapter AE ĄĘ ae ąę (Sample)</title>
+<title>Second Chapter AE ĄĘ ae ąę (Sample 示例 ĄĘ ù)</title>
-<meta name="description" content="Second Chapter AE ĄĘ ae ąę (Sample)">
-<meta name="keywords" content="Second Chapter AE ĄĘ ae ąę (Sample)">
+<meta name="description" content="Second Chapter AE ĄĘ ae ąę (Sample 示例 ĄĘ ù)">
+<meta name="keywords" content="Second Chapter AE ĄĘ ae ąę (Sample 示例 ĄĘ ù)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="viewport" content="width=device-width,initial-scale=1">
diff --git a/tp/t/results/formats_encodings/sample_utf8/res_html/index.html
b/tp/t/results/formats_encodings/sample_utf8/res_html/index.html
index 8bd4006f21..c92d3d3f5a 100644
--- a/tp/t/results/formats_encodings/sample_utf8/res_html/index.html
+++ b/tp/t/results/formats_encodings/sample_utf8/res_html/index.html
@@ -7,10 +7,10 @@
Copyright (C) 2005 Someone.
Texinfo中文示例 -->
-<title>Top (Sample)</title>
+<title>Top (Sample 示例 ĄĘ ù)</title>
-<meta name="description" content="Top (Sample)">
-<meta name="keywords" content="Top (Sample)">
+<meta name="description" content="Top (Sample 示例 ĄĘ ù)">
+<meta name="keywords" content="Top (Sample 示例 ĄĘ ù)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="viewport" content="width=device-width,initial-scale=1">
@@ -21,7 +21,6 @@ Texinfo中文示例 -->
<link href="DiYiZhang_0028First-Chapter_0029.html" rel="next" title="第一章(First
Chapter)">
<style type="text/css">
<!--
-h1.settitle {text-align:center}
ul.toc-numbered-mark {list-style: none}
-->
</style>
@@ -30,7 +29,6 @@ ul.toc-numbered-mark {list-style: none}
</head>
<body lang="en">
-<h1 class="settitle">Sample</h1>
diff --git a/tp/t/results/html_tests/shorttitlepage.pl
b/tp/t/results/html_tests/shorttitlepage.pl
index 08b9e78f25..bcb4ad1b7c 100644
--- a/tp/t/results/html_tests/shorttitlepage.pl
+++ b/tp/t/results/html_tests/shorttitlepage.pl
@@ -428,6 +428,7 @@ h1.shorttitlepage {text-align:center}
<body lang="en">
<h1 class="shorttitlepage">@title <small class="sc">HTML</small> <code
class="code">test</code></h1>
+<hr>
<div class="top-level-extent" id="Top">
<h1 class="top" id="Top-of-_0040title-HTML-test">Top of @title <small
class="sc">HTML</small> <code class="code">test</code></h1>
diff --git a/tp/t/results/html_tests/titles.pl
b/tp/t/results/html_tests/titles.pl
index 929276b35d..3e3bae0739 100644
--- a/tp/t/results/html_tests/titles.pl
+++ b/tp/t/results/html_tests/titles.pl
@@ -428,6 +428,7 @@ h1.settitle {text-align:center}
<body lang="en">
<h1 class="settitle">@title <small class="sc">HTML</small> <code
class="code">test</code></h1>
+<hr>
<div class="top-level-extent" id="Top">
<h1 class="top" id="Top-of-_0040title-HTML-test">Top of @title <small
class="sc">HTML</small> <code class="code">test</code></h1>
diff --git a/tp/t/results/sectioning/no_element.pl
b/tp/t/results/sectioning/no_element.pl
index 7093796110..5108523b65 100644
--- a/tp/t/results/sectioning/no_element.pl
+++ b/tp/t/results/sectioning/no_element.pl
@@ -978,6 +978,7 @@ h1.settitle {text-align:center}
<body lang="en">
<h1 class="settitle">no_element test</h1>
+<hr>
<a class="anchor" id="An-anchor"></a>
diff --git a/tp/tests/contents/list-of-tests b/tp/tests/contents/list-of-tests
index 11a936a1bb..dfe3d63a39 100644
--- a/tp/tests/contents/list-of-tests
+++ b/tp/tests/contents/list-of-tests
@@ -19,7 +19,7 @@ double_contents_inline_chapter double_contents.texi -c
'CONTENTS_OUTPUT_LOCATION
double_contents_inline_section double_contents.texi -c
'CONTENTS_OUTPUT_LOCATION inline' --split section
double_contents_inline_nodes double_contents.texi -c 'CONTENTS_OUTPUT_LOCATION
inline' --split node
double_contents_after_title double_contents.texi -c 'CONTENTS_OUTPUT_LOCATION
after_title'
-double_contents_after_title_no_texi2html double_contents.texi --html -c
'CONTENTS_OUTPUT_LOCATION after_title' -c 'TEXI2HTML undef'
+double_contents_after_title_no_texi2html double_contents.texi --html -c
'CONTENTS_OUTPUT_LOCATION after_title' -c 'TEXI2HTML undef' -c 'SHOW_TITLE 1'
no_content_inline no_content.texi -c 'CONTENTS_OUTPUT_LOCATION inline'
no_content_do_contents_inline no_content.texi -c 'CONTENTS_OUTPUT_LOCATION
inline' -c 'contents 1'
no_content_setcatpage_inline no_content_setcatpage.texi -c
'CONTENTS_OUTPUT_LOCATION inline'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * NEWS, doc/texinfo.texi (HTML Customization Variables) (Other Customization Variables), tp/Texinfo/Convert/HTML.pm (%defaults, output, _set_variables_texi2html): set SHOW_TITLE to undef, and have NO_TOP_NODE_OUTPUT set SHOW_TITLE to 1 if SHOW_TITLE is undef. Set USE_TITLEPAGE_FOR_TITLE to 1. That way, there is no title in the default case, as it is redundant with the @top header, there is a title only if NO_TOP_NODE_OUTPUT is set.,
Patrice Dumas <=