[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: correct prop content (145fed1)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed Jul 1 20:15:56 CEST 2020
Repository : https://github.com/latex3/pdfresources
On branch : splitting
Link : https://github.com/latex3/pdfresources/commit/145fed196fa79850ab1800e7d7b6423abdc66e68
>---------------------------------------------------------------
commit 145fed196fa79850ab1800e7d7b6423abdc66e68
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Jul 1 20:15:56 2020 +0200
correct prop content
>---------------------------------------------------------------
145fed196fa79850ab1800e7d7b6423abdc66e68
experiments/embedfiles.tex | 2 +-
l3pdffile.dtx | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/experiments/embedfiles.tex b/experiments/embedfiles.tex
index ef38735..4a960e2 100644
--- a/experiments/embedfiles.tex
+++ b/experiments/embedfiles.tex
@@ -31,7 +31,7 @@
\pdfdict_put:nnn {file/FileSpec} {AFRelationship}{/Data}
\pdfdict_put:nnn {file/FileSpec} {Desc}{(this~is~a~text~file)}
-\pdffile_embed_stream:nnn {testinput.txt} {stream.txt} {example2}
+\pdffile_embed_stream:nnn {testinput.txt} {mystream.txt} {example2}
\prop_show:N \g__pdffile_file_embed_sources_prop
%\pdffile_attach:n {example1}
diff --git a/l3pdffile.dtx b/l3pdffile.dtx
index c40c366..2a4b8fe 100644
--- a/l3pdffile.dtx
+++ b/l3pdffile.dtx
@@ -489,10 +489,10 @@
{
\file_get_full_name:nNTF {#1} \l_pdffile_source_full_name_str
{
- \prop_gput:NnV
+ \prop_gput:Nnx
\g_@@_file_embed_sources_prop
{ #3 }
- \l_pdffile_source_full_name_str
+ {\l_pdffile_source_full_name_str=>\tl_to_str:n{#2}}
\@@_file_mimetype_set:VN
\l_pdffile_source_full_name_str
\l_@@_file_automimetype_tl
@@ -543,10 +543,10 @@
%error or use #3 instead??
}
{
- \prop_gput:NnV
+ \prop_gput:Nnn
\g_@@_file_embed_sources_prop
{ #3 }
- {(stream)~#2}
+ {stream=>#2}
\@@_file_mimetype_set:nN
{ #2 }
\l_@@_file_automimetype_tl
More information about the latex3-commits
mailing list.