[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlinkstuff: corrected test for ocg (63cd4a6)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed May 1 11:25:56 CEST 2019
Repository : https://github.com/latex3/pdfresources
On branch : testlinkstuff
Link : https://github.com/latex3/pdfresources/commit/63cd4a60b2e266e1be00dccf24479eacd1090d68
>---------------------------------------------------------------
commit 63cd4a60b2e266e1be00dccf24479eacd1090d68
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed May 1 11:25:56 2019 +0200
corrected test for ocg
>---------------------------------------------------------------
63cd4a60b2e266e1be00dccf24479eacd1090d68
hluatex-experimental.def | 1 +
test-pdfresources.tex | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/hluatex-experimental.def b/hluatex-experimental.def
index cfcf20a..03c66b5 100644
--- a/hluatex-experimental.def
+++ b/hluatex-experimental.def
@@ -311,6 +311,7 @@
\ExplSyntaxOn
\ifHy at ocgcolorlinks
+ \newcommand\OBJ at OCG@view {} % for the hyperref test
\pdf at ifdraftmode{}{
\driver_pdf_object_new:nn { l__hyp_ocg_view_dict_obj } { dict }
\driver_pdf_object_new:nn { l__hyp_ocg_print_dict_obj } { dict }
diff --git a/test-pdfresources.tex b/test-pdfresources.tex
index 561f462..222bc03 100644
--- a/test-pdfresources.tex
+++ b/test-pdfresources.tex
@@ -1,10 +1,10 @@
% !Mode:: "TeX:DE:UTF-8:Main"
%\input{regression-test}
-
+\RequirePackage{pdfresources}
\documentclass{article}
-\usepackage{pdfresources}
+%\usepackage{pdfresources}
%don't compress pdf:
\ExplSyntaxOn
@@ -16,8 +16,9 @@
\usepackage{xcolor}
\usepackage[customdriver=hluatex-experimental,pdfversion=2.0,pdftitle=X,ocgcolorlinks]{hyperref}
-\show\pdfoutline
+
\usepackage{bookmark}
+
%%\tracingmacros=1
\hypersetup{urlbordercolor=blue,linkbordercolor=green,pdfborder={1 1 1},pdfprintpagerange=0}
%%%\makeatletter
More information about the latex3-commits
mailing list