diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsignote.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsignote.sty | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsignote.sty b/Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsignote.sty index 4691897f8e3..76dfe6a05cc 100644 --- a/Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsignote.sty +++ b/Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsignote.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*\FXLayoutPDFSigNote[3]{% - \pdfcomment[author={#3}]{\@fxsigstd{#1}{#2}{#3}}} + \begingroup% + \ifthenelse{\equal{#3}{}}{% + \def\@fxsignature##1{}}{% + \def\@fxsignature##1{ -- {\@fxuseface{signature}#1}}}% + \pdfcomment[author={#3}]{\@fxsigstd{#1}{#2}{#3}}% + \endgroup} \FXRegisterLayout[pdfnote]{pdfsignote}{\FXLayoutPDFSigNote} \endinput %% |