summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-25 22:15:07 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-25 22:15:07 +0000
commitc32c9b54af798951d53f0b265d9827723c718ced (patch)
treed22229a453973efc3853fdbaca92860b88b3048c /term.h
parent61665084c173d669ba2f1bd76dae25cd96e29cf7 (diff)
downloadmandoc-c32c9b54af798951d53f0b265d9827723c718ced.tar.gz
Fully-working -Tpdf: xref table is now generated. This works for both
single and multiple-manual mode (e.g., mandoc -Tpdf foo.1 bar.1).
Diffstat (limited to 'term.h')
-rw-r--r--term.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/term.h b/term.h
index 80e54bd7..5f1f2904 100644
--- a/term.h
+++ b/term.h
@@ -64,9 +64,11 @@ struct termp_ps {
size_t left; /* body left (AFM units) */
size_t header; /* header pos (AFM units) */
size_t footer; /* footer pos (AFM units) */
- size_t pdfbytes;
- size_t pdflastpg;
- size_t pdfbody;
+ size_t pdfbytes; /* current output byte */
+ size_t pdflastpg; /* byte of last page mark */
+ size_t pdfbody; /* start of body object */
+ size_t *pdfobjs; /* table of object offsets */
+ size_t pdfobjsz; /* size of pdfobjs */
};
struct termp {