Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #264108

Category texinfo
Changed by Patrice Dumas <pertususohnoyoudont@free.fr>
Changed at Fri 10 Apr 2026 00:34:34
Repository https://git.savannah.gnu.org/git/texinfo.git
Project texinfo
Branch master
Revision 1ee22fdc03a3dc8ffb373aef9182ed55dc021010

Comments

Add @ifepub and @ifnotepub in texi2any
* tta/C/texi2any.c (is_texinfo_output_formats)
(format_expanded_formats): add is_texinfo_output_formats.

* tta/C/texi2any.c (main): add converted_format_specification
for the converted format, and keep format_specification for the
main format.

* tta/C/texi2any.c (format_expanded_formats), tta/perl/texi2any.pl
(_format_expanded_formats): add expanded region for main format (as
opposed to converted format).

* tta/C/main/parser_conf.h (PARSER_CONF), tta/C/main/utils.c
(default_expanded_formats), tta/data/command_data.txt (ifepub)
(ifnotepub), tta/perl/Texinfo/Common.pm (%texinfo_output_formats):
add ifepub and ifnotepub block @-commands and epub expanded format.

* tta/C/texi2any.c (converter_format_expanded_region_name)
(IFEPUB_OPT, NO_IFEPUB_OPT, long_options, main),
tta/perl/t/test_utils.pl (convert_to_html, test), tta/perl/texi2any.pl
(%converter_format_expanded_region_name, makeinfo_help, GetOptions):
add epub as expanded format for EPUB output format and corresponding
command-line options.

* NEWS, doc/texinfo.texi (Conditional Commands, Raw Formatter Commands)
(Inline Conditionals, Invoking @command{texi2any}, Command List):
document @ifepub, @ifnotepub and associated command-line arguments.

* tta/perl/Makefile.tres, tta/perl/t/16raw.t (raw_epub),
tta/perl/t/epub_tests.t (epub_conditional, epub_inline_conditional),
tta/perl/t/html_tests.t (epub_conditionals): add tests for epub
conditionals.

Changed files