diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-25 11:44:31 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-25 11:44:31 +0000 |
commit | 0236a2d85af70886c7725a1f28a04ad4216a5d4d (patch) | |
tree | a1a4136aa89d8b5016190592a94ff6b4ff86ecc2 /main.h | |
parent | 0e2017eae6791396ef69390438420f7e18dda0e0 (diff) | |
download | mandoc-0236a2d85af70886c7725a1f28a04ad4216a5d4d.tar.gz mandoc-0236a2d85af70886c7725a1f28a04ad4216a5d4d.tar.zst mandoc-0236a2d85af70886c7725a1f28a04ad4216a5d4d.zip |
Initial PDF shim over PS. This produces working PDF output with -Tpdf.
It's currently missing the xref table, so you'll get a warning in most
PDF viewers). It also produces lots of redundant output, which will go
away once I get a better handle on the PDF spec. The code doesn't
really touch any existing functionality; it's a bunch of conditionals
atop the -Tps (term_ps.c) implementation. I'm checking it in now to
have it exist and be auditable. It needs clean-up, polish, and general
care (and xref!).
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.h,v 1.8 2010/06/29 14:53:14 kristaps Exp $ */ +/* $Id: main.h,v 1.9 2010/07/25 11:44:31 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -44,8 +44,9 @@ void tree_man(void *, const struct man *); void *ascii_alloc(char *); void ascii_free(void *); +void *pdf_alloc(char *); void *ps_alloc(char *); -void ps_free(void *); +void pspdf_free(void *); void terminal_mdoc(void *, const struct mdoc *); void terminal_man(void *, const struct man *); |