summaryrefslogtreecommitdiff
path: root/input.c (unfollow)
Commit message (Collapse)Author
2004-04-20Infrastructure changes for character set support. ustrtoa,Simon Tatham
ustrfroma, utoa_dup and ufroma_dup now take a charset parameter, and also have a variety of subtly distinct forms. Also, when a \cfg directive is seen in the input file, the precise octet strings for each parameter are kept in their original form as well as being translated into Unicode, so that when they represent filenames they can be used verbatim. [originally from svn r4097]
2004-04-19Support for \cfg{input-charset}. Input files can now be in ASCII,Simon Tatham
8859-*, UTF-8, or a variety of more fun encodings including various multibyte ones. [originally from svn r4095]
2004-04-15Support the \W{...}\i\c{...} combination used in the NASM manual.Simon Tatham
Halibut is now capable of reading the old NASM manual with only minor modifications, and probably doing a much better job of formatting it than rdsrc.pl ever did. (Certainly much _faster_!) [originally from svn r4081]
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-30\lcont and \quote were being confused by whitespace (in particular,Simon Tatham
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]
2004-03-30Make \ii work!Simon Tatham
[originally from svn r4003]
2004-03-25Introduce \. as a NOP command. The purpose of this is to act as aSimon Tatham
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]
2004-03-25Obsoleted the `\preamble' command. Preamble text is now taken to beSimon Tatham
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]
2004-03-25Add a \quote{...} directive, working like <blockquote> in HTML.Simon Tatham
[originally from svn r3978]
2004-03-24Cleanups to complete the man page backend. Also, an additional newSimon Tatham
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]
2004-03-23Man-page back end for Halibut. Also, a couple of additional markupSimon Tatham
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]
2002-08-23Just had a play with this newfangled `valgrind' memory debuggerSimon Tatham
thingy, which seems moderately cool and has reported a few very small memory leaks. Now apparently fixed. [originally from svn r1863]
2002-08-12Arrange for multiple \cfg, \IM and \BR paragraphs to not requireSimon Tatham
blank-line separators (config directives visually _want_ to be in a single chunk). [originally from svn r1837]
2002-08-05Rename Buttress to Halibut. I _think_ I've caught everything in this pass.Simon Tatham
[originally from svn r1800]
2001-12-14Buttress was dealing poorly with \r in input files (though not _too_Simon Tatham
poorly; mostly it just treated \r as whitespace, and the only time it actually suffered was at the end of a line in a code paragraph). Should now be fixed. [originally from svn r1492]
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]
2001-10-25Fix segfault on \W{URL}\cw{link text} construction.Simon Tatham
[originally from svn r1321]
2000-11-22Add nonbreaking space as \_Simon Tatham
[originally from svn r810]
1999-11-12Daft error in input.c was causing messy aux fields and misgenerated emphasisSimon Tatham
in text output. Now all aux fields are carefully zeroed when not used [originally from svn r307]
1999-11-07First stab at text backend configurabilitySimon Tatham
[originally from svn r276]
1999-11-07Configurability backbone, and first use of itSimon Tatham
[originally from svn r275]
1999-11-07Added \q{...} for quoted textSimon Tatham
[originally from svn r274]
1999-10-24Macros; \- for nonbreaking hyphenSimon Tatham
[originally from svn r252]
1999-10-22Fix a couple of segfaults in error handling codeSimon Tatham
[originally from svn r250]
1999-10-22Added \rule for a horizontal ruleSimon Tatham
[originally from svn r248]
1999-10-22Now get start-of-paragraph diagnoses _right_... *sigh*Simon Tatham
[originally from svn r246]
1999-10-22Introduce word types for attributed spaces, so backends can distinguishSimon Tatham
between emphasis _like_ _this_ and _like this_ [originally from svn r245]
1999-10-21We were failing to diagnose bad command at paragraph startSimon Tatham
[originally from svn r242]
1999-10-21Now handle \\, \{ and \} in paragraph keywordsSimon Tatham
[originally from svn r241]
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-09-12More development...Simon Tatham
[originally from svn r220]
1999-09-02Redo memory allocation to use mknew macroSimon Tatham
[originally from svn r214]
1999-08-15Further development; bibliographies seem to workSimon Tatham
[originally from svn r200]
1999-08-09More development; not nearly finished yetSimon Tatham
[originally from svn r193]
1999-07-31Further development work. Parser nearly finishedSimon Tatham
[originally from svn r187]
1999-02-05Wrote some of the lexer. Nothing works yet.Simon Tatham
[originally from svn r24]
1999-01-30Fixed silly mistake in the read-character routineSimon Tatham
[originally from svn r23]