使用 OOoWrite,我想添加自定义 html 元素

发布于 2024-08-29 13:19:45 字数 489 浏览 10 评论 0原文

我有 35 页的科学参考文献清单。为了将它们上传到网页,我想

在每个引用之前和之后添加自定义字段。我还想找到斜体文本并在其周围添加

例如,我想要这段

Alouf N., 1973. Biotope et description de Niphargus altagahizi n。 sp.,Amphopode Gammaridé soouterrain du Liban,《国际洞穴学杂志》5:49-61。

看起来像:

Alouf N., 1973. Biotope et description de Niphargus altagahizi名词sp.,Amphopode Gammaridé soouterrain du Liban,国际洞穴学杂志 5:49-61。

有什么建议可以在 OOoWriter 宏或任何其他应用程序中执行此操作吗?

I have 35 pages list of scientific references. In order to upload them to a webpage, I would like to add custom

fields before and after each reference. I would also like to find italicized text and add around it.

For instance, I would like this paragraph

Alouf N., 1973. Biotope et description de Niphargus altagahizi n. sp., Amphipode Gammaridé souterrain du Liban, International Journal of Speleology 5: 49-61.

to look like:

<p class="cite">Alouf N., 1973. Biotope et description de <em>Niphargus altagahizi</em> n. sp., Amphipode Gammaridé souterrain du Liban, International Journal of Speleology 5: 49-61.</p>

Any suggestions how to do this in OOoWriter macros perhaps, or any other application?

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

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

发布评论

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

评论(1

猛虎独行 2024-09-05 13:19:45

不需要宏。我刚刚将文件保存到 .xml 并使用查找/替换来添加所需的标签。感谢 Stack Overflow 提供的提示!

No need for a macro. I have just saved the file to .xml and used Find/Replace to add the desired tags. Thank you Stack Overflow for the tips!

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