summaryrefslogtreecommitdiff
path: root/inputs (follow)
Commit message (Collapse)AuthorAge
* I've worked out why ligation was being (correctly) suppressed in codeBen Harris2007-01-06
| | | | | | | paragraphs and found some cases where it isn't. Add test cases for these to remind me to deal with them later. [originally from svn r7060]
* Fix the behaviour of constructions like \e{index \i{term}} -- the index tagJacob Nevins2007-01-01
| | | | | | | | | | | was causing emphasis to be broken (particularly noticeable in text-like backends). There are some instances of this in the PuTTY manual, for instance. Unfortunately, \k references in similar situations still aren't quite right, but fixing that will be more involved, and I haven't found any instances yet. [originally from svn r7049]
* Emit lots of odd characters so as to test the paper backends' ability toBen Harris2006-12-31
| | | | | | use two encodings of the same font. [originally from svn r7042]
* Support for the MS HTML Help system in the HTML back end. As yet ISimon Tatham2006-12-11
| | | | | | | | don't know how to write out a .CHM directly, but I am at least able to have the HTML back end write out the three auxiliary files which enable a .CHM to be generated using the MS HTML Help compiler. [originally from svn r6991]
* Make the title a bit scarier to test the PostScript backend some more,Ben Harris2006-12-10
| | | | | | including testing some bug fixes it doesn't have yet. [originally from svn r6988]
* I've just noticed some unacceptably long lines in code paragraphs inSimon Tatham2006-12-07
| | | | | | | | | | | | | | | the Halibut manual. They turn out to be \cfg directives with multiple braced sections after them. The obvious thing to do for legibility would be to wrap those sections by putting newlines between } and {, but that isn't legal in the Halibut syntax. Therefore, it is now :-) For paragraph types which don't have any body text (such as \cfg), we are now lenient about whitespace between multiple keywords. So I can fix the docs so they don't go over the limit, and be confident that the fixed version is still technically accurate. [originally from svn r6970]
* Introduce global (cross-backend) \cfg{contents} and \cfg{index}Simon Tatham2006-06-02
| | | | | | | commands, allowing the fixed words "Contents" and "Index" generated in various output formats to be reconfigured into other languages. [originally from svn r6724]
* Add tests of ` and ' characters, since they need special handling in the man ↵Ben Harris2006-05-06
| | | | | | backend. [originally from svn r6649]
* Remove the error message `no text found in paragraph'. Aaron BrownSimon Tatham2005-09-29
| | | | | | | | | | | | | points out that it's perfectly possible to generate an empty paragraph using legal Halibut syntax: a paragraph containing nothing but a \#{...} comment will do the job, and is quite likely to happen if you've commented out a load of Halibut code. Therefore, an empty paragraph is now silently ignored rather than being an error condition in itself; if you create an empty paragraph due to it containing an unrecognised directive, then you'll get an error for _that_ and only that. [originally from svn r6361]
* It turns out that the man format requires the \& sequence (toSimon Tatham2004-11-21
| | | | | | | neutralise a dot at the start of a line) even if there's been an \fB-type sequence on the line before the dot. [originally from svn r4867]
* Explicitly bless in the documentation, and fix in the man backend,Simon Tatham2004-08-06
| | | | | | | the practice of using \dt and \dd in anything other than the obvious interleaving. [originally from svn r4417]
* Right; I'm finally sick of typing \q{\cw{foo}}, so I've invented aSimon Tatham2004-07-16
| | | | | | shorthand command \cq{foo}. [originally from svn r4327]
* Various HTML backend cleanups.Simon Tatham2004-06-20
| | | | [originally from svn r4308]
* Moderately nasty workaround for the fact that Windows Help's indexSimon Tatham2004-06-19
| | | | | | | | | mechanism is case-insensitive with respect to sorting the list of index entries. We now append nonbreaking spaces to the ends of some index terms to ensure they are considered distinct. (Nasty, but it seems to work.) [originally from svn r4294]
* Add a clash-checking mechanism to ensure we never generate the sameSimon Tatham2004-06-19
| | | | | | fragment name twice for any reason. [originally from svn r4291]
* Instead of traversing a list of paragraphs, mark_attr_ends() nowSimon Tatham2004-04-22
| | | | | | | | | merely traverses a list of words, and main() takes responsibility for applying it to each paragraph in the document. This is so that it can _also_ be applied to the display form of each index entry, which Jacob spotted wasn't previously being done. [originally from svn r4117]
* Add some tests of Unicode in the PDF document outline.Simon Tatham2004-04-20
| | | | [originally from svn r4104]
* Add some tests of input charset switching.Simon Tatham2004-04-20
| | | | [originally from svn r4099]
* Support for \cfg{input-charset}. Input files can now be in ASCII,Simon Tatham2004-04-19
| | | | | | | 8859-*, UTF-8, or a variety of more fun encodings including various multibyte ones. [originally from svn r4095]
* Info backend now takes care to avoid magic characters in node namesSimon Tatham2004-04-10
| | | | | | | | | | 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]
* It would probably help to add a test of the INFO-DIR-ENTRY mechanismSimon Tatham2004-04-09
| | | | | | to the test file. Ahem. [originally from svn r4050]
* \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]
* 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]
* 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]
* 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]
* 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]
* 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]
* Rename Buttress to Halibut. I _think_ I've caught everything in this pass.Simon Tatham2002-08-05
| | | | [originally from svn r1800]
* Update the gratuitous hyperlink in the test document :-)Simon Tatham2001-12-14
| | | | [originally from svn r1490]
* Allow the user to specify the Help topic ID string for particularSimon Tatham2001-12-06
| | | | | | | | | | 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]
* Oops - replacement section types should be capitalisedSimon Tatham2001-12-04
| | | | | [originally from svn r1446] [this svn revision also touched putty]
* Introduce the ability to relabel a section as an `example' orSimon Tatham2001-11-24
| | | | | | | | | | | | | | `question' or so on, using the syntax \S{mysection}{example} An example of foobar so that in cross-references it will be referred to as `example 5.1.2' instead of `section 5.1.2'. NOTE WELL: until now Buttress has supported multiple section keywords using the same syntax, so that you could xref the above section as \k{mysection} _or_ \k{example} with the same effect. This behaviour is now revoked because I don't think anyone was using it; if you suddenly find you're getting undefined-keyword errors this may be why. [originally from svn r1408]
* Enforce proper ordering of heading levels: specifically, ensure theSimon Tatham2001-10-25
| | | | | | | | | | user doesn't skip a heading level (\H before any \C or \A, or \S straight after \C with no intervening \H). The precise criterion is that when creating section a.b.c.d, sections a.b.c, a.b and a should already exist. This ensures the section tree really is a properly formed tree with no missing nodes. [originally from svn r1329]
* Add tests of the text backend's new ability to wrap long headings.Simon Tatham2001-10-25
| | | | [originally from svn r1325]
* Initial checkin of xhtml backend.James Aylett2000-12-21
| | | | [originally from svn r828]
* Add nonbreaking space as \_Simon Tatham2000-11-22
| | | | [originally from svn r810]
* Added \q{...} for quoted textSimon Tatham1999-11-07
| | | | [originally from svn r274]
* Test all error conditions, I hopeSimon Tatham1999-10-25
| | | | [originally from svn r254]
* Macros; \- for nonbreaking hyphenSimon Tatham1999-10-24
| | | | [originally from svn r252]
* Added \rule for a horizontal ruleSimon Tatham1999-10-22
| | | | [originally from svn r248]
* Now handle \\, \{ and \} in paragraph keywordsSimon Tatham1999-10-21
| | | | [originally from svn r241]
* More development...Simon Tatham1999-09-12
| | | | [originally from svn r220]
* Further development; bibliographies seem to workSimon Tatham1999-08-15
| | | | [originally from svn r200]
* More development; not nearly finished yetSimon Tatham1999-08-09
| | | | [originally from svn r193]
* Further development work. Parser nearly finishedSimon Tatham1999-07-31
| | | | [originally from svn r187]
* Added more featuresSimon Tatham1999-02-07
| | | | [originally from svn r27]
* Test input file, and Jed highlighting/wrapping modeSimon Tatham1999-02-07
[originally from svn r25]