summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kazkylheku@vtech.ca>2021-04-13 21:15:04 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-04-13 21:15:04 -0700
commitd2bcf2d01c52b23fea69b1492d437404eb67f7ff (patch)
tree3c843f5e1e4cc29b2d63646bac77128008b4dc6b /struct.h
parentf9725ac8e3ec93e94b392119cb3b1d1b992943d6 (diff)
downloadtxr-d2bcf2d01c52b23fea69b1492d437404eb67f7ff.tar.gz
txr-d2bcf2d01c52b23fea69b1492d437404eb67f7ff.tar.bz2
txr-d2bcf2d01c52b23fea69b1492d437404eb67f7ff.zip
doc: implement typesetting of keystrokes.
This commit relies on parallel improvements in man2html, up through commit ac186529b6b5f80906c3215a67c98505db7bb156 "Implement .M2HT request for HTML passthrough." * genman.txr: Add CSS block targetting the kbd element, providing 3D styling for keyboard input. * txr.1: Define two new macros, .key and .keyn. These are defined in three different ways: in man page output, we put square brackets around keystrokes. In typeset groff output, we put a square border around them using a box macro cribbed from groff documentation. In HTML, we use .M2HT to wrap a <kbd> tag around the keystrokes. Documentatio is updated to use these macros for all keystrokes. We no longer separate keystroke sequence elements with commas.
Diffstat (limited to 'struct.h')
0 files changed, 0 insertions, 0 deletions