Skip to content

Commit

Permalink
Removed bookmarks in generated PDFs.
Browse files Browse the repository at this point in the history
This would cause the files to fail the PDF eXpress check for IEEE
conference proceedings.
  • Loading branch information
sylvainhalle committed Aug 3, 2018
1 parent ec1b69b commit 6531483
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions Source/Variables.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
neverclean := fig/*.pdf fig/*.ps labpal-plots.pdf
onlysources.tex := paper.tex
22 changes: 11 additions & 11 deletions generate-preamble.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
**************************************************************************/

// Version
$version_string = "1.9.1";
$version_string = "1.9.2";
$autogen_comment = "%% This file was autogenerated by PaperShell v$version_string on ".date("Y-m-d H:i:s")."\n%% https://github.com/sylvainhalle/PaperShell\n%% DO NOT EDIT!";

// Read author-title file
Expand Down Expand Up @@ -74,7 +74,7 @@
$hr_draft = "";
if ($config["disable-hr"] == true)
{
$hr_draft = "draft";
$hr_draft = ",draft";
}
$lines = explode("\n", file_get_contents($input_filename));

Expand Down Expand Up @@ -153,7 +153,7 @@
\usepackage{graphicx} % Import graphics
\usepackage{cite} % Better handling of citations
\usepackage[scaled]{helvet} % Scale Helvetica
\usepackage[$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage[bookmarks=false$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage{comment} % To comment out blocks of text
EOD;

Expand Down Expand Up @@ -243,7 +243,7 @@
\usepackage{graphicx} % Import graphics
\usepackage{cite} % Better handling of citations
\usepackage[scaled]{helvet} % Scale Helvetica
\usepackage[$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage[bookmarks=false$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage{comment} % To comment out blocks of text
EOD;

Expand Down Expand Up @@ -337,7 +337,7 @@
\usepackage[T1]{fontenc} % Type1 fonts{$microtype_string}
\usepackage[english]{babel} % Hyphenation
\usepackage{graphicx} % Import graphics
\usepackage[$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage[bookmarks=false$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage{comment} % To comment out blocks of text
\usepackage{flushend} % To balance columns on last page
Expand Down Expand Up @@ -439,7 +439,7 @@
\usepackage[scaled]{helvet} % Scale Helvetica
\usepackage[english]{babel} % Hyphenation
\usepackage{graphicx} % Import graphics
\usepackage[$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage[bookmarks=false$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage{comment} % To comment out blocks of text
\biboptions{sort&compress} % Sort and compress citations
Expand Down Expand Up @@ -526,7 +526,7 @@
\usepackage[english]{babel} % Hyphenation
\usepackage{newtxtext,newtxmath} % Times font with math support{$microtype_string}
\usepackage{graphicx} % Import graphics
\usepackage[$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage[bookmarks=false$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage{comment} % To comment out blocks of text
\usepackage[scaled]{helvet} % Scale Helvetica
Expand Down Expand Up @@ -846,7 +846,7 @@
\usepackage[english]{babel} % Hyphenation
\usepackage{graphicx} % Import graphics
\usepackage{cite} % Better handling of citations
\usepackage[$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage[bookmarks=false$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage{comment} % To comment out blocks of text
\usepackage{breakurl} % Not needed if you use pdflatex only.
\usepackage[scaled]{helvet} % Scale Helvetica
Expand Down Expand Up @@ -958,7 +958,7 @@
\usepackage[english]{babel} % Hyphenation
\usepackage{graphicx} % Import graphics
\usepackage{cite} % Better handling of citations
\usepackage[$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage[bookmarks=false$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage{comment} % To comment out blocks of text
\usepackage{newtxtext,newtxmath} % Times font with math support
\usepackage[scaled]{helvet} % Scale Helvetica
Expand Down Expand Up @@ -1046,7 +1046,7 @@
\usepackage[T1]{fontenc} % Type1 fonts
\usepackage{lmodern} % Improved Computer Modern font{$microtype_string}
\usepackage{graphicx} % Import graphics
\usepackage[$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage[bookmarks=false$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage{comment} % To comment out blocks of text
\usepackage[scaled]{helvet} % Scale Helvetica
Expand Down Expand Up @@ -1162,7 +1162,7 @@
%\usepackage{graphicx} % Already loaded by document class
\usepackage{cite} % Better handling of citations
\usepackage[scaled]{helvet} % Scale Helvetica
\usepackage[$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage[bookmarks=false$hr_draft]{hyperref} % Better handling of references in PDFs
\usepackage{comment} % To comment out blocks of text
EOD;

Expand Down

0 comments on commit 6531483

Please sign in to comment.