bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request for feedback on texi2any customization file


From: Patrice Dumas
Subject: Re: Request for feedback on texi2any customization file
Date: Tue, 5 Sep 2023 10:27:24 +0200

On Mon, Sep 04, 2023 at 10:00:42PM +0200, Jonas Hahnfeld wrote:
> As I write above, label_target_name is already called for external
> references (via _normalized_label_id_file). So all we would need is
> something like node_file_name for external nodes (or just use the same
> function) and a hook to tweak the manual directory, with the default
> returning $manual_base.'_'.$converter->{'output_format'}, right?

I changed my mind again, I left label_target_name as is, as it is used
both for internal and external references and added two new file_id_setting
customization references, external_target_non_split_name and
external_target_split_name.

https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=f0cfa4354ba0fb0e33aa3990c853e7f69fd9438f

Setting those references and looking at the result is not tested, I just
tested that there was no regression.

Also note that the API for those functions will change after the
release, the node_contents argument will be replaced by a Texinfo tree
element.  Probably no impact for your use, though.

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]