From: theinicke@bss-wf.de
To: 9front@9front.org
Subject: plumb: page bookmarks with relative paths
Date: Sat, 12 Jan 2019 19:06:50 +0100 [thread overview]
Message-ID: <B74075B0A565B5FEAAB66116CA007F8F@yourdomain.dom> (raw)
[-- Attachment #1: Type: text/plain, Size: 146 bytes --]
Attached is a diff to make plumbing page bookmarks work with relative paths (like books/guide.pdf!42) in basic plumber rules.
--
Tobias Heinicke
[-- Attachment #2: relbookmarks --]
[-- Type: text/plain, Size: 409 bytes --]
diff -r ac7f3eff2208 sys/lib/plumb/basic
--- a/sys/lib/plumb/basic Tue Jan 08 13:22:09 2019 +0100
+++ b/sys/lib/plumb/basic Sat Jan 12 17:16:39 2019 +0100
@@ -56,7 +56,7 @@
data set $file
attr add addr=$4
plumb to image
-plumb start page -wij $0 $file
+plumb start page -wij $file!$4 $file
# postscript/pdf/dvi/doc go to page but not over the a plumb port
# the port is here for reference but is unused
reply other threads:[~2019-01-12 18:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B74075B0A565B5FEAAB66116CA007F8F@yourdomain.dom \
--to=theinicke@bss-wf.de \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).