summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* typoJacob Nevins2004-04-01
| | | | [originally from svn r4030]
* GCC 3.0 doesn't like you not including <string.h> if you use things in it.James Aylett2004-04-01
| | | | | | We do, so let's. [originally from svn r4029]
* For some reason I decided it was better to say `output format'Simon Tatham2004-04-01
| | | | | | | consistently in the documentation than to confuse matters by saying `back end'. One rogue back end removed. [originally from svn r4028]
* Forgot to mention the default behaviour is to run all backends.Simon Tatham2004-04-01
| | | | [originally from svn r4027]
* Help and usage messages.Simon Tatham2004-04-01
| | | | [originally from svn r4026]
* Make the command-line --licence option do something useful.Simon Tatham2004-04-01
| | | | [originally from svn r4025]
* Having done all these command-line options and new \cfg directives,Simon Tatham2004-04-01
| | | | | | I'd better document them... [originally from svn r4024]
* Homogenise the licence, and bring it up to date.Simon Tatham2004-04-01
| | | | [originally from svn r4023]
* Now I've got a mechanism for formatting HTML file names to aSimon Tatham2004-04-01
| | | | | | | | | | parametric template, reuse the same mechanism to allow the <a name="..."> markers on each section to be parametrised as well. That way, any user who so desires can arrange for everything in a section URL to be constructed from internal keywords, making it pretty robust against section numbering changes. [originally from svn r4019]
* Arrange a mechanism whereby each backend can be passed a filenameSimon Tatham2004-04-01
| | | | | | | | | from its command-line option (`--text=foo.txt') and automatically convert it into one or more notional \cfg directives. In the HTML case this mechanism enables single-file mode as well as setting the filename. [originally from svn r4018]
* Add \cfg / -C directives to allow the user to choose the output fileSimon Tatham2004-04-01
| | | | | | name (or name schema, in HTML). [originally from svn r4017]
* Fix a couple of memory leaks in backends.Simon Tatham2004-04-01
| | | | [originally from svn r4016]
* Oops, appendices.Jacob Nevins2004-04-01
| | | | [originally from svn r4015]
* Initial revisionJacob Nevins2004-04-01
| | | | [originally from svn r4014]
* Add the -C command-line option, which allows arbitrary \cfgSimon Tatham2004-03-31
| | | | | | directives to be supplied on the Halibut command line. [originally from svn r4013]
* Make a start on command-line options. Here I introduce --text,Simon Tatham2004-03-31
| | | | | | | --html, --winhelp and --man (plus spelling variations :-), which allow you to choose to run only a subset of backends. [originally from svn r4012]
* Oops; uninitialised variable.Simon Tatham2004-03-31
| | | | [originally from svn r4011]
* After so much fuss was made about this being an _XHTML_ back endSimon Tatham2004-03-31
| | | | | | | | rather than merely HTML, I thought it might be instructive to run it through the W3C's XHTML validator. Consequent changes in this checkin... [originally from svn r4010]
* Bah, there's always one. Missing file.Simon Tatham2004-03-30
| | | | [originally from svn r4007]
* \lcont and \quote were being confused by whitespace (in particular,Simon Tatham2004-03-30
| | | | | | | | | a single newline) immediately after their opening brace; this was causing a normal paragraph to be started, thus making it fiddly and annoying to arrange the first paragraph of a \lcont to be a code para or anything else special. Now fixed. [originally from svn r4005]
* Fix index sorting so that it collates in a sensible order.Simon Tatham2004-03-30
| | | | [originally from svn r4004]
* Make \ii work!Simon Tatham2004-03-30
| | | | [originally from svn r4003]
* The navigation links now contain a link to the index page.Simon Tatham2004-03-30
| | | | [originally from svn r4002]
* Simplify treatment of the copyright notice, now I've also simplifiedSimon Tatham2004-03-30
| | | | | | | | | the preamble: \copyright paragraphs are now treated identically to normal paragraphs (so they appear precisely where they're put instead of in a fixed location), _except_ that the Windows Help backend also copies their text into the help file's copyright slot. [originally from svn r4001]
* I always meant to remove emphasis in the index by default. Now I doSimon Tatham2004-03-30
| | | | | | so. It's restorable using \IM. [originally from svn r4000]
* The manual is now fully indexed.Simon Tatham2004-03-30
| | | | [originally from svn r3999]
* Couple of extra points: forgot about the \i\cw special case, andSimon Tatham2004-03-27
| | | | | | | Jacob points out that I didn't specify whether inline formatting commands can surround line breaks (they can). [originally from svn r3994]
* Fix bug in HTML index generation: any index tags appearing in aSimon Tatham2004-03-27
| | | | | | | | | | | | section title (which is not remotely unreasonable) got index references added to them not only when the section title was processed as part of its section, but also when it was processed as part of contents navigation displays - in which situation it tended to cause a link to, for example, the last section in the _previous_ file. Now we keep constant track of whether or not we're supposed to be indexing things as we process text. [originally from svn r3991]
* Second instalment of the manual: added a chapter on output formats.Simon Tatham2004-03-26
| | | | | | | | I _think_ the manual now contains all the information a user should need, even if not yet in an optimal order for a beginner to learn from. [originally from svn r3989]
* Introduce \. as a NOP command. The purpose of this is to act as aSimon Tatham2004-03-25
| | | | | | | | | zero-width delimiter between a macro invocation and text beyond it, so that you can define (say) a macro which expands to a Euro sign and then write `\eur\.2500' to avoid having space between the Euro sign and the number. [originally from svn r3982]
* Obsoleted the `\preamble' command. Preamble text is now taken to beSimon Tatham2004-03-25
| | | | | | | | | | any ordinary displayable paragraph(s) appearing before the first chapter heading, meaning in particular that you can put lists, code paragraphs etc in preambles. Of course, `\preamble' is still supported for backwards compatibility, but it's now a zero-effect paragraph marker. [originally from svn r3981]
* First instalment of a manual for Halibut. This lot covers theSimon Tatham2004-03-25
| | | | | | (nearly nonexistent) invocation syntax and the input format. [originally from svn r3979]
* Add a \quote{...} directive, working like <blockquote> in HTML.Simon Tatham2004-03-25
| | | | [originally from svn r3978]
* Apparently we must include the .TH directive in a man page even whenSimon Tatham2004-03-25
| | | | | | there's nothing to go in it. [originally from svn r3977]
* Cleanups to complete the man page backend. Also, an additional newSimon Tatham2004-03-24
| | | | | | | | | | | | | markup feature: a \c line in a code paragraph can now be followed by an optional \e line indicating emphasised bits of its preceding \c. This allows discretionary bolding and (italic/underline) emphasis within code paragraphs, but without introducing an escape character or breaking any existing input files. Users are warned that not all backends are required to actually render these hints, and so they should avoid depending on them 100% to convey semantic information unless they know they're writing for a restricted range of backends. [originally from svn r3965]
* Oops, nearly forgot. Nesting one numbered list inside another shouldSimon Tatham2004-03-23
| | | | | | not break the numbering of the outer one! [originally from svn r3955]
* Man-page back end for Halibut. Also, a couple of additional markupSimon Tatham2004-03-23
| | | | | | | | | features commonly used in man pages: (a) the ability to nest paragraph breaks, code paragraphs and other lists inside list items, and (b) description lists as normally used in man pages to describe command-line options. [originally from svn r3954]
* WinHelp backend segfaults when it finds a nonexistent cross-Simon Tatham2003-01-09
| | | | | | | | reference. (The broken link will already have been reported in the mid-end, but this won't inhibit output generation, so the onus is still on us to at the very least not go *crash*.) [originally from svn r2507]
* Of course, when I start freeing things in response to valgrind'sSimon Tatham2002-09-03
| | | | | | | | complaints, it would probably help if I arranged that those things had been _allocated_ in all cases, otherwise we merely exchange a memory leak for a core dump. Duh. [originally from svn r1916]
* Just had a play with this newfangled `valgrind' memory debuggerSimon Tatham2002-08-23
| | | | | | | thingy, which seems moderately cool and has reported a few very small memory leaks. Now apparently fixed. [originally from svn r1863]
* Add configurability for section heading formats, in much the sameSimon Tatham2002-08-12
| | | | | | | | way as bk_text already does it (you can choose to have or not have the "Section" at the start, and you can configure the suffix between number and title). [originally from svn r1839]
* Add configurability for the suffix after the section number andSimon Tatham2002-08-12
| | | | | | before the section title (the ": " in "Section 1: Introduction"). [originally from svn r1838]
* Arrange for multiple \cfg, \IM and \BR paragraphs to not requireSimon Tatham2002-08-12
| | | | | | | blank-line separators (config directives visually _want_ to be in a single chunk). [originally from svn r1837]
* Fix the bug in the text back end whereby bulletted paragraphs' widthSimon Tatham2002-08-11
| | | | | | failed to be decreased to compensate for the additional indent. [originally from svn r1834]
* Add `topclean' target to the top-level Makefile, to remove theSimon Tatham2002-08-11
| | | | | | output from running Halibut on a test input file. [originally from svn r1833]
* Slightly improve the handling of headings in HTML single-file mode.Simon Tatham2002-08-11
| | | | [originally from svn r1832]
* Upgrade to Halibut xhtml backend, to allow leaf_level to be zero (inSimon Tatham2002-08-11
| | | | | | | | which case the whole of the HTML output will be in a single file, currently called Manual.html in the absence of configurability). This includes the index, if present. [originally from svn r1831]
* Rename Buttress to Halibut. I _think_ I've caught everything in this pass.Simon Tatham2002-08-05
| | | | [originally from svn r1800]
* Rename Index.html to IndexPage.html (storing Buttress output onSimon Tatham2002-03-06
| | | | | | | Windows is tricky otherwise, since Index.html clashes with index.html. Bah). [originally from svn r1575]
* xhtml-navigation-attributes config option (try {align='center'} for instance.James Aylett2002-01-29
| | | | | | | Contents entries are now, eg, "Chapter 1: Introduction" rather than just "Introduction". [originally from svn r1552]