summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty b/Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty
index 52d0743e63e..8c0a9aa2d1d 100644
--- a/Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty
+++ b/Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty
@@ -8,7 +8,7 @@
%%
-%% Copyright (C) 1998-2002, 2004-2007, 2009, 2013, 2017 Didier Verna
+%% Copyright (C) 1998-2002, 2004-2007, 2009, 2013, 2017-2019 Didier Verna
%% This file is part of FiXme.
@@ -42,7 +42,12 @@
\RequirePackage{pdfcomment}
\newcommand*\FXLayoutPDFSigMargin[3]{%
- \pdfmargincomment[author={#3}]{\@fxsigstd{#1}{#2}{#3}}}
+ \begingroup%
+ \ifthenelse{\equal{#3}{}}{%
+ \def\@fxsignature##1{}}{%
+ \def\@fxsignature##1{ -- {\@fxuseface{signature}#1}}}%
+ \pdfmargincomment[author={#3}]{\@fxsigstd{#1}{#2}{#3}}%
+ \endgroup}
\FXRegisterLayout*[margin,marginclue,marginnote,pdfmargin]{pdfsigmargin}{%
\FXLayoutPDFSigMargin}
\endinput