Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 rst2pdf 生成 PDF。我正在使用部分链接,它们在 PDF 中显示为超链接。如果我将鼠标悬停在链接上,我可以看到它显示“转到第 XXX 页”。有没有办法将该页码插入到文本中,以便可以在硬拷贝上看到?
我最近开始使用reportlab。也许您需要使用上标标签?
p = Paragraph("<link href='http://someurl' color='blue'><u>Some text</u><super> [goto page xx]</super></link>", customstyle)
它可能看起来像什么