diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-03 22:00:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-03 22:00:08 +0000 |
commit | ad60f0fc89a27a88fcfa2401037cfd1a44af9995 (patch) | |
tree | f78b4d439cb27b6d2652cabd523acb945175a1a3 /Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty | |
parent | 7abdb429e2ffcd91585c294fb8f11f95fadfabe2 (diff) |
fixme (3jan19)
git-svn-id: svn://tug.org/texlive/trunk@49591 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fixme/layouts/fxlayoutpdfsigmargin.sty | 9 |
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 |