texlive[41484] Master: pdfcomment (15jun16)

commits+karl at tug.org commits+karl at tug.org
Sat Jun 18 17:51:58 CEST 2016


Revision: 41484
          http://tug.org/svn/texlive?view=revision&revision=41484
Author:   karl
Date:     2016-06-18 17:51:58 +0200 (Sat, 18 Jun 2016)
Log Message:
-----------
pdfcomment (15jun16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/pdfcomment/CHANGES
    trunk/Master/texmf-dist/doc/latex/pdfcomment/README.md
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example.pdf
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example.tex
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvipdfmx.pdf
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvipdfmx.tex
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvips_ps2pdf.pdf
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvips_ps2pdf.tex
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example_math_markup.pdf
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example_math_markup.tex
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.pdf
    trunk/Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex
    trunk/Master/texmf-dist/doc/latex/pdfcomment/manifest.txt
    trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.pdf
    trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex
    trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment_de.pdf
    trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment_de.tex
    trunk/Master/texmf-dist/tex/latex/pdfcomment/pdfcomment.sty
    trunk/Master/tlpkg/libexec/ctan2tds

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/CHANGES	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/CHANGES	2016-06-18 15:51:58 UTC (rev 41484)
@@ -1,5 +1,17 @@
 === pdfcomment.sty ===
 
+-- pdfcomment.sty (v2.4) (<- v2.3.2dev 2016/06/13) (Commit: 0ce1f75284cf0cba7956076ebccac32c7f181f31)
+
+2016/05/29  compatibility fix for luatex v0.85+ [jk]
+            by loading the luatex85 package
+
+2016/05/29  upgraded obsolete datetime to datetime2 [jk]
+            
+2016/06/13  Bugfix: incorrect positions of PDF text annotations with dvips [jk]
+            removed \vspace{\normalbaselineskip}            
+            
+            
+            
 -- pdfcomment.sty (v2.3b) (<- v2.3.1dev 2015/04/10) (Commit: 382b38b2e17e4853fbc537250aabc6c42160df2a)
 
 2012/09/30  added 'pdfencoding=auto' while loading hyperref [jk]

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/README.md	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/README.md	2016-06-18 15:51:58 UTC (rev 41484)
@@ -16,26 +16,10 @@
 
 License: **LPPL**
 
-Changes in v2.3b:
+Changes in v2.4:
 
-* Bugfix: incorrect vertical position of superscripts in `\pdftooltip`
-            
-reported and patched by Ross Moore
+* compatibility fix for luatex v0.85+
 
-* Bugfix: change zero width in `\pdfcomment` and `\pdfmargincomment`
-          to make the comments visible in both Evince and the internal viewer of TeXStudio
+* upgraded obsolete datetime to datetime2
 
-reported by shaniaki (BitBucket #7)
-
-* improve appearance of tooltips with Mac Preview (at least)
-
-feature request by Ross Moore
-
-* expand comment argument in `\pdftooltip` before pushing it through `\pdfstringdef`
-
-feature request by Robert Terwilliger (Bitbucket #18)
-
-* added `pdfencoding=auto` while loading `hyperref`
-  Needed for Unicode bookmarks in `XeTeX` and `LuaTeX`
-  
-* dropped support for `\pdfreply`
\ No newline at end of file
+* Bugfix: incorrect positions of PDF text annotations with dvips
\ No newline at end of file

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

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/example.tex	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/example.tex	2016-06-18 15:51:58 UTC (rev 41484)
@@ -17,7 +17,6 @@
 \defineavatar{Bob}{author=Bob,color=green}
 \definecolor{myblue}{rgb}{0.045,0.278,0.643}
 \colorlet{myorange}{red!30!yellow}
-\pdfcommentsetup{date=D:20101211153723+01'00'}
 A\pdfcomment[subject={Top2},author={Daisy Duck},color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{This is a comment.} little Test! \pdfcomment[id=1,color=myblue,subject={Comment2},icon=Note,open=true,hspace=100pt]{This is another comment.} test the hspace!%
 \defineavatar{CaptainJack}{color=myorange,author={Captain Jack}}%
 \definestyle{MyStar}{icon=Star,opacity=0.7,voffset=12pt}%

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

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvipdfmx.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvipdfmx.tex	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvipdfmx.tex	2016-06-18 15:51:58 UTC (rev 41484)
@@ -18,7 +18,6 @@
 \defineavatar{Bob}{author=Bob,color=green}
 \definecolor{myblue}{rgb}{0.045,0.278,0.643}
 \colorlet{myorange}{red!30!yellow}
-\pdfcommentsetup{date=D:20101211153723+01'00'}
 A\pdfcomment[subject={Top2},author={Daisy Duck},color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{This is a comment.} little Test! \pdfcomment[id=1,color=myblue,icon=Note,open=true,hspace=100pt]{This is another comment.} test the hspace!%
 \defineavatar{CaptainJack}{color=myorange,author={Captain Jack}}%
 \definestyle{MyStar}{icon=Star,opacity=0.7,voffset=12pt}%

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

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvips_ps2pdf.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvips_ps2pdf.tex	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/example_latex_dvips_ps2pdf.tex	2016-06-18 15:51:58 UTC (rev 41484)
@@ -16,7 +16,6 @@
 \defineavatar{Bob}{author=Bob,color=green}
 \definecolor{myblue}{rgb}{0.045,0.278,0.643}
 \colorlet{myorange}{red!30!yellow}
-\pdfcommentsetup{date=D:20101211153723+01'00'}
 A\pdfcomment[subject={Top2},author={Daisy Duck},color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{This is a comment.} little Test! \pdfcomment[id=1,color=myblue,icon=Note,open=true,hspace=100pt]{This is another comment.} test the hspace!%
 \defineavatar{CaptainJack}{color=myorange,author={Captain Jack}}%
 \definestyle{MyStar}{icon=Star,opacity=0.7,voffset=12pt}%

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

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/example_math_markup.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/example_math_markup.tex	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/example_math_markup.tex	2016-06-18 15:51:58 UTC (rev 41484)
@@ -9,7 +9,6 @@
 \begin{document}
 \defineavatar{Joe}{author=Joe,color=yellow}
 \defineavatar{Bob}{author=Bob,color=green}
-\pdfcommentsetup{date=D:20101211153723+01'00'}
 \setlength{\parindent}{0pt}
 \addtokomafont{section}{\normalfont\normalcolor\bfseries}
 \setkomafont{title}{\normalfont\normalcolor\bfseries}
@@ -115,5 +114,4 @@
 \end{lstlisting}
 \end{minipage}
 \end{tabular}
-
 \end{document} 
\ No newline at end of file

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

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex	2016-06-18 15:51:58 UTC (rev 41484)
@@ -24,7 +24,7 @@
 \defineavatar{Bob}{author=Bob,color=green}
 \definecolor{myblue}{rgb}{0.045,0.278,0.643}
 \colorlet{myorange}{red!30!yellow}
-\pdfcommentsetup{date=D:20101211153723+01'00',timezone=+01'00'}
+\pdfcommentsetup{timezone={+01'00'}}
 A\pdfcomment[subject={Top2},author={Daisy Duck},color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{This is a comment.} little Test! \pdfcomment[color=myblue,icon=Note,open=true,hspace=100pt]{This is another comment.} test the hspace!%
 \defineavatar{CaptainJack}{color=myorange,author={Captain Jack}}%
 \definestyle{MyStar}{icon=Star,opacity=0.7,voffset=12pt}%

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/manifest.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/manifest.txt	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/manifest.txt	2016-06-18 15:51:58 UTC (rev 41484)
@@ -25,7 +25,7 @@
 
 -- Misc. Files --
 
-README
+README.md
 manifest.txt
 INSTALL
 CHANGES
\ No newline at end of file

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

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex	2016-06-18 15:51:58 UTC (rev 41484)
@@ -134,13 +134,14 @@
 \hypersetup{pdfauthor={Josef Kleber},pdftitle={A user-friendly interface to PDF annotations},pdfsubject={Documentation for LaTeX style \filename}}%
 %
 \begin{document}
-\pdfcommentsetup{date=D:20101212153723+01'00'}
+%\pdfcommentsetup{date=D:20101212153723+01'00'}
+\date{2016/06/13}
 \bibliographystyle{alphadin}
 \title{\filename}%
 \Subtitle{A user-friendly interface to PDF annotations}%
 \author{Josef Kleber}
-\Fileversion{v2.3b}
-\Refline{\href{mailto:josef.kleber at gmx.de}{\texttt{josef.kleber at gmx.de}}\\\href{http://pdfcomment.jklatex.de}{\texttt{http://pdfcomment.jklatex.de}}}
+\Fileversion{v2.4}
+\Refline{\href{mailto:pdfcomment at jklatex.de}{\texttt{pdfcomment at jklatex.de}}\\\href{http://pdfcomment.jklatex.de}{\texttt{http://pdfcomment.jklatex.de}}}
 \maketitle
 \Headline{Abstract}
 \begin{abstract}
@@ -147,7 +148,7 @@
 For a long time \texttt{pdflatex} has offered the command \cmd\pdfannot{} for inserting arbitrary PDF annotations. However, the command is presented in a form where additional knowledge of the definition of the PDF format is indispensable. This package is an answer to the -- occasional -- questions in newsgroups, about how one could use the comment function of \texttt{Adobe Reader}. At least for the writer of \LaTeX{} code, the package offers a convenient and user-friendly means of using \cmd\pdfannot{} to provide comments in PDF files. Since version v1.1, \texttt{\filename{}} also supports: 
 
 \medskip
-\noindent\hfill\texttt{\LaTeX{} $\rightarrow$ \texttt{dvips} $\rightarrow$ \texttt{ps2pdf}, \LaTeX{} $\rightarrow$ \texttt{dvipdfmx}\footnote{only with style option \texttt{dvipdfmx}} \XeLaTeX and \LuaLaTeX}.\hfill
+\noindent\hfill\texttt{\LaTeX{} $\rightarrow$ \texttt{dvips} $\rightarrow$ \texttt{ps2pdf}, \LaTeX{} $\rightarrow$ \texttt{dvipdfmx}\footnote{only with style option \texttt{dvipdfmx}} \XeLaTeX\ and \LuaLaTeX}.\hfill
 \medskip
 
 Unfortunately, support of PDF annotations by PDF viewers may vary. The reference viewer for the development of this package is \texttt{Adobe Reader}.
@@ -157,7 +158,7 @@
 \vfill
 \begin{center}
 \subsubsection*{Required packages for using \substyle{\filename}}
-\fbox{\parbox[t]{.8\linewidth}{\small \package{hyperref} (v6.76a [2007/04/09]), \package{zref} (v1.8 [2007/04/22]), \package{xkeyval}, \package{ifpdf}, \package{ifthen}, \package{calc}, \package{marginnote}, \package{datetime}, \package{refcount}, \package{soulpos} and the packages loaded by them.}}
+\fbox{\parbox[t]{.8\linewidth}{\small \package{hyperref} (v6.76a [2007/04/09]), \package{zref} (v1.8 [2007/04/22]), \package{xkeyval}, \package{etoolbox}, \package{luatex85}, \package{ifpdf}, \package{ifthen}, \package{calc}, \package{marginnote}, \package{datetime2}, \package{refcount}, \package{soulpos} and the packages loaded by them.}}
 \end{center}
 \vfill
 \clearpage
@@ -181,7 +182,7 @@
 \noindent\hfill\texttt{\LaTeX{} $\rightarrow$ \texttt{dvips} $\rightarrow$ \texttt{ps2pdf}, \LaTeX{} $\rightarrow$ \texttt{dvipdfmx} and \XeLaTeX}.\hfill
 \medskip
 
-\item \textbf{Ulrike Fischer} for answering my stupid questions on d.c.t.t. for making possible the avatar and style system and much more.
+\item \textbf{Ulrike Fischer} for answering my stupid questions on d.c.t.t. for making the avatar and style system possible and much more.
 
 \item \textbf{Christian Feuers\xE4nger} for contributing new ideas in form of his package \package{pdfmarginpar.sty} and for solving the printing problem\footnote{see section \ref{sec:print}} of PDF annotations and popups.
 
@@ -205,7 +206,7 @@
 \subsubsection[\texttt{version}]{\styleoption{version}}\label{sec:version}
 Version v2.0 of \texttt{pdfcomment.sty} introduced a bugfix that removes unwanted whitespace before the comment commands. This may also change the reference point for options like \styleoption{hoffset}. If you want to preserve the old behavior for older documents simply use \texttt{version=1}. Otherwise \texttt{version=2} is used by default! 
 \subsection{Local options}
-The following options are useable as options for the commands presented in sections \ref{sec:umgebungen} and \ref{sec:befehle}, as well as style options. As style options they have global effect, whereas they have only local effect when used in commands. Furthermore global options are not overwritten. 
+The following options are useable as options for the commands presented in sections \ref{sec:umgebungen} and \ref{sec:befehle}, as well as style options. As style options they have global effect, whereas they have only local effect when used in commands.
 
 \subsubsection[\texttt{subject}]{\styleoption{subject}}\label{sec:subject}
 You can use the option \styleoption{subject} for defining the subject of the PDF popup annotations.
@@ -372,7 +373,7 @@
 You can use the option \styleoption{width} for defining the width of PDF annotations, e.\,g. the width of FreeText annotations. PDF text annatations have a width of 0pt by definition.
 
 \subsubsection[\texttt{height}]{\styleoption{height} (\underline{\texttt{0pt}})}\label{sec:height}
-You can use the option \styleoption{height} for definig the height of PDF annotations. PDF text annatations have a height of \cmd\baselineskip{} by definition.
+You can use the option \styleoption{height} for definig the height of PDF annotations. PDF text annatations have a height of \cmd\normalbaselineskip{} by definition.
 
 \subsubsection[\texttt{markup}]{\styleoption{markup} (\underline{\texttt{Highlight}},\texttt{Underline},\texttt{Squiggly},\texttt{StrikeOut})}\label{sec:markup}
 You can use the option \styleoption{markup} for defining the type of the PDF text markup annotation.
@@ -385,13 +386,13 @@
 
 \begin{center}
 \begin{tabular}{l}
-D:YYYYMMDDhhmmss+TZ\\
-D:20101224153657+01'00'
+\texttt{D:YYYYMMDDhhmmss+TZ}\\
+\texttt{D:20101224153657+01'00'}
 \end{tabular}
 \end{center}
 
 \subsubsection[\texttt{timezone}]{\styleoption{timezone} (\underline{\texttt{+00'00'}})}\label{sec:timezone}
-You only have to use the option \styleoption{timezone}, if you are using automatic date setting and \XeLaTeX\ or \texttt{pdflatex} < v1.30.0. Otherwise the \texttt{pdflatex} command \string\pdfcreationdate\ will be used. \styleoption{timezone}=+01'00' sets the timezone to middle european time (default: +00'00' (GMT)).
+You only have to use the option \styleoption{timezone}, if you are using automatic date setting and \XeLaTeX. Otherwise the \texttt{pdflatex} primitive \string\pdfcreationdate\ will be used. \styleoption{timezone}=+01'00' sets the timezone to central european time CET (default: +00'00' (GMT)).
 
 \subsubsection[\texttt{avatar}]{\styleoption{avatar}}\label{sec:avatar}
 With the option \styleoption{avatar} you can load the option lists, that were predefined with the command \cmd\defineavatar{} to avoid annoying typing. 
@@ -504,7 +505,7 @@
 Possible \margcs{\cmd\pdffreetextcomment\\\oarg{options}\marg{comment}} options: \styleoption{avatar}, \styleoption{style}, \styleoption{subject}, \styleoption{author}, \styleoption{color}, \styleoption{font}, \styleoption{fontsize}, \styleoption{fontcolor}, \styleoption{opacity}, \styleoption{line}, \styleoption{linewidth}, \styleoption{lineend}, \styleoption{borderstyle}, \styleoption{dashstyle}, \styleoption{bse}, \styleoption{bsei},  \styleoption{type}, \styleoption{height}, \styleoption{width}, \styleoption{voffset}, \styleoption{hoffset}, \styleoption{disable}, \styleoption{date}, \styleoption{timezone}
 
 \bigskip
-\cmd\pdffreetextcomment{} (\texttt{type=freetext}) will typeset a comment in form of a freely positioned box on the wished spot of the page.\pdffreetextcomment[subject={\textbackslash pdffreetextcomment Test},height=1.2cm,width=4cm,voffset=-3.7cm,hoffset=-2.2cm,opacity=0.5,color=yellow]{This is a FreeText annotation} By using the option \styleoption{type}\texttt{=callout} the box will have an additional so called callout line, to bind the box to a certain element of the page. With the option \styleoption{type}\texttt{=typewriter} you can write a comment everywhere on the page with a virtual 'typewriter'. These PDF freetext annotation do have no frame and a transparent background for 'overwriting' arbitrary parts of the page. Please note the example file \LinkEx!
+\cmd\pdffreetextcomment{} (\texttt{type=freetext}) will typeset a comment in form of a freely positioned box on the wished spot of the page.\pdffreetextcomment[subject={\textbackslash pdffreetextcomment Test},height=1.2cm,width=4cm,voffset=-3.7cm,hoffset=-2.2cm,opacity=0.5,color=yellow]{This is a FreeText annotation} By using the option \styleoption{type}\texttt{=callout} the box will have an additional so called callout line, to bind the box to a certain element of the page. With the option \styleoption{type}\texttt{=typewriter} you can write a comment everywhere on the page with a virtual 'typewriter'. These PDF freetext annotation don't have a frame but a transparent background for 'overwriting' arbitrary parts of the page. Please note the example file \LinkEx!
 
 \subsubsection{\texorpdfstring{\cs{pdfsquarecomment}}{\textbackslash pdfsquarecomment}}
 \label{sec:pdfsquarecomment}

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

Modified: trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment_de.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment_de.tex	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment_de.tex	2016-06-18 15:51:58 UTC (rev 41484)
@@ -148,13 +148,14 @@
 \hypersetup{pdfauthor={Josef Kleber},pdftitle={Ein benutzerfreundliches Interface zu PDF-Kommentaren},pdfsubject={Dokumentation f\xFCr den LaTeX style \filename}}
 %
 \begin{document}
-\pdfcommentsetup{date=D:20101212153723+01'00'}
+%\pdfcommentsetup{date=D:20101212153723+01'00'}
+\date{2016/06/13}
 \bibliographystyle{alphadin}
 \title{\filename}%
 \Subtitle{Ein benutzerfreundliches Interface zu PDF-Kommentaren}%
 \author{Josef Kleber}
-\Fileversion{v2.3b}
-\Refline{\href{mailto:josef.kleber at gmx.de}{\texttt{josef.kleber at gmx.de}}\\\href{http://pdfcomment.jklatex.de}{\texttt{http://pdfcomment.jklatex.de}}}
+\Fileversion{v2.4}
+\Refline{\href{mailto:pdfcomment at jklatex.de}{\texttt{pdfcomment at jklatex.de}}\\\href{http://pdfcomment.jklatex.de}{\texttt{http://pdfcomment.jklatex.de}}}
 \maketitle
 \Headline{Zusammenfassung}%
 \begin{abstract}
@@ -161,7 +162,7 @@
 \texttt{pdflatex}\index{pdflatex} bietet seit jeher den Befehl \cmd\pdfannot{} f\xFCr das Einf\xFCgen beliebiger PDF annotations. Allerdings in einer Form, in der zus\xE4tzliche Kenntnisse der PDF-Referenz unabdingbar sind. \substyle{\filename} ist eine Antwort auf die in Newsgroups -- von Zeit zu Zeit -- auftauchende Frage, wie man die Kommentarfunktion des \texttt{Adobe Reader} nutzen k\xF6nnte. Zumindest aus dem \LaTeX{}-Code heraus, bietet \substyle{\filename} eine bequeme und nutzerfreundliche M\xF6glichkeit PDF annotations in PDF-Dateien zu nutzen. Seit Version v1.1 unterst\xFCtzt \texttt{\filename{}} auch:
 
 \medskip
-\noindent\hfill\texttt{\LaTeX{} $\rightarrow$ \texttt{dvips} $\rightarrow$ \texttt{ps2pdf}, \LaTeX{} $\rightarrow$ \texttt{dvipdfmx}\footnote{nur mit der Styleoption \texttt{dvipdfmx}}, \XeLaTeX und \LuaLaTeX}.\hfill
+\noindent\hfill\texttt{\LaTeX{} $\rightarrow$ \texttt{dvips} $\rightarrow$ \texttt{ps2pdf}, \LaTeX{} $\rightarrow$ \texttt{dvipdfmx}\footnote{nur mit der Styleoption \texttt{dvipdfmx}}, \XeLaTeX\ und \LuaLaTeX}.\hfill
 \medskip
 
 Leider ist die Unterst\xFCtzung der PDF annotations durch die PDF-Viewer teilweise nur sehr eingeschr\xE4nkt bzw. gar nicht vorhanden. Der Referenz-Viewer f\xFCr die Entwicklung dieses Pakets ist \texttt{Adobe Reader}.
@@ -171,7 +172,7 @@
 \vfill
 \begin{center}
 \subsubsection*{Ben\xF6tigte Pakete f\xFCr die Nutzung von \substyle{\filename}}
-\fbox{\parbox[t]{.8\linewidth}{\small \package{hyperref} (v6.76a [2007/04/09]), \package{zref} (v1.8 [2007/04/22]), \package{xkeyval}, \package{ifpdf}, \package{ifthen}, \package{calc}, \package{marginnote}, \package{datetime}, \package{refcount}, \package{soulpos} und die von diesen Paketen aufgerufenen Dateien.}}
+\fbox{\parbox[t]{.8\linewidth}{\small \package{hyperref} (v6.76a [2007/04/09]), \package{zref} (v1.8 [2007/04/22]), \package{xkeyval}, \package{etoolbox}, \package{luatex85}, \package{ifpdf}, \package{ifthen}, \package{calc}, \package{marginnote}, \package{datetime2}, \package{refcount}, \package{soulpos} und die von diesen Paketen aufgerufenen Dateien.}}
 \end{center}
 \vfill
 \clearpage
@@ -211,7 +212,7 @@
 \section{Optionen}
 \subsection{Globale Styleoptionen}
 \subsubsection[\texttt{final}]{\styleoption{final}}\label{sec:final}
-Mit der Option \texttt{final} versetzt man das Paket in den Final-Modus. Die PDF annotations werden nicht gesetzt und beeinflussen daher auch nicht den Zeilen\-umbruch. Benutzen Sie die lokale Option \styleoption{disable}, falls Sie nur einzelne PDF annotations abschalten m\xF6cten. (siehe: \ref{sec:disable})
+Mit der Option \texttt{final} versetzt man das Paket in den Final-Modus. Die PDF annotations werden nicht gesetzt und beeinflussen daher auch nicht den Zeilen\-umbruch. Benutzen Sie die lokale Option \styleoption{disable}, falls Sie nur einzelne PDF annotations abschalten m\xF6chten. (siehe: \ref{sec:disable})
 \subsubsection[\texttt{draft}]{\styleoption{draft}}\label{sec:draft}
 Mit der Option \texttt{draft} (default) versetzt man das Paket in den Draft-Modus. Die PDF annotations werden daher gesetzt.
 \subsubsection[\texttt{dvipdfmx}]{\styleoption{dvipdfmx}}\label{sec:dvipdfmx}
@@ -384,7 +385,7 @@
 Die Option \styleoption{width} dient der Festlegung der Breite der PDF annotations, speziell der Breite der FreeText annotations. PDF text annatations haben grunds\xE4tzlich eine Breite von 0pt.
 
 \subsubsection[\texttt{height}]{\styleoption{height} (\underline{\texttt{0pt}})}\label{sec:height}
-Die Option \styleoption{height} dient der Festlegung der H\xF6he der PDF annotations. Bei PDF text annotations wurde die H\xF6he auf \cmd\baselineskip{} festgelegt.
+Die Option \styleoption{height} dient der Festlegung der H\xF6he der PDF annotations. Bei PDF text annotations wurde die H\xF6he auf \cmd\normalbaselineskip{} festgelegt.
 
 \subsubsection[\texttt{markup}]{\styleoption{markup} (\underline{\texttt{Highlight}},\texttt{Underline},\texttt{Squiggly},\texttt{StrikeOut})}\label{sec:markup}
 Die Option \styleoption{markup} dient der Festlegung des Typs der text markup annotations.
@@ -397,13 +398,13 @@
 
 \begin{center}
 \begin{tabular}{l}
-D:YYYYMMDDhhmmss+TZ\\
-D:20101224153657+01'00'
+\texttt{D:YYYYMMDDhhmmss+TZ}\\
+\texttt{D:20101224153657+01'00'}
 \end{tabular}
 \end{center}
 
 \subsubsection[\texttt{timezone}]{\styleoption{timezone} (\underline{\texttt{+00'00'}})}\label{sec:timezone}
-Sie m\xFCssen die Option \styleoption{timezone} nur benutzen, falls Sie die automatische Datumssetzung und \XeLaTeX\ oder \texttt{pdflatex} < v1.30.0 verwenden. Ansonsten wird der \texttt{pdflatex}-Befehl \string\pdfcreationdate\ verwendet. \styleoption{timezone}=+01'00' setzt die Zeitzone auf mitteleurop\xE4ische Zeit.
+Sie m\xFCssen die Option \styleoption{timezone} nur benutzen, falls Sie die automatische Datumssetzung und \XeLaTeX\ verwenden. Ansonsten wird die \texttt{pdflatex}-Primitive \string\pdfcreationdate\ verwendet. \styleoption{timezone}=+01'00' setzt die Zeitzone auf mitteleurop\xE4ische Zeit.
 
 \subsubsection[\texttt{avatar}]{\styleoption{avatar}}\label{sec:avatar}
 Mit der Option \styleoption{avatar} kann man die mit dem Befehl \cmd\defineavatar{} vordefinierten Optionslisten laden, um l\xE4stige Tipparbeit zu vermeiden. 
@@ -517,7 +518,7 @@
 M\xF6gliche \margcs{\cmd\pdffreetextcomment\\\oarg{Optionen}\marg{Kommentar}} Optionen: \styleoption{avatar}, \styleoption{style}, \styleoption{subject}, \styleoption{author}, \styleoption{color}, \styleoption{font}, \styleoption{fontsize}, \styleoption{fontcolor}, \styleoption{opacity}, \styleoption{line}, \styleoption{linewidth}, \styleoption{lineend}, \styleoption{borderstyle}, \styleoption{dashstyle}, \styleoption{bse}, \styleoption{bsei},  \styleoption{type}, \styleoption{height}, \styleoption{width}, \styleoption{voffset}, \styleoption{hoffset}, \styleoption{disable}, \styleoption{date}, \styleoption{timezone}
 
 \bigskip
-\cmd\pdffreetextcomment{} (\texttt{type=freetext}) setzt einen Kommentar in Form einer frei positionierbaren Box an die gew\xFCnschte Stelle der Seite\pdffreetextcomment[subject={\textbackslash pdffreetextcomment Test},height=1.2cm,width=4cm,voffset=-4.1cm,hoffset=-2cm,opacity=0.5,color=yellow]{Das ist eine FreeText annotation}. Bei Verwendung der Option \styleoption{type}\texttt{=callout} verf\xFCgt die Box zus\xE4tzlich \xFCber eine sogenannte Callout Linie, um die Box an ein bestimmtes Element der Seite zu binden. Mit der Option \styleoption{type}\texttt{=typewriter} kann man einen Kommentar an einer beliebigen Stelle mit einer virtuellen 'Schreibmaschine' schreiben. Diese PDF freetext annotation haben keinen Rand und einen transparenten Hintergrund. Dadurch kann man beliebige Stellen '\xFCberschreiben'. Bitte beachten Sie dazu die Beispieldatei \LinkEx!
+\cmd\pdffreetextcomment{} (\texttt{type=freetext}) setzt einen Kommentar in Form einer frei positionierbaren Box an die gew\xFCnschte Stelle der Seite\pdffreetextcomment[subject={\textbackslash pdffreetextcomment Test},height=1.2cm,width=6cm,voffset=-4.1cm,hoffset=-4cm,opacity=0.5,color=yellow]{Das ist eine FreeText annotation}. Bei Verwendung der Option \styleoption{type}\texttt{=callout} verf\xFCgt die Box zus\xE4tzlich \xFCber eine sogenannte Callout Linie, um die Box an ein bestimmtes Element der Seite zu binden. Mit der Option \styleoption{type}\texttt{=typewriter} kann man einen Kommentar an einer beliebigen Stelle mit einer virtuellen 'Schreibmaschine' schreiben. Diese PDF freetext annotation haben keinen Rand und einen transparenten Hintergrund. Dadurch kann man beliebige Stellen '\xFCberschreiben'. Bitte beachten Sie dazu die Beispieldatei \LinkEx!
 
 \subsubsection{\texorpdfstring{\cs{pdfsquarecomment}}{\textbackslash pdfsquarecomment}}
 \label{sec:pdfsquarecomment}

Modified: trunk/Master/texmf-dist/tex/latex/pdfcomment/pdfcomment.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfcomment/pdfcomment.sty	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/texmf-dist/tex/latex/pdfcomment/pdfcomment.sty	2016-06-18 15:51:58 UTC (rev 41484)
@@ -13,7 +13,7 @@
 %% and version 1.3 or later is part of all distributions of LaTeX version
 %% 2003/12/01 or later.
 %%
-%% This work has the LPPL maintenance status "author-maintained".
+%% This work has the LPPL maintenance status "maintained".
 %%
 %% The Current Maintainer of this work is Josef Kleber.
 %%
@@ -20,7 +20,7 @@
 %% This work consists of all files listed in manifest.txt.
 %%
 %
-\ProvidesPackage{pdfcomment}[2016/03/26 pdfcomment.sty v2.3b - Josef Kleber (C) 2008-2012, 2015-2016]%
+\ProvidesPackage{pdfcomment}[2016/06/13 pdfcomment.sty v2.4 - Josef Kleber (C) 2008-2012, 2015-2016]%
 %
 \RequirePackage{xkeyval}%
 %
@@ -154,6 +154,7 @@
 \gdef\pc at lopt@co{}%
 %
 \newif\ifpc at gopt@dvipdfmx\pc at gopt@dvipdfmxfalse%
+\newif\ifpc at gopt@xelatex\pc at gopt@xelatexfalse%
 \newif\ifpc at gopt@final\pc at gopt@finalfalse%
 \newif\ifpc at lopt@disable\pc at lopt@disablefalse%
 \newif\ifpc at gopt@disable\pc at gopt@disablefalse%
@@ -1328,6 +1329,16 @@
 %
 \ProcessOptionsX\relax%
 %
+\RequirePackage{etoolbox}%
+% luatex v0.85+ ???
+\ifdef\pdffeedback
+{%
+  \RequirePackage{luatex85}%
+  \RequirePackage{datetime2}[2016/06/04]%
+}%
+{%
+  \RequirePackage{datetime2}%
+}%
 \RequirePackage{zref-savepos}[2007/04/22]%
 \zref at require@unique%
 \RequirePackage{refcount}%
@@ -1335,7 +1346,6 @@
 \RequirePackage{calc}%
 \RequirePackage{marginnote}%
 \RequirePackage{ifpdf}%
-\RequirePackage{datetime}%
 \RequirePackage{soulpos}%
 %
 %hyperref setup
@@ -1373,6 +1383,7 @@
     \fi%
   \else%
     \global\pc at gopt@dvipdfmxtrue%
+    \global\pc at gopt@xelatextrue%
     \@ifpackageloaded{hyperref}%
     {%
       \hypersetup{xetex}%
@@ -1473,7 +1484,6 @@
             \hsize=0pt%
             \noindent%
             \vspace{\pc at lopt@voffset}%
-            \vspace{\normalbaselineskip}%
             \hbox to 0pt%
             {%
               \vsize=0pt%
@@ -1580,7 +1590,6 @@
                 \hsize=0pt%
                 \noindent%
                 \vspace{\pc at lopt@voffset}%
-                \vspace{\normalbaselineskip}%
                 \hbox to 0pt%
                 {%
                   \vsize=0pt%
@@ -2994,16 +3003,26 @@
   \strip at pt\dimexpr .996264\dimexpr #1\relax\relax%
 }%
 %
-% thanks to Heiko Oberdiek (Msg-ID: <ich62p$80k$1 at news.eternal-september.org>)
-\begingroup\expandafter\expandafter\expandafter\endgroup\expandafter\ifx\csname pdfcreationdate\endcsname\relax%
-  \edef\pc at pdfdate@edef{D:\pdfdate\pc at lopt@timezone}%
-\else%
-  \edef\pc at pdfdate@edef{\pdfcreationdate}%
-\fi%
-%
 \newcommand*{\pc at pdfdate@auto}%
 {%
-  \pc at pdfdate@edef%
+  \ifpc at gopt@xelatex
+    D:\@dtm at currentyear%
+    \DTMtwodigits{\@dtm at currentmonth}%
+    \DTMtwodigits{\@dtm at currentday}%
+    \DTMtwodigits{\@dtm at currenthour}%
+    \DTMtwodigits{\@dtm at currentminute}%
+    \DTMtwodigits{\@dtm at currentsecond}%
+    \pc at lopt@timezone%
+  \else%
+    D:\@dtm at currentyear%
+    \DTMtwodigits{\@dtm at currentmonth}%
+    \DTMtwodigits{\@dtm at currentday}%
+    \DTMtwodigits{\@dtm at currenthour}%
+    \DTMtwodigits{\@dtm at currentminute}%
+    \DTMtwodigits{\@dtm at currentsecond}%
+    \ifnum\@dtm at currenttimezonehour<0\else+\fi\DTMtwodigits{\@dtm at currenttimezonehour}%
+    \DTMtwodigits{\@dtm at currenttimezoneminute}%
+  \fi%
 }%
 %
 \newcommand{\pc at annot@calc at pos}%

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2016-06-18 15:50:36 UTC (rev 41483)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2016-06-18 15:51:58 UTC (rev 41484)
@@ -803,7 +803,6 @@
  'pdf-forms-tutorial-de', "die 'skipping, requires acrobat'", #"&MAKEpdf_forms_tutorial",
  'pdf-forms-tutorial-en', "die 'skipping, requires acrobat'", #"&MAKEpdf_forms_tutorial",
  'pdfbook',     "die 'skipping, requires compilation'",
- 'pdfcomment',	"&MAKEflatten",
  'pdfjam',      "&MAKEflatten",
  'pdfmarginpar',"&MAKEflatten",
  'pdfrack',     "die 'skipping, until someone asks for it'",



More information about the tex-live-commits mailing list