- a->headers = parse_boolean (opt (d, o, "headers", "false"));
- a->paginate = parse_boolean (opt (d, o, "paginate", "false"));
- a->squeeze_blank_lines = parse_boolean (opt (d, o, "squeeze", "true"));
- a->emphasis = parse_enum (opt (d, o, "emphasis", "none"),
- "bold", EMPH_BOLD,
- "underline", EMPH_UNDERLINE,
- "none", EMPH_NONE,
- NULL_SENTINEL);
-
- a->chart_file_name = parse_chart_file_name (opt (d, o, "charts", file_name));
-
- a->top_margin = parse_int (opt (d, o, "top-margin", "0"), 0, INT_MAX);
- a->bottom_margin = parse_int (opt (d, o, "bottom-margin", "0"), 0, INT_MAX);
-
- a->width = parse_page_size (opt (d, o, "width", "79"));
- paper_length = parse_page_size (opt (d, o, "length", "66"));
- a->auto_width = a->width < 0;
- a->auto_length = paper_length < 0;
- a->length = paper_length - vertical_margins (a);
+ a->emphasis = parse_boolean (opt (d, o, "emphasis", "false"));
+
+ a->chart_file_name = parse_chart_file_name (opt (d, o, "charts", fh_get_file_name (fh)));
+ a->handle = fh;