diff options
author | jao <jao@gnu.org> | 2022-09-03 02:11:04 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-03 02:11:04 +0100 |
commit | cfc235d79b9d207e6b3cfbd6efdd26457d985a92 (patch) | |
tree | 5646bbe6e952cb6a34947a558eb938780be995b3 /lib/doc | |
parent | abaa134f191e18c7acafdd0225e785e251544728 (diff) | |
download | elibs-cfc235d79b9d207e6b3cfbd6efdd26457d985a92.tar.gz elibs-cfc235d79b9d207e6b3cfbd6efdd26457d985a92.tar.bz2 |
jao-pdf: use page number in link description
Diffstat (limited to 'lib/doc')
-rw-r--r-- | lib/doc/jao-pdf.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/doc/jao-pdf.el b/lib/doc/jao-pdf.el index 184bb95..6a44693 100644 --- a/lib/doc/jao-pdf.el +++ b/lib/doc/jao-pdf.el @@ -111,7 +111,7 @@ The result is cached as a local buffer variable." (unless exists (jao-org-insert-doc-skeleton)) (let* ((fn (file-name-nondirectory pdf-file)) (desc (jao-pdf-section-title page pdf-file)) - (lnk (format "[[doc:%s::%d][%s]]" fn page desc))) + (lnk (format "[[doc:%s::%d][%s (p. %s)]]" fn page desc pageno))) (jao-doc-session-mark) (if (or (not exists) (and (not no-ask) (y-or-n-p "Insert link?"))) (insert lnk "\n") |