[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: add a testfile for struct dest (34794cb)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Nov 15 18:41:49 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/34794cb0dd0fe715cf7c76d37663c955dc8f5484

>---------------------------------------------------------------

commit 34794cb0dd0fe715cf7c76d37663c955dc8f5484
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Nov 15 18:41:49 2021 +0100

    add a testfile for struct dest


>---------------------------------------------------------------

34794cb0dd0fe715cf7c76d37663c955dc8f5484
 experiments/struct-dest/texlink.tex | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/experiments/struct-dest/texlink.tex b/experiments/struct-dest/texlink.tex
new file mode 100644
index 0000000..336e6f8
--- /dev/null
+++ b/experiments/struct-dest/texlink.tex
@@ -0,0 +1,21 @@
+\pdfcompresslevel0
+
+\pdfdest num 42 fit
+\pdfdest struct 12345 num 42 fit % Assuming that 12345 0 R is a vlid reference to the non existing structure element at this location...
+Hello
+
+\hfill\eject
+\pdfdest name {earth} fit
+\pdfdest struct 1337 name {earth} fit % Assuming that 12345 0 R is a vlid reference to the non existing structure element at this location...
+World
+
+\vfill\eject
+\leavevmode
+\pdfstartlink goto struct num 42 num 42 First\pdfendlink
+\space
+\pdfstartlink goto struct name {earth} name {earth} Second\pdfendlink
+\space
+\pdfstartlink goto struct name {i_dont_exists} name {me neither} Third\pdfendlink
+\space
+\pdfstartlink goto file {f.pdf} struct {[(external_element_id) /Fit]} name {marcel} Forth\pdfendlink
+\bye





More information about the latex3-commits mailing list.