summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pdfcomment
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-28 21:55:48 +0000
committerKarl Berry <karl@freefriends.org>2016-03-28 21:55:48 +0000
commit251d17218fcf483014c5d717e1e70fe224bcdc0a (patch)
treea12c7ba954717a952c2478b965f3599217865645 /Master/texmf-dist/tex/latex/pdfcomment
parentd504bbdbe0ef01b0318353147dd6b747d8b29151 (diff)
pdfcomment (28mar16)
git-svn-id: svn://tug.org/texlive/trunk@40166 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfcomment')
-rw-r--r--Master/texmf-dist/tex/latex/pdfcomment/pdfcomment.sty33
1 files changed, 18 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfcomment/pdfcomment.sty b/Master/texmf-dist/tex/latex/pdfcomment/pdfcomment.sty
index e3e4d507a37..e4d8b972417 100644
--- a/Master/texmf-dist/tex/latex/pdfcomment/pdfcomment.sty
+++ b/Master/texmf-dist/tex/latex/pdfcomment/pdfcomment.sty
@@ -1,5 +1,5 @@
%%
-%% Copyright (C) 2008-2012 by:
+%% Copyright (C) 2008-2012, 2015-2016 by:
%% Josef Kleber
%% <josef.kleber@gmx.de>
%%
@@ -20,7 +20,7 @@
%% This work consists of all files listed in manifest.txt.
%%
%
-\ProvidesPackage{pdfcomment}[2012/09/28 pdfcomment.sty v2.3a - Josef Kleber (C) 2008-2012]%
+\ProvidesPackage{pdfcomment}[2016/03/26 pdfcomment.sty v2.3b - Josef Kleber (C) 2008-2012, 2015-2016]%
%
\RequirePackage{xkeyval}%
%
@@ -173,6 +173,7 @@
\newcounter{pc@count@iv}%
%
\newbox\pc@mathannot@box%
+\newbox\pc@nullbox%
%
\newlength{\pc@dima}%
\newlength{\pc@dimb}%
@@ -1344,7 +1345,7 @@
\hypersetup{pdftex}%
}%
{%
- \RequirePackage[pdftex]{hyperref}[2007/04/09]%
+ \RequirePackage[pdftex,pdfencoding=auto]{hyperref}[2007/06/12]%
}%
\else%
% to avoid problems with different default page size in
@@ -1359,7 +1360,7 @@
\hypersetup{dvipdfmx}%
}%
{%
- \RequirePackage[dvipdfmx]{hyperref}[2007/04/09]%
+ \RequirePackage[dvipdfmx,pdfencoding=auto]{hyperref}[2007/06/12]%
}%
\else%
\@ifpackageloaded{hyperref}%
@@ -1367,7 +1368,7 @@
\hypersetup{dvips}%
}%
{%
- \RequirePackage[dvips]{hyperref}[2007/04/09]%
+ \RequirePackage[dvips,pdfencoding=auto]{hyperref}[2007/06/12]%
}%
\fi%
\else%
@@ -1377,7 +1378,7 @@
\hypersetup{xetex}%
}%
{%
- \RequirePackage[xetex]{hyperref}[2007/04/09]%
+ \RequirePackage[xetex,pdfencoding=auto]{hyperref}[2007/06/12]%
}%
\fi%
\fi%
@@ -1432,7 +1433,7 @@
{%
\vsize=0pt%
\hskip\pc@lopt@hoffset%
- \pdfannot width 0pt height \normalbaselineskip depth 0pt%
+ \pdfannot width \normalbaselineskip height \normalbaselineskip depth 0pt%
{%
/Subtype /Text%
\pc@annot@text%
@@ -1457,7 +1458,7 @@
{%
\vsize=0pt%
\hskip\pc@lopt@hoffset%
- \special{pdf: ann width 0pt\space height \the\normalbaselineskip\space depth 0pt%
+ \special{pdf: ann width \the\normalbaselineskip\space height \the\normalbaselineskip\space depth 0pt%
<<%
/Subtype /Text%
\pc@annot@text%
@@ -1477,7 +1478,7 @@
{%
\vsize=0pt%
\hskip\pc@lopt@hoffset%
- \pdfmark[\rule{0pt}{0pt}]%
+ \pdfmark[\rule{\normalbaselineskip}{0pt}\rule{0pt}{\normalbaselineskip}]%
{%
pdfmark=/ANN,%
Subtype=/Text,%
@@ -1539,7 +1540,7 @@
{%
\vsize=0pt%
\hskip\pc@lopt@hoffset%
- \pdfannot width 0pt height \normalbaselineskip depth 0pt%
+ \pdfannot width \normalbaselineskip height \normalbaselineskip depth 0pt%
{%
/Subtype /Text%
\pc@annot@text%
@@ -1564,7 +1565,7 @@
{%
\vsize=0pt%
\hskip\pc@lopt@hoffset%
- \special{pdf: ann width 0pt\space height \the\normalbaselineskip\space depth 0pt%
+ \special{pdf: ann width \the\normalbaselineskip\space height \the\normalbaselineskip\space depth 0pt%
<<%
/Subtype /Text%
\pc@annot@text%
@@ -1584,7 +1585,7 @@
{%
\vsize=0pt%
\hskip\pc@lopt@hoffset%
- \pdfmark[\rule{0pt}{0pt}]%
+ \pdfmark[\rule{\normalbaselineskip}{0pt}\rule{0pt}{\normalbaselineskip}]%
{%
pdfmark=/ANN,%
Subtype=/Text,%
@@ -2542,7 +2543,7 @@
% Change local options if specified
\setkeys{pdftooltip}{#1}%
\ifmmode%
- \marginnote{\pc@encode@PDF@math{#3}}%
+ \setbox\pc@nullbox=\hbox{\pc@encode@PDF@math{#3}}%
\ifpc@lopt@disable%
#2%
\else%
@@ -2576,7 +2577,7 @@
\fi%
\fi%
\else%
- \pc@encode@PDF{#3}%
+ \expandafter\pc@encode@PDF{#3}%
\ifpc@lopt@disable%
#2%
\else%
@@ -2962,10 +2963,12 @@
{%
/TU (\pc@pdfenc@contents)\space%
/T (tooltip \thezref@unique)\space%
- /C [0 0 0]\space%
+ /C [ ]\space%
/FT/Btn\space%
+ /F 768\space%
/Ff 65536\space%
/H/N\space%
+ /BS << /W 0 >>\space%
}%
%
\newcommand{\pc@create@pdfannotopt}%