题库试卷导出 docx 系列问题,求交流

2018-07-24 15:36:33 +08:00
 anai1943

大致需求

解决方案

未解决

求助

2817 次点击
所在节点    程序员
5 条回复
anai1943
2018-07-24 15:47:16 +08:00
## 附 (题目录入的 html 片段)

* 数学题,含 latex 公式

```
<p>一、选择题(本大题共 12 小题,共 60 分)</p>
<p>1、 集合\(A=\{x||x|\leqslant 2,x∈N^{*}\}\),\(B=\{y|y=x^{2},x∈R\}\),则\(A∩B=(\)  \()\)</p>
<table>
<tr>
<td><p>A. \(\{x|x\geqslant 0\}\)</p></td>
<td><p>B. \(\{x|x\geqslant 1\}\)</p></td>
<td><p>C. \(\{1,2\}\)</p></td>
<td><p>D. \(\{0,1,2\}\)</p></td>
</tr>
</table>
```

* 语文题,含着重号,html 结构采用背景图来处理显示
```
下列各句中加点成语的运用,全部正确的一项是(  )
<br><bdo data-type="emphasis" style="background: url(./point.png) no-repeat center bottom;padding-bottom: 4px;">危</bdo>
①在奥运会和残奥会期间,面对恐怖分子的
<bdo data-type="emphasis" style="background: url(./point.png) no-repeat center bottom;padding-bottom: 4px;">言</bdo>
<bdo data-type="emphasis" style="background: url(./point.png) no-repeat center bottom;padding-bottom: 4px;">危</bdo>
<bdo data-type="emphasis" style="background: url(./point.png) no-repeat center bottom;padding-bottom: 4px;">行</bdo>,巴西将调动 4.7 万名军人参与反恐、关键基础设施的安保、维持治安和接待外国元首。
<br>②家庭和学校要在教育的各个环节保护孩子的好奇心
```
panpanpan
2018-07-24 16:34:14 +08:00
如果只是为了打印建议用 html to pdf,chrome 可以很好地帮你解决样式问题。
liuzuo
2018-07-24 17:08:46 +08:00
@panpanpan 赞同,打印时导出 pdf
rankrank
2019-03-29 17:14:50 +08:00
楼主你好,我也遇到同样的问题,方便交流一下吗? email: master.yxp#gmail.com
bylh
2020-05-17 22:06:53 +08:00
我现在也是这一套,改特殊样式只能把 docx 解压改 xml, 然后再压缩回去,问下你现在有新的方案了吗,可否交流下

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/473703

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX