texlive[53902] Master: pdfpc (25feb20)
commits+karl at tug.org
commits+karl at tug.org
Tue Feb 25 02:22:00 CET 2020
Revision: 53902
http://tug.org/svn/texlive?view=revision&revision=53902
Author: karl
Date: 2020-02-25 02:22:00 +0100 (Tue, 25 Feb 2020)
Log Message:
-----------
pdfpc (25feb20)
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tlpkg-ctan-check
trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/pdfpc/
trunk/Master/texmf-dist/doc/latex/pdfpc/README.md
trunk/Master/texmf-dist/source/latex/pdfpc/
trunk/Master/texmf-dist/source/latex/pdfpc/pdfpc.dtx
trunk/Master/texmf-dist/source/latex/pdfpc/pdfpc.ins
trunk/Master/texmf-dist/tex/latex/pdfpc/
trunk/Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty
trunk/Master/tlpkg/tlpsrc/pdfpc.tlpsrc
Added: trunk/Master/texmf-dist/doc/latex/pdfpc/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfpc/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/pdfpc/README.md 2020-02-25 01:22:00 UTC (rev 53902)
@@ -0,0 +1,35 @@
+# pdfpc
+
+This packages allows to define additional meta data within
+the PDF file which can be interpreted by the pdf presenter
+console (pdfpc) program.
+
+## Dependencies
+
+`pdfpc` depends on these packages:
+[`kvoptions`](https://ctan.org/pkg/kvoptions),
+[`xstring`](https://ctan.org/pkg/xstring),
+[`pdfcomment`](https://ctan.org/pkg/pdfcomment),
+[`hyperxmp`](https://ctan.org/pkg/hyperxmp)
+
+## Usage
+
+It's best to read the [`pdfpc`](https://github.com/pdfpc/pdfpc) documentation
+for `pdfpc` integration.
+
+## License
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
Property changes on: trunk/Master/texmf-dist/doc/latex/pdfpc/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/pdfpc/pdfpc.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfpc/pdfpc.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/pdfpc/pdfpc.dtx 2020-02-25 01:22:00 UTC (rev 53902)
@@ -0,0 +1,179 @@
+%\iffalse
+%<*package>
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%</package>
+%\fi
+%\iffalse
+% Doc-Source file to use with LaTeX2e
+%
+% This file is part of pdfpc.
+% Copyright (C) 2020 Evgeny Stambulchik
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 3 of the License, or
+% (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License along
+% with this program; if not, write to the Free Software Foundation, Inc.,
+% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+% -------------------------------------------------------------------------------------------
+%
+% Allow for defining some meta data and simple textual notes for use
+% with the pdfpc presentation application <https://pdfpc.github.io>.
+%
+% -------------------------------------------------------------------------------------------
+%
+% Inspired by Carsten Brandt's <https://github.com/cebe/pdfpc-latex-notes>.
+%
+% -------------------------------------------------------------------------------------------
+%
+% Please report bugs and other problems as well as suggestions for improvements
+% to the issue tracker at github <https://github.com/pdfpc/pdfpc/>
+%
+% -------------------------------------------------------------------------------------------
+%\fi
+%
+% Identify the package and force \LaTeXe:
+% \begin{macrocode}
+\ProvidesPackage{pdfpc}[2019/12/03 v0.2 PDFPC]
+\NeedsTeXFormat{LaTeX2e}
+% \end{macrocode}
+%
+% Require additional packages needed by \sty{pdfpc}:
+% \begin{macrocode}
+\RequirePackage{kvoptions}
+\RequirePackage{xstring}
+\RequirePackage{pdfcomment}
+\RequirePackage{hyperxmp}
+% \end{macrocode}
+%
+\SetupKeyvalOptions{
+ family=PDFPC,
+ prefix=PDFPC@
+}
+%
+\DeclareStringOption{duration}
+\DeclareStringOption{starttime}
+\DeclareStringOption{endtime}
+\DeclareStringOption{enduserslide}
+\DeclareStringOption{lastminutes}
+\DeclareBoolOption{overridenote}
+\DeclareStringOption{notesposition}
+\DeclareDefaultOption{\@unknownoptionerror}
+%
+\ProcessKeyvalOptions*
+%
+\ifx\PDFPC at duration\@empty
+\else
+ \IfInteger{\PDFPC at duration}{}
+ {\PackageWarningNoLine{pdfpc}{`duration' should be an integer}}%
+\fi
+%
+\ifx\PDFPC at duration\@empty
+\ifx\PDFPC at enduserslide\@empty
+\else
+ \IfInteger{\PDFPC at enduserslide}{}
+ {\PackageWarningNoLine{pdfpc}{`enduserslide' should be an integer}}%
+\fi
+%
+\ifx\PDFPC at duration\@empty
+\ifx\PDFPC at lastminutes\@empty
+\else
+ \IfInteger{\PDFPC at lastminutes}{}
+ {\PackageWarningNoLine{pdfpc}{`lastminutes' should be an integer}}%
+\fi
+%
+\ifPDFPC at overridenote
+ \renewcommand{\note}[2][]{%
+ \IfStrEq{#1}{item}%
+ % Imitate a bullet
+ {\pdfpcnote{* #2}}%
+ {\pdfpcnote{#2}}%
+ }%
+\fi
+%
+\def\pdfpc at notespositionauto{auto}%
+\ifx\PDFPC at notesposition\@empty%
+ \def\PDFPC at notesposition{auto}%
+\fi%
+%
+% Guesswork for beamer/pgfpages notes
+% \begin{macrocode}
+\ifx\PDFPC at notesposition\pdfpc at notespositionauto%
+ \def\PDFPC at notesposition{none}%
+ \def\pdfpc at onepaperheight{\paperheight}%
+ \def\pdfpc at twopaperheight{2\paperheight}%
+ \def\pdfpc at onepaperwidth{\paperwidth}%
+ \def\pdfpc at twopaperwidth{2\paperwidth}%
+ \def\pdfpc at pagecenter{\pgfpoint{.5\paperwidth}{.5\paperheight}}%
+
+ \ifx\pgfpageoptiontwoheight\pdfpc at onepaperheight%
+ \ifx\pgfpageoptiontwowidth\pdfpc at twopaperwidth%
+ \ifx\pgfpageoptionfirstcenter\pdfpc at pagecenter%
+ \def\PDFPC at notesposition{right}%
+ \else%
+ \def\PDFPC at notesposition{left}%
+ \fi%
+ \fi%
+ \fi%
+ \ifx\pgfpageoptiontwoheight\pdfpc at twopaperheight%
+ \ifx\pgfpageoptiontwowidth\pdfpc at onepaperwidth%
+ \ifx\pgfpageoptionfirstcenter\pdfpc at pagecenter%
+ \def\PDFPC at notesposition{top}%
+ \else%
+ \def\PDFPC at notesposition{bottom}%
+ \fi%
+ \fi%
+ \fi%
+\fi%
+% \end{macrocode}
+%
+% Our schema
+% \begin{macrocode}
+\newcommand*{\pdfpc at schema}{%
+ \hyxmp at add@to at xml{%
+______<rdf:Description xmlns:pdfpc="https://github.com/pdfpc/pdfpc">^^J%
+ }%
+ \hyxmp at add@simple{pdfpc:Duration}{\PDFPC at duration}%
+ \hyxmp at add@simple{pdfpc:StartTime}{\PDFPC at starttime}%
+ \hyxmp at add@simple{pdfpc:EndTime}{\PDFPC at endtime}%
+ \hyxmp at add@simple{pdfpc:EndUserSlide}{\PDFPC at enduserslide}%
+ \hyxmp at add@simple{pdfpc:LastMinutes}{\PDFPC at lastminutes}%
+ \hyxmp at add@simple{pdfpc:NotesPosition}{\PDFPC at notesposition}%
+ \hyxmp at add@to at xml{%
+______</rdf:Description>^^J%
+ }%
+}
+%
+% Piggybacking on the hyperxmp schema...
+% \begin{macrocode}
+\let\oldhyxmp at pdf@schema\hyxmp at pdf@schema
+\renewcommand{\hyxmp at pdf@schema}{{\oldhyxmp at pdf@schema}{\pdfpc at schema}}
+% \end{macrocode}
+
+% Note command
+% \begin{macrocode}
+\newcommand{\pdfpcnote}[1]{\pdfmargincomment{#1}}
+% \end{macrocode}
+%
+\endinput
Property changes on: trunk/Master/texmf-dist/source/latex/pdfpc/pdfpc.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/pdfpc/pdfpc.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfpc/pdfpc.ins (rev 0)
+++ trunk/Master/texmf-dist/source/latex/pdfpc/pdfpc.ins 2020-02-25 01:22:00 UTC (rev 53902)
@@ -0,0 +1,38 @@
+\input docstrip
+
+\preamble
+ pdfpc.dtx
+ Copyright (C) 2020 Evgeny Stambulchik
+
+ This file is part of pdfpc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ This work consists of the files pdfpc.dtx, pdfpc.ins, and the derived file
+ pdfpc.sty
+
+\endpreamble
+
+\askforoverwritefalse
+
+\generate
+{%
+ \file{pdfpc.sty}{%
+ \usepreamble\defaultpreamble
+ \usepostamble\defaultpostamble
+ \from{pdfpc.dtx}{pdfpc.sty,package}%
+ }%
+}
+\endbatchfile
Added: trunk/Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty 2020-02-25 01:22:00 UTC (rev 53902)
@@ -0,0 +1,140 @@
+%%
+%% This is file `pdfpc.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pdfpc.dtx (with options: `pdfpc.sty,package')
+%% pdfpc.dtx
+%% Copyright (C) 2020 Evgeny Stambulchik
+%%
+%% This file is part of pdfpc.
+%%
+%% This program is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published by
+%% the Free Software Foundation; either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License along
+%% with this program; if not, write to the Free Software Foundation, Inc.,
+%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+%%
+%% This work consists of the files pdfpc.dtx, pdfpc.ins, and the derived file
+%% pdfpc.sty
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\ProvidesPackage{pdfpc}[2019/12/03 v0.2 PDFPC]
+\NeedsTeXFormat{LaTeX2e}
+\RequirePackage{kvoptions}
+\RequirePackage{xstring}
+\RequirePackage{pdfcomment}
+\RequirePackage{hyperxmp}
+\SetupKeyvalOptions{
+ family=PDFPC,
+ prefix=PDFPC@
+}
+\DeclareStringOption{duration}
+\DeclareStringOption{starttime}
+\DeclareStringOption{endtime}
+\DeclareStringOption{enduserslide}
+\DeclareStringOption{lastminutes}
+\DeclareBoolOption{overridenote}
+\DeclareStringOption{notesposition}
+\DeclareDefaultOption{\@unknownoptionerror}
+\ProcessKeyvalOptions*
+\ifx\PDFPC at duration\@empty
+\else
+ \IfInteger{\PDFPC at duration}{}
+ {\PackageWarningNoLine{pdfpc}{`duration' should be an integer}}%
+\fi
+\ifx\PDFPC at duration\@empty
+\ifx\PDFPC at enduserslide\@empty
+\else
+ \IfInteger{\PDFPC at enduserslide}{}
+ {\PackageWarningNoLine{pdfpc}{`enduserslide' should be an integer}}%
+\fi
+\ifx\PDFPC at duration\@empty
+\ifx\PDFPC at lastminutes\@empty
+\else
+ \IfInteger{\PDFPC at lastminutes}{}
+ {\PackageWarningNoLine{pdfpc}{`lastminutes' should be an integer}}%
+\fi
+\ifPDFPC at overridenote
+ \renewcommand{\note}[2][]{%
+ \IfStrEq{#1}{item}%
+ % Imitate a bullet
+ {\pdfpcnote{* #2}}%
+ {\pdfpcnote{#2}}%
+ }%
+\fi
+\def\pdfpc at notespositionauto{auto}%
+\ifx\PDFPC at notesposition\@empty%
+ \def\PDFPC at notesposition{auto}%
+\fi%
+\ifx\PDFPC at notesposition\pdfpc at notespositionauto%
+ \def\PDFPC at notesposition{none}%
+ \def\pdfpc at onepaperheight{\paperheight}%
+ \def\pdfpc at twopaperheight{2\paperheight}%
+ \def\pdfpc at onepaperwidth{\paperwidth}%
+ \def\pdfpc at twopaperwidth{2\paperwidth}%
+ \def\pdfpc at pagecenter{\pgfpoint{.5\paperwidth}{.5\paperheight}}%
+
+ \ifx\pgfpageoptiontwoheight\pdfpc at onepaperheight%
+ \ifx\pgfpageoptiontwowidth\pdfpc at twopaperwidth%
+ \ifx\pgfpageoptionfirstcenter\pdfpc at pagecenter%
+ \def\PDFPC at notesposition{right}%
+ \else%
+ \def\PDFPC at notesposition{left}%
+ \fi%
+ \fi%
+ \fi%
+ \ifx\pgfpageoptiontwoheight\pdfpc at twopaperheight%
+ \ifx\pgfpageoptiontwowidth\pdfpc at onepaperwidth%
+ \ifx\pgfpageoptionfirstcenter\pdfpc at pagecenter%
+ \def\PDFPC at notesposition{top}%
+ \else%
+ \def\PDFPC at notesposition{bottom}%
+ \fi%
+ \fi%
+ \fi%
+\fi%
+\newcommand*{\pdfpc at schema}{%
+ \hyxmp at add@to at xml{%
+______<rdf:Description xmlns:pdfpc="https://github.com/pdfpc/pdfpc">^^J%
+ }%
+ \hyxmp at add@simple{pdfpc:Duration}{\PDFPC at duration}%
+ \hyxmp at add@simple{pdfpc:StartTime}{\PDFPC at starttime}%
+ \hyxmp at add@simple{pdfpc:EndTime}{\PDFPC at endtime}%
+ \hyxmp at add@simple{pdfpc:EndUserSlide}{\PDFPC at enduserslide}%
+ \hyxmp at add@simple{pdfpc:LastMinutes}{\PDFPC at lastminutes}%
+ \hyxmp at add@simple{pdfpc:NotesPosition}{\PDFPC at notesposition}%
+ \hyxmp at add@to at xml{%
+______</rdf:Description>^^J%
+ }%
+}
+\let\oldhyxmp at pdf@schema\hyxmp at pdf@schema
+\renewcommand{\hyxmp at pdf@schema}{{\oldhyxmp at pdf@schema}{\pdfpc at schema}}
+
+\newcommand{\pdfpcnote}[1]{\pdfmargincomment{#1}}
+\endinput
+%%
+%% End of file `pdfpc.sty'.
Property changes on: trunk/Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check 2020-02-25 01:20:35 UTC (rev 53901)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check 2020-02-25 01:22:00 UTC (rev 53902)
@@ -539,7 +539,7 @@
pdf-trans pdfarticle pdfbook2 pdfcolmk pdfcomment pdfcprot pdfcrop
pdfescape pdfjam
pdflatexpicscale pdflscape pdfmarginpar pdfoverlay
- pdfpagediff pdfpages pdfpc-movie pdfprivacy pdfreview
+ pdfpagediff pdfpages pdfpc pdfpc-movie pdfprivacy pdfreview
pdfscreen pdfslide pdfsync
pdftex-quiet pdftexcmds pdftricks pdftricks2 pdfx pdfxup
pecha pedigree-perl penrose perception perfectcut perltex
Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2020-02-25 01:20:35 UTC (rev 53901)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2020-02-25 01:22:00 UTC (rev 53902)
@@ -899,6 +899,7 @@
depend pdfmarginpar
depend pdfoverlay
depend pdfpagediff
+depend pdfpc
depend pdfpc-movie
depend pdfprivacy
depend pdfreview
Added: trunk/Master/tlpkg/tlpsrc/pdfpc.tlpsrc
===================================================================
More information about the tex-live-commits
mailing list.