help-texinfo
[Top][All Lists]
Advanced

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

Re: [help-texinfo] Specifying Node File Prefix


From: Patrice Dumas
Subject: Re: [help-texinfo] Specifying Node File Prefix
Date: Tue, 26 Feb 2013 19:45:20 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Tue, Feb 26, 2013 at 11:11:01AM -0600, Joel Sherrill wrote:
> Hi
> 
> RTEMS folks back again. :(
> 
> We would like all the files from a single manual to have the
> same prefix (e.g. UserGuide-XXX). I thought I saw ways to
> do this in both texi2html and texi2any but so far no luck.
> 
> + texi2html has a --prefix option which looked promising
> + texi2any has -c to set customization variables and
>    NODE_FILENAMES or PREFIX looked like it might be OK.
> 
> Did I miss something? Is there a way to do this?

You need to do some coding in both cases.

For texi2any, without testing, and with the caveat that the final API 
may be very different, this should be something along:




$node_file_name = \&rtems_node_file_name;

sub rtems_node_file_name($$$)
{
  my $converter = shift;
  my $command = shift;
  my $filename = shift;

  return 'UserGuide-' . $filename;
}





-- 
Pat



reply via email to

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