[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/ext/epub3.pm (epub_setup): properly reset va
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/ext/epub3.pm (epub_setup): properly reset variables. |
Date: |
Fri, 05 Aug 2022 06:59:41 -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 ad734e9522 * tp/ext/epub3.pm (epub_setup): properly reset variables.
ad734e9522 is described below
commit ad734e95223bb7764b1d98d74851155adba0e244
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Aug 5 12:59:32 2022 +0200
* tp/ext/epub3.pm (epub_setup): properly reset variables.
---
ChangeLog | 4 ++++
tp/ext/epub3.pm | 8 ++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index fb799e33ab..19e28d36c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-08-05 Patrice Dumas <pertusus@free.fr>
+
+ * tp/ext/epub3.pm (epub_setup): properly reset variables.
+
2022-08-05 Patrice Dumas <pertusus@free.fr>
Set CHECK_HTMLXREF to get external manuals in EPUB
diff --git a/tp/ext/epub3.pm b/tp/ext/epub3.pm
index 5ca55c4eb1..5bca7f71d3 100644
--- a/tp/ext/epub3.pm
+++ b/tp/ext/epub3.pm
@@ -117,7 +117,7 @@ texinfo_set_from_init_file('NO_TOP_NODE_OUTPUT', 1);
texinfo_set_from_init_file('FORMAT_MENU', 'nomenu');
# a footer gets in the way of navigation. It is not set in the default
-# case, but with texi2html style.
+# case anyway, but it is set in texi2html style.
texinfo_set_from_init_file('PROGRAM_NAME_IN_FOOTER', 0);
# split at chapter such that ebook readers start a new page for
@@ -194,7 +194,8 @@ sub epub_noop($$)
return '';
}
-# file scope variables
+# file scope variables. Beware to reset all that are not constants
+# at the beginning of epub_setup for multi input Texinfo manual cases.
my $epub_destination_directory;
my $epub_document_destination_directory;
@@ -345,6 +346,9 @@ sub epub_setup($)
{
my $self = shift;
+ $epub_outfile = undef;
+ $epub_destination_directory = undef;
+ $epub_document_destination_directory = undef;
@epub_output_filenames = ();
%epub_images = ();
$nav_filename = $default_nav_filename;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/ext/epub3.pm (epub_setup): properly reset variables.,
Patrice Dumas <=