diff options
author | Karl Berry <karl@freefriends.org> | 2020-11-15 22:21:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-11-15 22:21:18 +0000 |
commit | 55878e064383bce2af2958e726ba52aaab70e092 (patch) | |
tree | 24b02a7ae8e7e97a41cde8d4e708337a10fe810c /Master/texmf-dist/tex/latex/pdfpc | |
parent | 2f87a75517240e5ab709d6cf869a5209863446e0 (diff) |
pdfpc (15nov20)
git-svn-id: svn://tug.org/texlive/trunk@56940 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfpc')
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty b/Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty index 8a7c3570631..ad0735deb5c 100644 --- a/Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty +++ b/Master/texmf-dist/tex/latex/pdfpc/pdfpc.sty @@ -30,13 +30,12 @@ % % ------------------------------------------------------------------------------------------- % -\ProvidesPackage{pdfpc}[2020/06/10 v0.4.0 PDFPC] +\ProvidesPackage{pdfpc}[2020/06/19 v0.5.0 PDFPC] \NeedsTeXFormat{LaTeX2e} % % Require additional packages needed by \sty{pdfpc}: \RequirePackage{kvoptions} \RequirePackage{xstring} -\RequirePackage{pdfcomment} \RequirePackage{hyperxmp} % \SetupKeyvalOptions{ @@ -52,6 +51,7 @@ \DeclareBoolOption{hidenotes} \DeclareBoolOption{overridenote} \DeclareStringOption{notesposition} +\DeclareBoolOption[false]{disablemarkdown} \DeclareStringOption{defaulttransition} \DeclareDefaultOption{\@unknownoptionerror} % @@ -129,6 +129,11 @@ ______<rdf:Description xmlns:pdfpc="https://github.com/pdfpc/pdfpc">^^J% \hyxmp@add@simple{pdfpc:EndUserSlide}{\PDFPC@enduserslide}% \hyxmp@add@simple{pdfpc:LastMinutes}{\PDFPC@lastminutes}% \hyxmp@add@simple{pdfpc:NotesPosition}{\PDFPC@notesposition}% + \ifPDFPC@disablemarkdown% + \hyxmp@add@simple{pdfpc:EnableMarkdown}{false}% + \else% + \hyxmp@add@simple{pdfpc:EnableMarkdown}{true}% + \fi \hyxmp@add@simple{pdfpc:DefaultTransition}{\PDFPC@defaulttransition}% \hyxmp@add@to@xml{% ______</rdf:Description>^^J% @@ -141,9 +146,16 @@ ______</rdf:Description>^^J% % % Note command \ifPDFPC@hidenotes% - \newcommand{\pdfpcnote}[1]{} + \newcommand{\pdfpcnote}[1]{}% \else% - \newcommand{\pdfpcnote}[1]{\pdfmargincomment{#1}} + \newcommand{\pdfpcnote}[1]{% + \edef\\{\string\n}% + \pdfannot width 0pt height 0pt depth 0pt {% + /Subtype /Text% + /Contents (#1)% + }% + \relax% + }% \fi% % \endinput |