On Sun, Mar 08, 2026 at 05:01:35PM +0100, Patrice Dumas wrote:
> On Sat, Mar 07, 2026 at 10:53:00AM +0000, Gavin Smith wrote:
> > On Wed, Mar 04, 2026 at 03:41:41PM +0100, Patrice Dumas wrote:
> > > I fully agree.  The XML output may have been relevant in the past, but
> > > now it is not, and if something similar was to be done nowadays, I think
> > > that it should be done from scratch and be more in line with the current
> > > tree.  Or the SWIG interface should be used instead.  I would back up a
> > > phasing out of the XML (and associated SXML), and migration of the code
> > > to Example, with removal of --xml option, and removal from the Texinfo
> > > manual.  It could stay in Example for more time, though, 
> > 
> > I'd be happy with this.
> 
> What about associated @-commands, such as @xml, @ifxml..., or @inlinefmt
> argument name?  My view is that they should be removed too, it is
> possible to use @ifcommanddefined if needed.

@ifxml may be used in a few manuals.  I found it was used in the Gawk
documentation, as well as in the Texinfo manual.  It's used if the
document author has gone through and added conditional blocks for
every output format that texi2any supports.

Could we mark these commands as deprecated and never output @ifxml blocks
and always output @ifnotxml blocks, likewise for @xml and inline conditionals?

Reply via email to