为什么 LaTeX 不将我的甘特图渲染成 pdf
有没有人有关于如何使用乳胶制作甘特图/图表的经验。
今天我尝试了很多个小时,最后它成功地将输出从 pdf 切换到 dvi。 也许有人可以告诉我除了 pst-gantt 和普通的 pstricks 之外还应该包括什么。
它显示 4 个任务有超过 100 个错误。切换到 dvi 后,出现了一个大 0。
我正在使用整个发行版 mitex ..升级到最新版本。愚蠢的是我的错误日志在这台计算机上不可用。但总是同样的错误。我正在使用 pst-gantt,导出丢失的软件包..明天早上将会出现错误
is there anybody out there, with experiences about how to do a gantt-diagram / chart using latex.
I tryed it for a lot of hours today, lastly it worked switching outpout from pdf to dvi.
Maybe someone can tell me what to include, besides pst-gantt, and the normal pstricks stuff.
It showed more than 100 errors for 4 Tasks.. after switching to dvi there was a big 0.
i am using the whole distribution mitex .. upgradet to the newest version. stupidly i have the error log not avaible on this computer. but it was always the same error. i was using pst-gantt, outload missing packages.. hm errors will follow tomorrow morning
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
阅读
pst-gantt
自述文件 看起来这取决于pstricks包
。我相信“ps”是用于后记的,其功能是通过生成 DVI“特殊”命令来实现的;这意味着您无法直接使用 pdflatex 生成输出 pdf。您可以获得PDF输出,但是您必须通过 DVI。要么
源->DVI->PDF
,甚至源->DVI->PS->PDF
。Reading the
pst-gantt
README it looks like this depends on thepstricks
package. I believe that the "ps" is for postscript and the functionality is implemented by generating DVI "special" commands; which means that you can't produce output pdf directly usingpdflatex
. You can get to PDF output, but you must go by way of DVI. Eithersource->DVI->PDF
or evensource->DVI->PS->PDF
.我在使用 pst-gantt 和 pdflatex 时遇到了这个问题。正如其他人指出的那样,您需要通过 DVI,如果您一直使用 pdflatex,这确实很糟糕。
所以我做了一些搜索,发现了 Martin Krumm 编写的这个梦幻般的替代品: http://www.martin -kumm.de/tex_gantt_package.php
I came across this question when having trouble with pst-gantt and pdflatex. As others have pointed out you need to go via DVI, which honestly sucks if you have used pdflatex all the time.
So I did some search, and found this phantastic replacement written by Martin Krumm: http://www.martin-kumm.de/tex_gantt_package.php