[latex3-commits] [git/LaTeX3-latex3-pdfresources] master: allow baseurl to be removed (08f8194)
Ulrike Fischer
fischer at troubleshooting-tex.de
Tue Mar 24 20:59:53 CET 2020
Repository : https://github.com/latex3/pdfresources
On branch : master
Link : https://github.com/latex3/pdfresources/commit/08f81940f6bcf0f74be511c88a1f2f708bed9c34
>---------------------------------------------------------------
commit 08f81940f6bcf0f74be511c88a1f2f708bed9c34
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Mar 24 20:59:53 2020 +0100
allow baseurl to be removed
>---------------------------------------------------------------
08f81940f6bcf0f74be511c88a1f2f708bed9c34
hgeneric-experimental.def | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hgeneric-experimental.def b/hgeneric-experimental.def
index 0017278..a47bbda 100644
--- a/hgeneric-experimental.def
+++ b/hgeneric-experimental.def
@@ -764,7 +764,10 @@
,baseurl .code:n =
{
\__hyp_pstringdef:No \l__hyp_tmpa_tl {#1}%
- \tl_if_empty:NF \l__hyp_tmpa_tl %remove if empty??
+ \tl_if_empty:NTF \l__hyp_tmpa_tl %remove if empty??
+ {
+ \pdf_catalog_gremove:n { URI }
+ }
{
\pdf_catalog_gput:nx { URI }{ <</Base ( \l__hyp_tmpa_tl )>> }
}
More information about the latex3-commits
mailing list.