bug-texinfo
[Top][All Lists]
Advanced

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

Re: Emacs texinfo-format-buffer and Info file without tag table


From: Patrice Dumas
Subject: Re: Emacs texinfo-format-buffer and Info file without tag table
Date: Fri, 22 Jul 2022 14:03:27 +0200

On Fri, Jul 22, 2022 at 01:52:47PM +0200, Robert Pluim wrote:
> >>>>> On Fri, 22 Jul 2022 12:03:10 +0200, Patrice Dumas <pertusus@free.fr> 
> >>>>> said:
> 
>     Patrice> Hello,
>     Patrice> Thanks a lot for the fast answer.  A related question, in the
>     Patrice> Texinfo manual it is said in 'Creating an Unsplit File' that
> 
>     Patrice>  To prevent texinfo-format-buffer from splitting a Texinfo file 
> into smaller
>     Patrice>  Info files, give a prefix to the M-x texinfo-format-buffer 
> command:
>     Patrice>   C-u M-x texinfo-format-buffer
>     Patrice>  or else
>     Patrice>   C-u C-c C-e C-b
>     Patrice>  When you do this, Texinfo will not split the file and will not 
> create a tag table for it.
> 
>     Patrice> Do those commands create a tag table now, or still do not?
> 
> C-h f texinfo-format-buffer
> 
>     texinfo-format-buffer is an autoloaded interactive Lisp function in
>     `texinfmt.el'.
> 
>     (texinfo-format-buffer &optional NOSPLIT)
> 
>     Process the current buffer as texinfo code, into an Info file.
>     The Info file output is generated in a buffer visiting the Info file
>     name specified in the @setfilename command.
> 
>     Non-nil argument (prefix, if interactive) means don't make tag table
>     and don't split the file if large.  You can use `Info-tagify' and
>     `Info-split' to do these manually.
> 
>     Patrice> Yet another question, in the Texinfo manual it is said that
>     Patrice>  You can run Info-validate only on a single Info file that has a 
> tag table.
>     Patrice>  The command will not work on the indirect subfiles that are 
> generated when
>     Patrice>  a master file is split.
> 
>     Patrice> Is it still true?  Or has Info-validate been extended to work on 
> split
>     Patrice> Info files?
> 
> Thatʼs still true, Info-validate only looks at the current buffer.

Thanks a lot!

-- 
Pat



reply via email to

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