Re: tabs in `@example`

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
> Date: Fri, 13 Mar 2026 07:16:01 +0000
> From: Werner LEMBERG <[email protected]>
> 
> In the info file I read the following about `@example`.
> 
>      Caution: Do not use tabs in the lines of an example!  (Or
>      anywhere else in Texinfo, except in verbatim environments.)  TeX
>      treats tabs as single spaces, and that is not what they look
>      like.
> 
> However, this is not fully correct.  Consider the following input
> file.
> 
> ```
> \input texinfo
> 
> @example
> no leading space
> 	leading tab	another tab
>         eight leading spaces
> @end example
> 
> @bye
> ```
> 
> If processed with `texi2pdf`, the leading tab vanishes completely (as
> shown in the image); it is not treated as a single space.

Where does it say that _every_ tab is treated as a single space?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.