* 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
* Re: Info file: How do I get an itemized list without blank lines?
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
1 sibling, 0 replies; 7+ messages in thread
From: Kai Großjohann @ 2003-04-12 12:56 UTC (permalink / raw)
Maybe it works to use a table? I have no idea, really.
--
file-error; Data: (Opening input file no such file or directory ~/.signature)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Info file: How do I get an itemized list without blank lines?
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
1 sibling, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2003-04-13 13:26 UTC (permalink / raw)
On Sat, Apr 12 2003, Alan Mackenzie wrote:
> Can I indeed write such a list, without blank lines being inserted as
> separators?
Maybe (Info-goto-node "(texinfo)itemx")?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Info file: How do I get an itemized list without blank lines?
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
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2003-04-13 16:58 UTC (permalink / raw)
>> Can I indeed write such a list, without blank lines being inserted as
>> separators?
> Maybe (Info-goto-node "(texinfo)itemx")?
Info-goto-node is not autoloaded, so the above doesn't quite work.
The recommended way is (info "(texinfo)itemx").
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Info-goto-node vs. info (was: Info file: How do I get an itemized list without blank lines?)
2003-04-13 16:58 ` Stefan Monnier
@ 2003-04-13 20:24 ` Reiner Steib
2003-04-13 23:00 ` Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2003-04-13 20:24 UTC (permalink / raw)
On Sun, Apr 13 2003, Stefan Monnier wrote:
>> Maybe (Info-goto-node "(texinfo)itemx")?
>
> Info-goto-node is not autoloaded, so the above doesn't quite work.
> The recommended way is (info "(texinfo)itemx").
Is there any compatible solution? (info "(texinfo)itemx") doesn't
work at all in XEmacs (21.4.12). (Info-goto-node "(texinfo)itemx")
works in XEmacs and in Emacs after info has been loaded. Gnus 5.9
already adds an autoload for `Info-goto-node'.
,----[ Gnus 5.9 ]
| ;; Define some autoload functions Gnus might use.
| [...]
| ;; This little mapcar goes through the list below and marks the
| ;; symbols in question as autoloaded functions.
| [...]
| '(("info" :interactive t Info-goto-node)
`----
Maybe it would be better to add an autoload for `Info-goto-node' in
Emacs?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ 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).