[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: struct dest example (3df2b41)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Nov 14 23:15:21 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/3df2b41a7f550f409ec8d1de8d7448ac34731306

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

commit 3df2b41a7f550f409ec8d1de8d7448ac34731306
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Nov 14 23:15:21 2021 +0100

    struct dest example


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

3df2b41a7f550f409ec8d1de8d7448ac34731306
 experiments/texlink.tex | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/experiments/texlink.tex b/experiments/texlink.tex
new file mode 100644
index 0000000..336e6f8
--- /dev/null
+++ b/experiments/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.