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

标签 javascript html css printing pagination

当使用 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/

相关文章:

javascript - MQTT 作为集中式通信协议(protocol)

javascript - 查找满足条件的数组的所有实例,而不仅仅是第一个

javascript - 使 JavaScript 提示文本只读

html - 如何使用 Pandoc 将带有数字的 DOCX 文件转换为使用 base64 的独立 HTML 文件?

javascript - 如何在背景图片下添加背景颜色?

html - 指向 Bootstrap 模式打开的 anchor

javascript - 使用 jquery 或其他 javascript 在指定的时间间隔内更改网格中的图像

css - 960 网格和 compass

javascript - Vue - 如何绘制波形

html - IE8 不透明度 activex 问题