如何运行 latex doc.dtx?

如何运行 latex doc.dtx?

我正在学习 LaTeX. 第 12 页,表 1.3:与 LaTeX 一起分发的一些软件包,包含以下内容。

doc 允许 LA TEX 程序的文档。

在 doc.dtx a和 LA TEX Companion 中描述

doc.dtx 的脚注如下:

a此文件应安装在您的系统上,并且您应该能够通过在具有写入权限的任何目录中键入 latex doc.dtx 来获取 dvi 文件。此表中提到的所有其他文件也是如此。

我在 Debian 8.3 上使用 texlive。

当我运行该latex doc.dtx命令时,出现以下错误。

$ latex doc.dtx
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
! I can't find file `doc.dtx'.
<*> doc.dtx

(Press Enter to retry, or Control-D to exit)
Please type another input file name: 
! Emergency stop.
<*> doc.dtx

No pages of output.
Transcript written on texput.log.

我错过了什么?如何成功运行此命令?

$ dpkg -l | grep texlive
ii  texlive                               2014.20141024-2                      all          TeX Live: A decent selection of the TeX Live packages
ii  texlive-base                          2014.20141024-2                      all          TeX Live: Essential programs and files
ii  texlive-binaries                      2014.20140926.35254-6                amd64        Binaries for TeX Live
ii  texlive-extra-utils                   2014.20141024-1                      all          TeX Live: TeX auxiliary programs
ii  texlive-font-utils                    2014.20141024-1                      all          TeX Live: Graphics and font utilities
ii  texlive-fonts-recommended             2014.20141024-2                      all          TeX Live: Recommended fonts
ii  texlive-fonts-recommended-doc         2014.20141024-2                      all          TeX Live: Documentation files for texlive-fonts-recommended
ii  texlive-generic-recommended           2014.20141024-2                      all          TeX Live: Generic recommended packages
ii  texlive-latex-base                    2014.20141024-2                      all          TeX Live: LaTeX fundamental packages
ii  texlive-latex-base-doc                2014.20141024-2                      all          TeX Live: Documentation files for texlive-latex-base
ii  texlive-latex-recommended             2014.20141024-2                      all          TeX Live: LaTeX recommended packages
ii  texlive-latex-recommended-doc         2014.20141024-2                      all          TeX Live: Documentation files for texlive-latex-recommended
ii  texlive-pictures                      2014.20141024-2                      all          TeX Live: Graphics, pictures, diagrams
ii  texlive-pictures-doc                  2014.20141024-2                      all          TeX Live: Documentation files for texlive-pictures
ii  texlive-pstricks                      2014.20141024-1                      all          TeX Live: PSTricks
ii  texlive-pstricks-doc                  2014.20141024-1                      all          TeX Live: Documentation files for texlive-pstricks

相关内容