将LaTeX用作模板的最佳方法是什么?

时间:2014-10-30 01:24:01

标签: meteor latex

我需要一个具有非常特定格式的PDF文档。我有一个存储在MongoDB中的Meteor 1.0应用程序中的数据。如何使用LaTeX模板代替HTML模板?

我有许多Meteor软件包,我已经重新打包了JS库并编写了完整的软件包。我知道该怎么做。

我不希望使用HTML作为输出,因为我需要输出非常严格。我可以用LaTeX实现这一目标。我不确定的是如何使用LaTeX作为模板,并在处理和最终打印之前将数据注入文档。

1 个答案:

答案 0 :(得分:0)

流星是1.0。

在这个版本上,情况发生了很大变化。您必须选择要使用的包。 根据文件:

Since the parts of the stack integrate seamlessly, if you don't want to think about how it all works, you don't have to. You don't have to understand that the platform is made up of Blaze, Tracker, DDP, Livequery, and Isobuild, or how these pieces fit together. But if you want to dive in and learn how the parts work, you can do that too, because they are independent projects.

因此,您可以在不使用Blaze的情况下编写流星应用程序代码。有关详细信息,请访问meteor网站:https://www.meteor.com/projects

如果您想使用Blaze(正常选择),您可以更好地了解它https://docs.meteor.com/#/full/blaze

您可以将现有的LaTeX转换为HTML转换并动态创建模板。