texlive[63987] Master: intopdf (27jul22)
commits+karl at tug.org
commits+karl at tug.org
Wed Jul 27 22:09:23 CEST 2022
Revision: 63987
http://tug.org/svn/texlive?view=revision&revision=63987
Author: karl
Date: 2022-07-27 22:09:22 +0200 (Wed, 27 Jul 2022)
Log Message:
-----------
intopdf (27jul22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/intopdf/intopdf.pdf
trunk/Master/texmf-dist/source/latex/intopdf/intopdf.dtx
trunk/Master/texmf-dist/tex/latex/intopdf/intopdf.sty
trunk/Master/tlpkg/libexec/ctan2tds
Modified: trunk/Master/texmf-dist/doc/latex/intopdf/intopdf.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/intopdf/intopdf.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/intopdf/intopdf.dtx 2022-07-27 20:08:48 UTC (rev 63986)
+++ trunk/Master/texmf-dist/source/latex/intopdf/intopdf.dtx 2022-07-27 20:09:22 UTC (rev 63987)
@@ -35,6 +35,7 @@
\usepackage{intopdf,metalogo}
\begin{document}
\DocInput{intopdf.dtx}
+\clearpage
\PrintIndex
\PrintChanges
\end{document}
@@ -46,7 +47,7 @@
%
% \GetFileInfo{intopdf.dtx}
% \title{The \pkg{intopdf} package\thanks{This document
-% corresponds to \pkg{intopdf}~0.4.0, dated~2021/02/26.}}
+% corresponds to \pkg{intopdf}~0.4.1, dated~2022/07/21.}}
% \author{Marcel Kr\"uger \\ \href{mailto:tex at 2krueger.de}{tex at 2krueger.de}}
%
% \maketitle
@@ -89,8 +90,8 @@
\RequirePackage{expl3,xparse}
\ProvidesExplPackage
{intopdf}
- {2021/02/26}
- {0.4.0}
+ {2022/07/21}
+ {v0.4.1}
{Embed non-PDF files into PDF with hyperlink}
\RequirePackage{hyperref}
@@ -100,6 +101,7 @@
% \changes{v0.2.0}{2019/05/21}{Added filespec support. (The first optional argument) Added \cs{intopdf_attach_link:nnnnn}.}
% \changes{v0.3.0}{2020/03/13}{Switched to \texttt{l3pdf} instead of using primitives directly. Currently some internal functions from \texttt{l3backend} are needed too for handling links.}
% \changes{v0.4.0}{2021/02/26}{Update to new \texttt{l3pdf} names and support more engines.}
+% \changes{v0.4.1}{2022/07/21}{Properly separate legacy and Unicode filenames}
% The main functionality.
% \begin{macrocode}
\str_new:N \l__intopdf_mime_str
@@ -112,11 +114,13 @@
\pdf_object_unnamed_write:nx {fstream} { {
/Subtype /\l__intopdf_mime_str
} { #2 } }
- \str_set_convert:Nnnn \l__intopdf_filename_str { #1 } { default } { utf16/string }
+ \str_set_convert:Nnnn \l__intopdf_filename_str { #1 } { default } { utf8/string }
+ \str_set_convert:Nnnn \l__intopdf_filename_unicode_str { #1 } { default } { utf16/string }
\str_set_convert:Nnnn \l__intopdf_description_str { #4 } { default } { utf16/string }
\pdf_object_unnamed_write:nx {dict} {
/Type /Filespec
/F (\l__intopdf_filename_str)
+ /UF (\l__intopdf_filename_unicode_str)
/EF << /F~\pdf_object_ref_last: >>
/Desc (\l__intopdf_description_str)
}
Modified: trunk/Master/texmf-dist/tex/latex/intopdf/intopdf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/intopdf/intopdf.sty 2022-07-27 20:08:48 UTC (rev 63986)
+++ trunk/Master/texmf-dist/tex/latex/intopdf/intopdf.sty 2022-07-27 20:09:22 UTC (rev 63987)
@@ -21,8 +21,8 @@
\RequirePackage{expl3,xparse}
\ProvidesExplPackage
{intopdf}
- {2021/02/26}
- {0.4.0}
+ {2022/07/21}
+ {v0.4.1}
{Embed non-PDF files into PDF with hyperlink}
\RequirePackage{hyperref}
@@ -36,11 +36,13 @@
\pdf_object_unnamed_write:nx {fstream} { {
/Subtype /\l__intopdf_mime_str
} { #2 } }
- \str_set_convert:Nnnn \l__intopdf_filename_str { #1 } { default } { utf16/string }
+ \str_set_convert:Nnnn \l__intopdf_filename_str { #1 } { default } { utf8/string }
+ \str_set_convert:Nnnn \l__intopdf_filename_unicode_str { #1 } { default } { utf16/string }
\str_set_convert:Nnnn \l__intopdf_description_str { #4 } { default } { utf16/string }
\pdf_object_unnamed_write:nx {dict} {
/Type /Filespec
/F (\l__intopdf_filename_str)
+ /UF (\l__intopdf_filename_unicode_str)
/EF << /F~\pdf_object_ref_last: >>
/Desc (\l__intopdf_description_str)
}
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2022-07-27 20:08:48 UTC (rev 63986)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2022-07-27 20:09:22 UTC (rev 63987)
@@ -3093,7 +3093,7 @@
'hypdoc' => 'tex',
'hyperbar' => 'tex',
'inputnormalization' => 'etex -8bit',
- 'intopdf', => 'tex',
+ 'intopdf', => 'etex-answer-y',
'icite', => 'lualatex',
'isodoc' => 'luatex',
'japanese' => 'platex',
More information about the tex-live-commits
mailing list.