From 6dbf673ebae0b29f7dcfa27104d4e470cf4fa067 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 6 Apr 2017 12:37:46 -0700 Subject: [PATCH] set document title for PDF viewers --- conf/invoice_latex | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/conf/invoice_latex b/conf/invoice_latex index 1cbed4a6d..5c6090e08 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -38,6 +38,16 @@ ''; --@] +\catcode`\{=1 +\catcode`\}=2 +\special{ps:% + SDict begin [ + /Title (Invoice \#[@-- $invnum --@]) + /DOCINFO pdfmark + end +} +\end + \addtolength{\voffset}{-0.0cm} % top margin to top of header \addtolength{\hoffset}{-0.6cm} % left margin on page \addtolength{\topmargin}{[@-- defined($topmargin) ? $topmargin : '-1.00cm' --@]} -- 2.11.0