gpt4 book ai didi

javascript - 如何在 CSS 和 HTML(打印媒体)中正确地对脚注进行分页

转载 作者:搜寻专家 更新时间:2023-10-31 19:27:45 25 4
gpt4 key购买 nike

当使用 CSS3 的 @media print 模式和 (十)HTML?或者你能告诉我实现类似目标的 Javascript 秘诀吗?

最佳答案

I have found a solution for this problem by working in an entirely different direction. Thankfully, I was already producing the XHTML from XML with an XSLT transform. I wrote another transform file, that went to (believe it or not) XeLaTeX; I wrote a Python script to apply the transform, then called it from a Bash build script (which had to use tail to hack off the first line, which is an XML declaration illegal in XeLaTeX) and then does two passes of compilation to produce the final PDF document with properly paginated footnotes

关于javascript - 如何在 CSS 和 HTML(打印媒体)中正确地对脚注进行分页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7341583/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com