summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/clipboard
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/clipboard')
-rw-r--r--Master/texmf-dist/tex/latex/clipboard/clipboard.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/clipboard/clipboard.sty b/Master/texmf-dist/tex/latex/clipboard/clipboard.sty
index 765c0f5d626..dc3dfe64be6 100644
--- a/Master/texmf-dist/tex/latex/clipboard/clipboard.sty
+++ b/Master/texmf-dist/tex/latex/clipboard/clipboard.sty
@@ -14,11 +14,11 @@
%% version 2005/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
-\ProvidesPackage{clipboard}[2013/01/18 v0.2 Copy and paste into and across documents]
+\ProvidesPackage{clipboard}[2016/05/18 v0.3 Copy and paste into and across documents]
\newwrite \clipboard@fileout
\newcommand\clipboard@write [2] {\immediate\write\clipboard@fileout{\noexpand\clipboard{#1}{\unexpanded{#2}}}}
-\newcommand\clipboard@copy [2] {\@namedef{clipboard@#1}{#2}}
+\newcommand\clipboard@copy [2] {\global\@namedef{clipboard@#1}{#2}}
\newcommand\clipboard@paste [1] {\@nameuse{clipboard@#1}}
\newcommand\newclipboard [1] {\immediate\openout\clipboard@fileout=#1.cpy}