1.1 diff -r ccf1c28a2940 -r 76c197fe2eeb tumble.c 1.2 --- a/tumble.c Fri Mar 14 08:56:38 2003 +0000 1.3 +++ b/tumble.c Fri Mar 14 08:57:40 2003 +0000 1.4 @@ -2,7 +2,7 @@ 1.5 * tumble: build a PDF file from image files 1.6 * 1.7 * Main program 1.8 - * $Id: tumble.c,v 1.34 2003/03/14 00:24:37 eric Exp $ 1.9 + * $Id: tumble.c,v 1.35 2003/03/14 00:57:40 eric Exp $ 1.10 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.11 * 1.12 * This program is free software; you can redistribute it and/or modify 1.13 @@ -159,7 +159,7 @@ 1.14 for (o = output_files; o; o = n) 1.15 { 1.16 n = o->next; 1.17 - pdf_close (o->pdf); 1.18 + pdf_close (o->pdf, PDF_PAGE_MODE_USE_OUTLINES); 1.19 free (o->name); 1.20 free (o); 1.21 } 1.22 @@ -196,9 +196,7 @@ 1.23 return (0); 1.24 } 1.25 1.26 - o->pdf = pdf_create (name, (attributes->has_bookmarks ? 1.27 - PDF_PAGE_MODE_USE_OUTLINES : 1.28 - PDF_PAGE_MODE_USE_NONE)); 1.29 + o->pdf = pdf_create (name); 1.30 if (! o->pdf) 1.31 { 1.32 fprintf (stderr, "can't open output file '%s'\n", name); 1.33 @@ -606,8 +604,6 @@ 1.34 memset (& input_attributes, 0, sizeof (input_attributes)); 1.35 memset (& output_attributes, 0, sizeof (output_attributes)); 1.36 1.37 - output_attributes.has_bookmarks = (bookmark_fmt != NULL); 1.38 - 1.39 if (! open_pdf_output_file (out_fn, & output_attributes)) 1.40 fatal (3, "error opening output file \"%s\"\n", out_fn); 1.41 for (i = 0; i < inf_count; i++)