summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/clipboard
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-18 21:09:50 +0000
committerKarl Berry <karl@freefriends.org>2018-05-18 21:09:50 +0000
commitfa0ad29fb0b7ca0e882ba70be6497227c4130518 (patch)
treebce833968e053adf7eb988072235d5d34a686c2e /Master/texmf-dist/tex/latex/clipboard
parent1ecb2b00c0a4ffbeb2df7551525038619e9ce76a (diff)
clipboard (18may18)
git-svn-id: svn://tug.org/texlive/trunk@47747 c570f23f-e606-0410-a88d-b1316a301751
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}