[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * t/init_files_tests.t (test_format_single_footno
From: |
Patrice Dumas |
Subject: |
branch master updated: * t/init_files_tests.t (test_format_single_footnote_in_inline_content), tp/t/init/footnote_mark_in_inline_content.pm, tp/Makefile.tres, tp/Makefile.am (test_files): add a test for format_single_footnote custoization to have the footnote mark in inline content. Partly based on Roger Crew code. |
Date: |
Sat, 27 Jul 2024 08:53:31 -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 15f90529ee * t/init_files_tests.t
(test_format_single_footnote_in_inline_content),
tp/t/init/footnote_mark_in_inline_content.pm, tp/Makefile.tres, tp/Makefile.am
(test_files): add a test for format_single_footnote custoization to have the
footnote mark in inline content. Partly based on Roger Crew code.
15f90529ee is described below
commit 15f90529ee13a5d2b8bf5364078c9a4902af1058
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Jul 27 14:53:24 2024 +0200
* t/init_files_tests.t
(test_format_single_footnote_in_inline_content),
tp/t/init/footnote_mark_in_inline_content.pm, tp/Makefile.tres,
tp/Makefile.am (test_files): add a test for format_single_footnote
custoization to have the footnote mark in inline content. Partly
based on Roger Crew code.
---
ChangeLog | 9 +
tp/Makefile.am | 1 +
tp/Makefile.tres | 2 +
tp/t/init/footnote_mark_in_inline_content.pm | 37 ++
tp/t/init_files_tests.t | 29 +
...est_format_single_footnote_in_inline_content.pl | 625 +++++++++++++++++++++
.../res_html/chap.html | 70 +++
.../res_html/index.html | 48 ++
8 files changed, 821 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index ac7c59878e..e22d7e2202 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-07-27 Patrice Dumas <pertusus@free.fr>
+
+ * t/init_files_tests.t
+ (test_format_single_footnote_in_inline_content),
+ tp/t/init/footnote_mark_in_inline_content.pm, tp/Makefile.tres,
+ tp/Makefile.am (test_files): add a test for format_single_footnote
+ custoization to have the footnote mark in inline content. Partly
+ based on Roger Crew code.
+
2024-07-27 Patrice Dumas <pertusus@free.fr>
* doc/texi2any_api.tex (Customizing Footnotes),
diff --git a/tp/Makefile.am b/tp/Makefile.am
index bec267ab2d..9b2d78012f 100644
--- a/tp/Makefile.am
+++ b/tp/Makefile.am
@@ -182,6 +182,7 @@ test_files = \
t/init/css_in_node_redirection_page.pm \
t/init/cvs.init \
t/init/directions_string_undef.pm \
+ t/init/footnote_mark_in_inline_content.pm \
t/init/icons.init \
t/init/ignore_and_comments_output.init \
t/init/l2h.init \
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 7dc16f7125..fdc8196dd0 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -1076,6 +1076,8 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/init_files_tests/redefined_need.pl \
t/results/init_files_tests/sc_formatting_with_css.pl \
t/results/init_files_tests/sc_formatting_with_css/res_html \
+ t/results/init_files_tests/test_format_single_footnote_in_inline_content.pl \
+
t/results/init_files_tests/test_format_single_footnote_in_inline_content/res_html
\
t/results/init_files_tests/translation_in_parser_in_translation.pl \
t/results/init_files_tests/translation_in_parser_in_translation/res_html \
t/results/init_files_tests/undefined_node_filename.pl \
diff --git a/tp/t/init/footnote_mark_in_inline_content.pm
b/tp/t/init/footnote_mark_in_inline_content.pm
new file mode 100644
index 0000000000..296f74bf26
--- /dev/null
+++ b/tp/t/init/footnote_mark_in_inline_content.pm
@@ -0,0 +1,37 @@
+use strict;
+
+sub _texi2any_test_format_single_footnote_in_inline_content($$$$$$)
+{
+ my $self = shift;
+ my ($command, $id, $number_in_doc, $href, $mark) = @_;
+
+ my $category = 'footnote mark';
+
+ my $leading_content = qq{<sup><a id="$id" href="$href">$mark</a></sup>}
+ . ' ';
+
+ $self->register_pending_formatted_inline_content($category,
$leading_content);
+
+ my $footnote_text
+ = $self->convert_tree_new_formatting_context($command->{'args'}->[0],
+ "$command->{'cmdname'} $number_in_doc $id");
+ chomp ($footnote_text);
+ $footnote_text .= "\n";
+
+ my $cancelled = $self->cancel_pending_formatted_inline_content($category);
+
+ my $pre;
+ if ($cancelled) {
+ $pre = "<p>$leading_content</p>";
+ } else {
+ $pre = '';
+ }
+
+ return '<div class="footnote-text">' . $pre . $footnote_text . "</div>\n";
+}
+
+Texinfo::Config::texinfo_register_formatting_function(
+ 'format_single_footnote'
+ => \&_texi2any_test_format_single_footnote_in_inline_content);
+
+1;
diff --git a/tp/t/init_files_tests.t b/tp/t/init_files_tests.t
index 2faec60131..4d0f70ce50 100644
--- a/tp/t/init_files_tests.t
+++ b/tp/t/init_files_tests.t
@@ -217,6 +217,35 @@ $direction_strings_test_text,
$direction_strings_test_text,
{'init_files' => ['redefined_buttons.pm']},
],
+['test_format_single_footnote_in_inline_content',
+'@node Top
+@top top
+
+@node chap
+@chapter Chap
+
+a@footnote{In the footnote}.
+
+b@footnote{@c an example in the footnote
+
+@example
+in example
+@end example
+}
+
+c@footnote{
+@*
+}
+
+d@footnote{
+@quotation qtitle
+@author Me
+In quotation
+@end quotation
+}
+',
+{'init_files' => ['footnote_mark_in_inline_content.pm']},
+],
);
foreach my $test (@test_cases) {
diff --git
a/tp/t/results/init_files_tests/test_format_single_footnote_in_inline_content.pl
b/tp/t/results/init_files_tests/test_format_single_footnote_in_inline_content.pl
new file mode 100644
index 0000000000..2ddad19e3c
--- /dev/null
+++
b/tp/t/results/init_files_tests/test_format_single_footnote_in_inline_content.pl
@@ -0,0 +1,625 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'test_format_single_footnote_in_inline_content'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'type' => 'preamble_before_content'
+ }
+ ],
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 1
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'chap'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'chap'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Chap'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'a'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'In the footnote'
+ }
+ ],
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'footnote',
+ 'extra' => {},
+ 'source_info' => {
+ 'line_nr' => 7
+ }
+ },
+ {
+ 'text' => '.
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'b'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'text' => ' an example in the footnote
+',
+ 'type' => 'rawline_arg'
+ }
+ ],
+ 'cmdname' => 'c'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'example',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'in example
+'
+ }
+ ],
+ 'type' => 'preformatted'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'example'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'text_arg' => 'example'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 13
+ }
+ }
+ ],
+ 'source_info' => {
+ 'line_nr' => 11
+ }
+ }
+ ],
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'footnote',
+ 'extra' => {},
+ 'source_info' => {
+ 'line_nr' => 9
+ }
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'c'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'cmdname' => '*'
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'footnote',
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 16
+ }
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'd'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'qtitle'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'quotation',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Me'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'author',
+ 'extra' => {
+ 'quotation' => {}
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 22
+ }
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'In quotation
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'quotation'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'text_arg' => 'quotation'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 24
+ }
+ }
+ ],
+ 'extra' => {
+ 'authors' => [
+ {}
+ ]
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 21
+ }
+ }
+ ],
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'footnote',
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 20
+ }
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ }
+ ],
+ 'extra' => {
+ 'section_number' => '1'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 5
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'test_format_single_footnote_in_inline_content'}{'contents'}[4]{'contents'}[7]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'quotation'}
=
$result_trees{'test_format_single_footnote_in_inline_content'}{'contents'}[4]{'contents'}[7]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'test_format_single_footnote_in_inline_content'}{'contents'}[4]{'contents'}[7]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'authors'}[0]
=
$result_trees{'test_format_single_footnote_in_inline_content'}{'contents'}[4]{'contents'}[7]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0];
+
+$result_texis{'test_format_single_footnote_in_inline_content'} = '@node Top
+@top top
+
+@node chap
+@chapter Chap
+
+a@footnote{In the footnote}.
+
+b@footnote{@c an example in the footnote
+
+@example
+in example
+@end example
+}
+
+c@footnote{
+@*
+}
+
+d@footnote{
+@quotation qtitle
+@author Me
+In quotation
+@end quotation
+}
+';
+
+
+$result_texts{'test_format_single_footnote_in_inline_content'} = 'top
+***
+
+1 Chap
+******
+
+a.
+
+b
+
+c
+
+d
+';
+
+$result_sectioning{'test_format_single_footnote_in_inline_content'} = {
+ 'extra' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chap'
+ }
+ },
+ 'section_directions' => {
+ 'up' => {}
+ },
+ 'section_level' => 1,
+ 'section_number' => '1',
+ 'toplevel_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ }
+ }
+ }
+ ],
+ 'section_level' => 0,
+ 'sectioning_root' => {},
+ 'toplevel_directions' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'test_format_single_footnote_in_inline_content'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
=
$result_sectioning{'test_format_single_footnote_in_inline_content'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'test_format_single_footnote_in_inline_content'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'prev'}
=
$result_sectioning{'test_format_single_footnote_in_inline_content'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'test_format_single_footnote_in_inline_content'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'up'}
=
$result_sectioning{'test_format_single_footnote_in_inline_content'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'test_format_single_footnote_in_inline_content'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
= $result_sectioning{'test_format_single_footnote_in_inline_content'};
+
+$result_nodes{'test_format_single_footnote_in_inline_content'} = [
+ {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {}
+ },
+ 'node_directions' => {
+ 'next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'section_number' => '1'
+ }
+ },
+ 'node_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ },
+ 'normalized' => 'chap'
+ }
+ }
+ },
+ 'normalized' => 'Top'
+ }
+ },
+ {}
+];
+$result_nodes{'test_format_single_footnote_in_inline_content'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
= $result_nodes{'test_format_single_footnote_in_inline_content'}[0];
+$result_nodes{'test_format_single_footnote_in_inline_content'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
= $result_nodes{'test_format_single_footnote_in_inline_content'}[0];
+$result_nodes{'test_format_single_footnote_in_inline_content'}[1] =
$result_nodes{'test_format_single_footnote_in_inline_content'}[0]{'extra'}{'node_directions'}{'next'};
+
+$result_menus{'test_format_single_footnote_in_inline_content'} = [
+ {
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ {
+ 'extra' => {
+ 'normalized' => 'chap'
+ }
+ }
+];
+
+$result_errors{'test_format_single_footnote_in_inline_content'} = [];
+
+
+$result_floats{'test_format_single_footnote_in_inline_content'} = {};
+
+
+1;
diff --git
a/tp/t/results/init_files_tests/test_format_single_footnote_in_inline_content/res_html/chap.html
b/tp/t/results/init_files_tests/test_format_single_footnote_in_inline_content/res_html/chap.html
new file mode 100644
index 0000000000..5015753c55
--- /dev/null
+++
b/tp/t/results/init_files_tests/test_format_single_footnote_in_inline_content/res_html/chap.html
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>chap (top)</title>
+
+<meta name="description" content="chap (top)">
+<meta name="keywords" content="chap (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="index.html" rel="prev" title="Top">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+div.center {text-align:center}
+div.example {margin-left: 3.2em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="chap">
+<div class="nav-panel">
+<p>
+Previous: <a href="index.html" accesskey="p" rel="prev">top</a>, Up: <a
href="index.html" accesskey="u" rel="up">top</a> </p>
+</div>
+<hr>
+<h2 class="chapter" id="Chap"><span>1 Chap<a class="copiable-link"
href="#Chap"> ¶</a></span></h2>
+
+<p>a<a class="footnote" id="DOCF1" href="#FOOT1"><sup>1</sup></a>.
+</p>
+<p>b<a class="footnote" id="DOCF2" href="#FOOT2"><sup>2</sup></a>
+</p>
+<p>c<a class="footnote" id="DOCF3" href="#FOOT3"><sup>3</sup></a>
+</p>
+<p>d<a class="footnote" id="DOCF4" href="#FOOT4"><sup>4</sup></a>
+</p></div>
+<div class="footnotes-segment">
+<hr>
+<h4 class="footnotes-heading">Footnotes</h4>
+
+<div class="footnote-text"><p><sup><a id="FOOT1"
href="#DOCF1">1</a></sup> In the footnote</p>
+</div>
+<div class="footnote-text">
+<div class="example">
+<pre class="example-preformatted"><sup><a id="FOOT2"
href="#DOCF2">2</a></sup> in example
+</pre></div>
+</div>
+<div class="footnote-text"><p><sup><a id="FOOT3"
href="#DOCF3">3</a></sup> </p><br>
+</div>
+<div class="footnote-text"><blockquote class="quotation">
+<p><sup><a id="FOOT4" href="#DOCF4">4</a></sup> <b class="b">qtitle:</b>
In quotation
+</p></blockquote>
+<div class="center">— <em class="emph">Me</em>
+</div>
+</div>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/init_files_tests/test_format_single_footnote_in_inline_content/res_html/index.html
b/tp/t/results/init_files_tests/test_format_single_footnote_in_inline_content/res_html/index.html
new file mode 100644
index 0000000000..843460351e
--- /dev/null
+++
b/tp/t/results/init_files_tests/test_format_single_footnote_in_inline_content/res_html/index.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Top (top)</title>
+
+<meta name="description" content="Top (top)">
+<meta name="keywords" content="Top (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="#Top" rel="start" title="Top">
+<link href="chap.html" rel="next" title="chap">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+Next: <a href="chap.html" accesskey="n" rel="next">Chap</a> </p>
+</div>
+<hr>
+<h1 class="top" id="top"><span>top<a class="copiable-link" href="#top">
¶</a></span></h1>
+
+<ul class="mini-toc">
+<li><a href="chap.html" accesskey="1">Chap</a></li>
+</ul>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Next: <a href="chap.html" accesskey="n" rel="next">Chap</a> </p>
+</div>
+
+
+
+</body>
+</html>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * t/init_files_tests.t (test_format_single_footnote_in_inline_content), tp/t/init/footnote_mark_in_inline_content.pm, tp/Makefile.tres, tp/Makefile.am (test_files): add a test for format_single_footnote custoization to have the footnote mark in inline content. Partly based on Roger Crew code.,
Patrice Dumas <=