summaryrefslogtreecommitdiff
path: root/misc.c (unfollow)
Commit message (Collapse)Author
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-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-13Initial work on PS and PDF output. Because these two backends shareSimon Tatham
an enormous amount of preprocessing and differ only in their final output form, I've introduced a new type of layer called a `pre-backend' (bk_paper.c is one). This takes all the information passed to a normal backend and returns an arbitrary void *, which is cached by the front end and passed on to any backend(s) which state a desire for the output of that particular pre-backend. Thus, all the page layout is done only once, and the PS and PDF backends process the same data structures into two output files. Note that these backends are _very_ unfinished; all sorts of vital things such as section numbers, list markers, and title formatting are missing, the paragraph justification doesn't quite work, and advanced stuff like indexes and PDF interactive features haven't even been started. But this basic framework generates valid output files and is a good starting point, so I'm checking it in. [originally from svn r4058]
2004-04-09Added an info(1) backend, which constructs .info files directlySimon Tatham
without going through the .texi source stage. A few things left to do, notably documentation, but the basics all seem to be there. [originally from svn r4047]
2004-03-30Fix index sorting so that it collates in a sensible order.Simon Tatham
[originally from svn r4004]
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-05Rename Buttress to Halibut. I _think_ I've caught everything in this pass.Simon Tatham
[originally from svn r1800]
2001-10-25Fixes to allow the text back end to wrap long headings. (These soundSimon Tatham
like a typographical Bad Plan, but they work OK in some types of document such as a FAQ.) [originally from svn r1324]
2001-10-25Remove the penalty for leaving the last word in a paragraph alone onSimon Tatham
its line. Real typesetters in practice don't appear to care much about this, and the lengths the algorithm has to go to to avoid it tend to end up looking even uglier. [originally from svn r1322]
2001-09-23Replace the naive greedy paragraph wrapping algorithm with the shinySimon Tatham
optimal dynamic one used by the likes of TeX. Woo. [originally from svn r1288]
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-22Introduce word types for attributed spaces, so backends can distinguishSimon Tatham
between emphasis _like_ _this_ and _like this_ [originally from svn r245]
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-02Redo memory allocation to use mknew macroSimon Tatham
[originally from svn r214]
1999-07-31Further development work. Parser nearly finishedSimon Tatham
[originally from svn r187]