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

      • ... Gavin Smith
        • ... Jonas Hahnfeld via Bug reports for the GNU Texinfo documentation system
      • ... Gavin Smith
        • ... Gavin Smith
          • ... Gavin Smith
            • ... Patrice Dumas
  • Re... Patrice Dumas
    • ... Jonas Hahnfeld via Bug reports for the GNU Texinfo documentation system
      • ... Gavin Smith
      • ... Patrice Dumas
      • ... Patrice Dumas
        • ... Jonas Hahnfeld via Bug reports for the GNU Texinfo documentation system

Reply via email to