texlive[47747] Master/texmf-dist: clipboard (18may18)

commits+karl at tug.org commits+karl at tug.org
Fri May 18 23:09:50 CEST 2018


Revision: 47747
          http://tug.org/svn/texlive?view=revision&revision=47747
Author:   karl
Date:     2018-05-18 23:09:50 +0200 (Fri, 18 May 2018)
Log Message:
-----------
clipboard (18may18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/clipboard/README
    trunk/Master/texmf-dist/doc/latex/clipboard/clipboard.pdf
    trunk/Master/texmf-dist/doc/latex/clipboard/clipboard.tex
    trunk/Master/texmf-dist/tex/latex/clipboard/clipboard.sty

Modified: trunk/Master/texmf-dist/doc/latex/clipboard/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/clipboard/README	2018-05-18 21:09:37 UTC (rev 47746)
+++ trunk/Master/texmf-dist/doc/latex/clipboard/README	2018-05-18 21:09:50 UTC (rev 47747)
@@ -4,6 +4,9 @@
 The clipboard package provides a basic framework for copying and pasting
 text and commands into and across multiple documents.
 
+2016/05/18 v0.3
+ Content definitions take global scope
+
 2013/01/18 v0.2
  Package: Renamed: copypaste->clipboard
  Commands:
@@ -27,7 +30,7 @@
 *See clipboard.pdf
 
 --------------------------------------------------------------------------------
-Copyright (C) 2013 Eduardo C. Lourenço de Lima
+Copyright (C) 2013-2016 Eduardo C. Lourenço de Lima
 
 This material is subject to the LaTeX Project Public License. See
 http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html

Modified: trunk/Master/texmf-dist/doc/latex/clipboard/clipboard.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/clipboard/clipboard.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/clipboard/clipboard.tex	2018-05-18 21:09:37 UTC (rev 47746)
+++ trunk/Master/texmf-dist/doc/latex/clipboard/clipboard.tex	2018-05-18 21:09:50 UTC (rev 47747)
@@ -12,8 +12,8 @@
 %
 \documentclass{ltxdoc}
 
-\newcommand\fileversion  {0.2}
-\newcommand\filedate     {January 18, 2013}
+\newcommand\fileversion  {0.3}
+\newcommand\filedate     {May 18, 2016}
 
 \newenvironment{Description}
  {\par\medskip\noindent\ignorespaces}{}
@@ -31,7 +31,7 @@
 
                             \section*{Introduction}
 
-The |clipboard| package provides a basic framework for copying and pasting text and commands across multiple documents.
+The |clipboard| package provides a basic framework for copying and pasting content within a single document or across multiple documents.
 
 \begin{synopsis}
 \item |\newclipboard | \marg{basename}
@@ -52,8 +52,8 @@
 
 \begin{Description}
 \DescribeMacro{\Copy}
-The command |\Copy| copies a \meta{content} identified as \meta{key} to the clipboard.
-\footnote {Lowercase \texttt{\char92 copy} is already defined in {\TeX}.}
+The command |\Copy| copies a \meta{content} identified as \meta{key} to the clipboard.\footnote
+{Lowercase \texttt{\char92 copy} is already defined in {\TeX}.}
 \begin{synopsis}
 \item |\Copy| \marg{key} \marg{content}
 \end{synopsis}
@@ -61,7 +61,7 @@
 
 \begin{Description}
 \DescribeMacro{\Paste}
-And the command |\Paste| pastes the content identified by \meta{key} into the same or another document.
+And the command |\Paste| pastes the content identified by \meta{key} somewhere else in the same or another document.
 See below.
 \begin{synopsis}
 \item |\Paste| \marg{key}

Modified: trunk/Master/texmf-dist/tex/latex/clipboard/clipboard.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/clipboard/clipboard.sty	2018-05-18 21:09:37 UTC (rev 47746)
+++ trunk/Master/texmf-dist/tex/latex/clipboard/clipboard.sty	2018-05-18 21:09:50 UTC (rev 47747)
@@ -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 at fileout
 \newcommand\clipboard at write   [2] {\immediate\write\clipboard at fileout{\noexpand\clipboard{#1}{\unexpanded{#2}}}}
-\newcommand\clipboard at copy    [2] {\@namedef{clipboard@#1}{#2}}
+\newcommand\clipboard at copy    [2] {\global\@namedef{clipboard@#1}{#2}}
 \newcommand\clipboard at paste   [1] {\@nameuse{clipboard@#1}}
 
 \newcommand\newclipboard      [1] {\immediate\openout\clipboard at fileout=#1.cpy}



More information about the tex-live-commits mailing list