LaTeX hyperref 包:在特定页面打开目标 PDF

发布于 2024-08-23 21:19:20 字数 217 浏览 2 评论 0原文

有谁知道是否可以使用 LaTeX hyperref 包在特定页面打开目标 PDF?我尝试过使用 \href{FILENAME#page=XX}{LINK_TEXT} 命令,其中 XX 是目标页码,但没有骰子。文件本身会打开,但总是从第一页开始。我的想法是,我有一个大索引,它是一个单独的文档;索引中的每个项目都有一个指向目标文档的链接以及页码。

也许我使用了错误的链接宏?

有什么想法吗?

Does anyone know if it is possible to employ the LaTeX hyperref package to open a target PDf at a specific page? I have tried using the \href{FILENAME#page=XX}{LINK_TEXT} command, where XX is the target page number, but no dice. The file iteself opens, but it always starts out at the first page. The idea being that I have a large index which is a separate document; each item in the index has a link to the target document along with the page number.

Perhaps I am using the wrong linking macro?

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧伤慢歌 2024-08-30 21:19:20

如果所有文档都是使用 pdfLatex 创建的,您应该能够通过以下方式执行您想要的操作:

\href{filename#page.xx}{link text}

注意 page 之后的 . 而不是 =

If all the documents are created using pdfLatex, you should be able to do what you want by:

\href{filename#page.xx}{link text}

Note the . instead of = after page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文