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