bibtex

Drupal + LaTex = DruTex

<

p>

原来提到过关于 reference 的社会网络,现在搭了一个简单的框架,支持 Endnote 与 Bibtex 格式的引用的import & export,支持社会网络的各项功能(评论,tagging,等等),还在测试阶段,Bibtex的import功能还不是很完全,感兴趣的话可以看看我的这个测试站点。继续改进完善中,不过觉得这个东西的社会化意义价值不大,因为政治学里 LaTex 还不是规范,用到 Bibtex 的人可能还比较少。自然科学的情形要好很多。呵呵,做着玩吧,就当是自己的一个研究工具:)

另外,稍微研究了一下 Drupal 与 LaTex 的整合,其实 Drupal 以及有一个很方便的模块 DrupTex 可以做到这一点。DrupTex 的安装很简单,作为一种输入法出现在 Drupal 中,不过如果想运行 DruTex,服务器端必须安装 Latex,dvipng 和 ImageMagick,另外要对目录有读写权限。我安装了一下,ImageMagick 与读写没有问题,不过 LaTex 与 dvipng 并不是所有的空间服务商都提供的,所以有以下诊断信息:

The temporary directory is writable.

<

p>The image directory is writable.

<

p>Executing "latex" failed. Either LaTeX isn't installed or the "latex" executable is not in one of the search paths.
You cannot render high-quality images without LaTeX.
Mimetex maybe an alternative for you. Consult the documentation on how to use Mimetex.

<

p>Executing "dvipng" failed. Either dvipng isn't installed or the "dvipng" executable is not in one of the search paths.
You cannot use dvipng for rendering images (check the conversion method above).

Executing "convert" (ImageMagick) was successful: Version: ImageMagick 6.3.0 10/18/06 Q16 http://www.imagemagick.org

联系一下空间服务上看看可不可以给安装一下 latex 与 dvipng,如果不行,就只好试一下 mimetex 了。mimetex 其实已经有了支持 Wordpress, MT等的插件,所以其他平台的 blog 可以测试一下。呵呵,Drupal 这里的我在鼓捣一下:)

Blog分类: