TROFF 到 pdf 或 docx 转换?

TROFF 到 pdf 或 docx 转换?

我有部分完成的 TROFF 格式的博士论文(?) - 所以它可以从当时的 UNIX 站进行激光打印。它有一层 Atari 1stWord 封装,可能仍然位于标题处,但本质上是无关紧要的,因为它只是一个在家中使用的文本编辑器 - 远离大学的 Sun 工作站。

谁能帮我将其转换为任何类型的所见即所得格式? pdf?文档?

¬066010303050000132002006006010000
¬1¬¬¬1
¬2¬#¬¬1
¬F0110000001
¬9[............................................................]0010
 Ç
.\" pic
.\" tbl
.\" eqn
.\" roff -ms
.\"
.EQ
delim $$
global
.EN
.ND
.nr PO 1.5i
.nr LL 6.0i
.nr PS 9
.nr VS 18
.fp 1 H
.TL
.ps 14
CHAPTER 7
.AU
.ps 14
KNOWLEDGE ENGINEERING
.PP
.ps 9
.NH
Introduction
.PP
In the previous chapter we outlined a system which may be used to
handle uncertainty in a domain, using probabilities
on a causal network.
In this chapter we will to discuss how the knowledge within
a domain may be acquired and manipulated into the form
of a probabilistic causal network - with specific reference to
the two domains which represent
the process of dating 
timber-framed buildings, using
(i) architectural/historical
and
(ii) dendrochronological evidence.
Our ultimate goal here is to
ascertain, as best we may, the correct date of construction of
vernacular buildings.
As mentioned in Chapter 2,
one of the main problems we face is the resolution of
the potential conflict between
dendrochronological and archaeological predictions for the date of
a building.
If the two
bodies of knowledge produce results which are totally
in agreement, we are left with no other conclusion than that
the predicted date-range/period is the correct one,
however there is rarely complete agreement and this disagreement
may be very difficult to resolve.
.PP
We will derive networks on the two domains and give numerical
 Çexamples of propagation of evidence through these networks,
closing the chapter with a short exposition of
how we may use probabilistic methods in conjunction with
causal networks to resolve this mentioned conflict.
This use of probabilistic methods is contrary
to widely adhered to
notions concerning the unsuitability of this approach - from
the general concerns over the epistemological adequacy of
probabilistic methods in artificial intelligence expressed by
McCarthy and Hayes (1969 p.490), to recent doubts about the implementational
mechanics of probabilistic formalisms to be found in Graham and
Llewelyn-Jones (1988 p.88 et seqq.).

答案1

现在大多数 Linux 都带有Troff 的 GNU 版本

在我的 Linux Mint 系统上,该groff-base软件包已安装,但要通过 gropdf 输出实用程序生成 PDF,groff还需要安装该软件包。在 Solaris 上,您可能需要从源代码安装它,但有关此主题的手册相当稀疏。源码可以从以下地址下载这里

安装后您可以运行:

groff -pet -ms -Tpdf in.troff > out.pdf

(假设您的输入位于in.troff),但您应该删除第一个单词标题内容(在 之前.\" pic),否则您的输出如下所示:

在此输入图像描述

相关内容