texi2html-bug
[Top][All Lists]
Advanced

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

Re: [Texi2html-bug] notabug: input filenames


From: Patrice Dumas
Subject: Re: [Texi2html-bug] notabug: input filenames
Date: Wed, 3 Oct 2007 09:56:40 +0200
User-agent: Mutt/1.5.16 (2007-06-09)

On Tue, Oct 02, 2007 at 04:12:52PM -0700, Graham Percival wrote:
> The documentation is clear that input filenames should not end in .tely, so 
> this report isn't really a bug.  However, it would be nice if the program 
> usage did not depend on the suffix:
>
> address@hidden:~/tmp/totemp$ texi2html splitme.tely
> address@hidden:~/tmp/totemp$ texi2html --split=node splitme.tely
> *** can't create directory splitme.tely
>
>
> In the first case, the output is perfect; in the second case, there is no 
> output.

The manual is not that clear, since it doesn't cover the case when 
the texinfo file name doesn't end with the `.texi', `.txi', `.texinfo',
or `.txinfo' extension. In any case there is no different treatement, it
happens that when the input filename doesn't end with the 'known'
texinfo extension, the directory name for split manual is the input file
name, leading to the error. A way out is to specify --output for the
directory name.

There are 3 arguments in favor of removing any extension when the manual
is split, however:
* Makeinfo removes the extension. 
* the default output directory changed in 1.68. It was ./ previously,
  now it is the manual base name, so if the manual name includes the
  extension, it will clash with certainty.
* when doing cross references between manuals, the extension is removed 
  to determine the file name.

If the behavioir change, the remaining issues are: should the name 
without extension also be used to determine the manual basename? And 
in the non split case?

Any comment?

--
Pat




reply via email to

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