unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Info file:  How do I get an itemized list without blank lines?
@ 2003-04-12  9:45 Alan Mackenzie
  2003-04-12 12:56 ` Kai Großjohann
  2003-04-13 13:26 ` Reiner Steib
  0 siblings, 2 replies; 7+ messages in thread
From: Alan Mackenzie @ 2003-04-12  9:45 UTC (permalink / raw)


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").

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-04-15 17:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-12  9:45 Info file: How do I get an itemized list without blank lines? Alan Mackenzie
2003-04-12 12:56 ` Kai Großjohann
2003-04-13 13:26 ` Reiner Steib
2003-04-13 16:58   ` Stefan Monnier
2003-04-13 20:24     ` Info-goto-node vs. info (was: Info file: How do I get an itemized list without blank lines?) Reiner Steib
2003-04-13 23:00       ` Stefan Monnier
2003-04-15 17:09         ` Info-goto-node vs. info Reiner Steib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).