version 1.12, 2011/01/04 22:28:17 |
version 1.13, 2011/01/09 14:30:48 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
#define HTML_KEEP (1 << 2) |
#define HTML_KEEP (1 << 2) |
#define HTML_PREKEEP (1 << 3) |
#define HTML_PREKEEP (1 << 3) |
#define HTML_NONOSPACE (1 << 4) |
#define HTML_NONOSPACE (1 << 4) |
struct tagq tags; |
struct tagq tags; /* stack of open tags */ |
void *symtab; |
struct rofftbl tbl; /* current table */ |
char *base; |
void *symtab; /* character-escapes */ |
char *base_man; |
char *base_man; /* base for manpage href */ |
char *base_includes; |
char *base_includes; /* base for include href */ |
char *style; |
char *style; /* style-sheet URI */ |
char buf[BUFSIZ]; |
char buf[BUFSIZ]; /* see bufcat and friends */ |
size_t buflen; |
size_t buflen; |
struct tag *metaf; /* current open font scope */ |
struct tag *metaf; /* current open font scope */ |
enum htmlfont metal; /* last used font */ |
enum htmlfont metal; /* last used font */ |
enum htmlfont metac; /* current font mode */ |
enum htmlfont metac; /* current font mode */ |
enum htmltype type; |
enum htmltype type; |
}; |
}; |
|
|
struct roffsu; |
|
|
|
void print_gen_decls(struct html *); |
void print_gen_decls(struct html *); |
void print_gen_head(struct html *); |
void print_gen_head(struct html *); |