help-gnu-emacs
[Top][All Lists]
Advanced

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

Info file: How do I get an itemized list without blank lines?


From: Alan Mackenzie
Subject: Info file: How do I get an itemized list without blank lines?
Date: Sat, 12 Apr 2003 09:45:31 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

Emacs 21.1, Texinfo 4.5.

I'm writing an info page.  My file.texi contains the following itemized
list:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@itemize -
@item
@code{delete-other-windows} (@kbd{C-x 1}) @xref{Change Window}.
@item
@code{balance-windows} (@kbd{C-x +}) @xref{Change Window}.
@item
@code{split-window-vertically} (@kbd{C-x 2}) @xref{Split Window}.
@item
@code{enlarge-window} (@kbd{C-x ^}) @xref{Change Window}.
@end itemize
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

After being compiled into an info page by C-c C-m C-b
(texinfo-format-buffer), then loaded with C-h i, etc., it looks like
this:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

   - `delete-other-windows' (`C-x 1') *Note Change Window::.

   - `balance-windows' (`C-x +') *Note Change Window::.

   - `split-window-vertically' (`C-x 2') *Note Split Window::.

   - `enlarge-window' (`C-x ^') *Note Change Window::.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

I would like this list NOT to have the blank lines between the items.  

The Texinfo info page "itemize" says this:

#   Usually, you should put a blank line before an `@item'.  This puts a
#   blank line in the Info file. (TeX inserts the proper interline
#   whitespace in either case.)  Except when the entries are very brief,
#   these blank lines make the list look better.

This kind of implies that if you DON'T put a blank line before the
`@item', blank lines will not be inserted between the items in the final
info file.  It doesn't actually quite say this, though.

Can I indeed write such a list, without blank lines being inserted as
separators?

Thanks in advance for the help.

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").



reply via email to

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