Re: tabs in `@example`

Werner LEMBERG <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
> At the start of a line, a tab character is treated the same as a
> space character, i.e. it is ignored.

But a space character at the beginning of a line is not ignored in an
`@example` environment!

Attached is a file that shows various combinations, together with an
image of it.  For me it's strange that a leading tab gets ignored
while a tab in any other situation is treated the same as a space (all
within an `@example` environment).


    Werner
tab-space.texinfo (text/plain, 230 B)
\input texinfo

XXX

@example
no leading whitespace
 space
	tab
	 tab + space
 	space + tab
  space + space
  	space + space + tab
	  tab + space + space
foo	tab
foo space
foo	 tab + space
foo 	space + tab
@end example

XXX

@bye
tab-space.png (image/png, 17.3 KB) - not displayed
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.