summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-13 13:17:48 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-13 13:17:48 +0000
commitddd7bf5b8a173f375cf3de92a4493c0b80cc2de3 (patch)
treecc37e6ee1698c33a72eaf3d818df40795908aa18 /input.c
parente9d2a1681a1ba9fa9cee79e197e6d62c3deae7b7 (diff)
downloadhalibut-ddd7bf5b8a173f375cf3de92a4493c0b80cc2de3.zip
halibut-ddd7bf5b8a173f375cf3de92a4493c0b80cc2de3.tar.gz
halibut-ddd7bf5b8a173f375cf3de92a4493c0b80cc2de3.tar.bz2
halibut-ddd7bf5b8a173f375cf3de92a4493c0b80cc2de3.tar.xz
Initial work on PS and PDF output. Because these two backends share
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]
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions