summaryrefslogtreecommitdiff
path: root/index.c (unfollow)
Commit message (Collapse)Author
2013-03-10Add \s for 'strong' text, i.e. bold rather than italics. I've missedSimon Tatham
this a couple of times in Halibut markup recently (in particular, it's handy to have a typographical distinction between 'this term is emphasised because it's new' and 'this term is emphasised because I want you to pay attention to it'), so here's an implementation, basically parallel to \e. One slight oddity is that strong text in headings will not be distinguished in some output formats, since they already use bolded text for their headings. [originally from svn r9772]
2012-08-29Revamp of the Halibut error handling mechanism.Simon Tatham
I'm not quite sure why I ever thought it was a good idea to have a central variadic error() function taking an integer error code followed by some list of arguments that depend on that code. It now seems obvious to me that it's a much more sensible idea to have a separate function per error, so that we can check at compile time that the arguments to each error call are of the right number and type! So I've done that instead. A side effect is that the errors are no longer formatted into a fixed-size buffer before going to stderr, so I can remove all the %.200s precautions in the format strings. [originally from svn r9639]
2004-06-13The Halibut manual contained at least one instance of two indexSimon Tatham
terms (intentionally) differing only in case, which were being silently folded into one by the case-insensitive index tag comparison. Halibut now warns in this situation (but then folds them anyway, which I think is better than silently generating an index containing many case-distinct forms of the same word - I imagine it's very easy to do that by mistake). The manual has been fixed to explicitly define distinct keywords (in the case I spotted and in five other cases picked up by the new warning!), and also documents this issue and how to work with it. [originally from svn r4279]
2004-06-12Switch the memory allocation macros from the Halibut onesSimon Tatham
(mknew/mknewa/resize) to the PuTTY ones (snew/snewn/sresize). snewn and mknewa have their arguments opposite ways round; this may make the change initially painful but in the long term will free me of a nasty context switch every time I move between codebases. Also sresize takes an explicit type operand which is used to cast the return value from realloc, thus enforcing that it must be correct, and arranging that if anyone tries to compile Halibut with a C++ compiler there should be a lot less pain. [originally from svn r4276]
2004-04-22Support the locale-supplied character set where appropriate. It'sSimon Tatham
used for converting command-line -C directives into Unicode; it's used for outputting Unicode strings to stderr in error messages; and it's used as the default character set for input files (although I'd be inclined to recommend everyone use \cfg{input-charset} in all their source files to ensure their portability). [originally from svn r4114]
2004-04-10Info backend now takes care to avoid magic characters in node namesSimon Tatham
and index terms (the Info format doesn't like them). In the course of this I've had to introduce some infrastructure for carrying a filepos forward from the definition of every RHS index term so that a particular backend can provide a usefully localised report of which index term had a problem. [originally from svn r4051]
2004-03-30I always meant to remove emphasis in the index by default. Now I doSimon Tatham
so. It's restorable using \IM. [originally from svn r4000]
2002-08-05Rename Buttress to Halibut. I _think_ I've caught everything in this pass.Simon Tatham
[originally from svn r1800]
2001-12-04Indexing in the Help backend now seems to work! Woo!Simon Tatham
[originally from svn r1450]
2001-12-04This update should bring the Windows Help back end up toSimon Tatham
near-complete functionality. All that's missing now is indexing and horizontal rules. [originally from svn r1449]
2001-12-04Replace Buttress's old tree23 routines with my shiny new countedSimon Tatham
tree234 routines; they will be useful in the WinHelp stuff at least. [originally from svn r1444]
2000-12-21Initial checkin of xhtml backend.James Aylett
[originally from svn r828]
1999-11-07Configurability backbone, and first use of itSimon Tatham
[originally from svn r275]
1999-10-25Fix yet another error-handling segfaultSimon Tatham
[originally from svn r257]
1999-10-25Fix a slight oddity in index generation, revealed by error testingSimon Tatham
[originally from svn r256]
1999-10-20First backend! Text output now pretty much works.Simon Tatham
[originally from svn r240]
1999-10-18Further development; mid-end index handling pretty much there!Simon Tatham
[originally from svn r238]
1999-10-16Further development: index work, phase ISimon Tatham
[originally from svn r237]
1999-08-09More development; not nearly finished yetSimon Tatham
[originally from svn r193]