Skip to content

Commit

Permalink
change text of dummy attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Dec 10, 2024
1 parent ca2d8cf commit 080e93f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion l3pdfmeta.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,11 @@
\group_begin:
\pdfdict_put:nne {l_pdffile/Filespec} {Desc}{(note~about~PDF/A-4F)}
\pdfdict_put:nnn { l_pdffile/Filespec }{AFRelationship} { /Unspecified }
\pdffile_embed_stream:nnN {PDF~standard~A-4F~requires~a~file}{readme.txt}\l_@@_tmpa_tl
\pdffile_embed_stream:nnN
{The~document~was~declared~to~be~of~type~PDF/A-4f~but~hasn't~any~attachments.~
LaTeX~therefore~added~this~dummy~file.}
{readme.txt}
\l_@@_tmpa_tl
\exp_args:Nne \__pdf_backend_Names_gpush:nn{EmbeddedFiles}{(readme)~\l_@@_tmpa_tl}
\group_end:
}
Expand Down

3 comments on commit 080e93f

@davidcarlisle
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pdf-a4f.txt rather than readme.txt ?

@u-fischer
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea.

@FrankMittelbach
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes agreed, good name

Please sign in to comment.