Windows Vista 上的 Miktex

发布于 2024-07-05 08:44:54 字数 366 浏览 5 评论 0原文

我在 Windows Vista Business SP1/32 位上安装 Miktex 时遇到一些问题。 我使用 miktex 2.7、ghostscript 和 texniccenter 1 beta 7.50。 当我使用以下配置文件编译文档时:Latex=>DVI、Latex=>PDF 一切正常; 当我使用配置文件 Latex=>PS 和 Latex=>PS=>PDF 进行编译时,系统崩溃。 该错误将报告到一个窗口中,其中指出:“Dvi-to-Postscript 转换器已停止工作”。 我能做些什么? 我需要 Latex=>PS=>PDF 将我的图像包含到最终的 PDF 中。

提前致谢, 又一个 LaTeX 用户

I have some problems with Miktex installed on Windows Vista Business SP1/32 bit. I use miktex 2.7, ghostscript, and texniccenter 1 beta 7.50. When I compile a document with the following profiles: Latex=>DVI, Latex=>PDF everything works fine; the system crashes when I compile with profiles Latex=>PS and Latex=>PS=>PDF. The error is reported into a window that states: "Dvi-to-Postscript converter has stopped working". What can I do? I need Latex=>PS=>PDF to include my images into the final PDF.

Thanks in advance,
Yet another LaTeX user

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

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

发布评论

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

评论(2

疾风者 2024-07-12 08:44:54

如果您需要的只是图像,您仍然可以直接编译为 PDF。 你只需要有一个PNG或JPG格式的图像,并使用以下代码:

%in the document preamble
\usepackage{graphicx}

%in the document, in the place where you want to put your image
\includegraphics{image_filename_without_extension}

当图像是PNG或JPG文件时(还有更多,我不记得是哪些ATM),你可以使用以下命令编译该文件pdfLaTeX,但不能使用普通的 LaTeX(即您可以生成 PDF,但不能生成 DVI 或 PS)。
当然,通常情况下,如果一切正常,最好有一份 EPS 格式的图像副本,以及另一份 PNG 格式的图像副本,这样您就可以轻松编译为 PDF 和 PS。

希望有帮助。

If everything you need is images, you could still compile directly to PDF. You only need to have an image in PNG or JPG format, and use the following code:

%in the document preamble
\usepackage{graphicx}

%in the document, in the place where you want to put your image
\includegraphics{image_filename_without_extension}

When the image is a PNG or JPG file (there are some more, I don't remember which ones ATM), you can compile the file with pdfLaTeX, but not with the normal LaTeX (i.e. you can produce a PDF, but not DVI or PS).
Of course normally, if everything works fine, it's nice to have one copy of the image in EPS, and another in, say, PNG -- this way you can compile easily both to PDF, and to PS.

Hope that helps.

执手闯天涯 2024-07-12 08:44:54

感谢您的回复。 我已经解决了这个问题:dvi 崩溃了,因为我安装了 Miktex 并启用了用户帐户控制。 我已禁用它,重新安装,现在它可以工作(UAC 仍然禁用)。

Thanks for reply. I have solved the problem: the dvi crashed because I have installed Miktex with the User Account Control enabled. I have disabled it, reinstalled and now it's working (with UAC still disabled).

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