[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
new commands for GUI sequences
From: |
Karl Berry |
Subject: |
new commands for GUI sequences |
Date: |
Thu, 31 Jan 2008 13:28:17 -0600 |
FYI ... after some discussions with Ben, I've just defined these new
commands in texinfo.tex and makeinfo. If any comments, let me know.
(And if anyone knows what to do with them in Docbook, or how to handle
@clickstyle in TexinfoXML, ditto.)
Thanks,
Karl
File: texinfo, Node: Click Sequences
14.13 Click Sequences
=====================
When documenting graphical interfaces, it is necessary to describe
sequences such as `Click on `File', then choose `Open', then ...'.
Texinfo offers commands address@hidden' and `click' to represent this,
typically used like this:
... @clicksequence{File @click{} Open} ...
which produces:
... File -> Open ...
The address@hidden' command produces a simple right arrow (`->' in Info) by
default; this glyph is also available independently via the command
address@hidden'.
You can change the glyph produced by address@hidden' with the command
address@hidden', which takes a command name as its single argument on the
rest of the line, much like address@hidden' and friends (*note address@hidden':
itemize.). The command should produce a glyph, and the usual empty
braces `{}' are omitted. Here's an example:
@clickstyle @result
... @clicksequence{File @click{} Open} ...
now produces:
... File => Open ...
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- new commands for GUI sequences,
Karl Berry <=