将Html导入Adobe Indesign [英] Importing Html into Adobe Indesign

查看:300
本文介绍了将Html导入Adobe Indesign的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前正在研究报纸的pdf版本,我们有一个.net网站,它捕获要发布的文章,将输入的内容存储为html,因此我们可以保持样式,如粗体,下划线,删除。

一旦将其存储在数据库中,我们计划使用Indesign创建pdf。我们目前已经建立了一个模板,但是当我们生成一个xml文档并导入Indesign时,html标签就写出来了。有没有办法解决这个问题,让Indesign维护标签,就像在html中一样?我们只需要一些简单的,如粗体,三振,下身,中心对齐。



谢谢。 解决方案

您需要将HTML标记转换为CharacterStyles,并在导入时将这些标记应用于XML。

棘手的是CharacterStyles不能像HTML一样套用,所以你需要为每个可能存在的组合创建一个CharacterStyle。或者,您可以使用脚本将样式应用于特定的文本运行。


We are currently working on an pdf version of a newspaper at work, we have a .net website which captures the articles to publish, storing the content entered as html, so we can maintain styles like bold, underline, strike out.

Once this is stored in the database we are planning to use Indesign to create the pdf. We currently we have a template built, but when we generate an xml document and import into Indesign the html tags are just written out. Is there a way around this, to get Indesign to maintain the tags as they would be in html? We just need some simple ones, like bold, strikeout, underling, center align.

Thanks.

解决方案

You'll need to translate the HTML tags into CharacterStyles, and apply those to the XML on import.

The tricky thing is that CharacterStyles can't be applied nested like HTML can, so you need to make a CharacterStyle for each combination that might be present. Or you can apply styles to the specific run of text, with a script.

这篇关于将Html导入Adobe Indesign的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆