From e695cb0dd19d1cbce0c49a71a913527a227a9e09 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 6 Dec 2001 12:59:37 +0000 Subject: Allow the user to specify the Help topic ID string for particular sections. Useful if another program needs to jump to a particular topic. (Really we should support the proper CTXOMAP / HELP_WM_HELP system for doing this, but I don't like numeric IDs; you'd have to parse a bunch of #defines in order to sensibly synchronise the IDs between help file and code.) [originally from svn r1457] --- inputs/test.but | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'inputs') diff --git a/inputs/test.but b/inputs/test.but index d342a8e..9b79903 100644 --- a/inputs/test.but +++ b/inputs/test.but @@ -19,7 +19,7 @@ a bit] \define{coopt} co\u00F6{-o}pt -\versionid $Id: test.but,v 1.15 2001/12/04 19:12:18 simon Exp $ +\versionid $Id: test.but,v 1.16 2001/12/06 12:59:37 simon Exp $ \C{ch\\ap} First chapter title; for similar wrapping reasons this chapter title will be ludicrously long. I wonder how much more @@ -37,6 +37,8 @@ fragments}. guessing the reason why this time, and here's yet more text to pad it out to three lines of output) +\cfg{winhelp-topic}{M359HPEHGW} + Here's a code paragraph: \c No leading spaces @@ -100,6 +102,8 @@ and here's a reference to it: \k{sub-sub}. \A{app} Needless appendix +\# \cfg{winhelp-topic}{Y5VQEXZQVJ} (uncomment this and it clashes) + Here's an \i{appendix}, for no terribly good reason at all. See \k{book}. -- cgit v1.1