⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 898.html

📁 著名的linux英雄站点的文档打包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
          <TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=103 
          border=0></TD>
          <TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=26 
border=0></TD>
          <TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1 
        border=0></TD></TR>
        <TR>
          <TD colSpan=3><A title=linux知识宝库 
            href="index.html" tppabs="http://www.linuxhero.com/docs/index.html"><IMG height=83 
            src="images/header_r1_c1.gif" tppabs="http://www.linuxhero.com/docs/images/header_r1_c1.gif" width=472 border=0 
            name=header_r1_c1></A></TD>
            <TD colSpan=3>
              <form action="http://www.linuxhero.com/docs/search.html" method=get>
                <table 
                        style="BORDER-RIGHT: #c4c4c4 1px solid; BORDER-TOP: #c4c4c4 1px solid; BORDER-LEFT: #c4c4c4 1px solid; BORDER-BOTTOM: #c4c4c4 1px solid" 
                        cellspacing=0 cellpadding=3 width="95%" border=0 align="center">
                  <tbody> 
                  <tr> 
                    <td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif"> 
                      <div align=center><font class=normalfont>搜索文章: 
                        <input type=hidden value=result name=action2>
                          <input type=radio checked value=title name=type>标题 
                          <input type=radio value=content name=type>内容 
                          <input type=image src="images/button_go.gif" tppabs="http://www.linuxhero.com/docs/images/button_go.gif" border=0 name=image2>
                        </font></div>
                    </td>
                  </tr>
                  <tr> 
                    <td noWrap> 
                      <div align="center"> 
                        <input maxlength=100 size=30 name=keyword2>
                      </div>
                    </td>
                  </tr></tbody> 
                </table>
              </form>
            </TD>
            <TD rowSpan=2><IMG src="images/header_r1_c7.gif" tppabs="http://www.linuxhero.com/docs/images/header_r1_c7.gif" width=26 border=0 name=header_r1_c7></TD>
          <TD><IMG height=83 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1 border=0></TD></TR>
        <TR>
          <TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif"><IMG height=22 
            src="images/header_r2_c1.gif" tppabs="http://www.linuxhero.com/docs/images/header_r2_c1.gif" width=296 border=0 
            name=header_r2_c1></TD>
          <TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colSpan=5>
              <DIV align=right><FONT class=normalfont>当前位置: 
              <A href="index.html" tppabs="http://www.linuxhero.com/docs/index.html">本站首页</A>
              <font color="#FF6699">&gt;&gt;</font>
<A href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</A>                 | <A href="copyright.html" tppabs="http://www.linuxhero.com/docs/copyright.html">版权说明</A></font></DIV>
            </TD>
          <TD><IMG height=22 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1 
        border=0></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=10 cellPadding=0 width="100%" bgColor=#ffffff 
        border=0>
         <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
              
              <TR>
                <TD vAlign=top align=middle width="60%">
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                  background="images/back.gif" tppabs="http://www.linuxhero.com/docs/images/back.gif" border=0>
                    <TBODY>
                    <TR>
                        <TD vAlign=top width="80%"> 
                          <DIV align=center>
                        <FORM action="search.html" tppabs="http://www.linuxhero.com/docs/search.html" method=get>
                            </FORM>
                        <TABLE cellSpacing=0 cellPadding=0 width="95%" 
                          border=0><TBODY>
                          <TR>
                            <TD background="images/bgi.gif" tppabs="http://www.linuxhero.com/docs/images/bgi.gif" 
                          height=30></TD></TR></TBODY></TABLE>
                        <TABLE cellSpacing=0 cellPadding=3 width="95%" 
                        align=center border=0>
                          <TBODY>
                          <TR>
                            <TD>
                              <TABLE cellSpacing=0 cellPadding=3 width="100%" 
                              border=0>
                                <TBODY>
                                <TR>
                                      <TD vAlign=top> 
<p><FONT class=normalfont><B><font color=blue>安装和使用SGMLtools-Lite打开DocBook的钥匙</font></B></FONT><BR><FONT class=smallfont color=#ff9900>2004-04-23 15:18 pm</FONT><BR><FONT class=normalfont>作者:Joe "Zonker" Brockmeier<br>来自:Linux知识宝库<br>联系方式:无名<br><br>Joe "Zonker" Brockmeier<br>
自由作家<br>
2000 年 10 月<br>
内容:<br>
从源码进行安装<br>
从 RPM 进行安装<br>
安装疑难解答<br>
产生 HTML 输出<br>
产生 PostScript 输出<br>
产生 RTF 输出<br>
产生纯文本输出<br>
将 linuxdoc 转换成 DocBook<br>
参考资料<br>
关于作者<br>
开始将 DocBook 用于文档项目的读者需要一些使用 SGMLtools-Lite 产生有用输出的指南。本文将介绍 SGMLtools-Lite 的安装和使用。您还可以获得有关疑难解答和为联机以及打印媒体定制输出的技巧。<br>
<br>
在我 上一篇有关 DocBook 的文章中,曾介绍过将 DocBook 标记用于文档项目的一些基本知识。然而,以 DocBook 标记文档只是过程的一半。有时候,您可能希望与其它人共享文档,这意味着需要将 DocBook 转换成另一种格式。该过程的第二步是让文档文件通过语法分析器后输出可读的文件格式,例如 HTML、PostScript 或 RTF。本文将指导您使用 SGMLtools-Lite 软件包来达到这一步。<br>
<br>
SGMLtools-Lite 是 SGML 处理软件的 Python 前端。基本上,SGMLtools-Lite 简化了将 DocBook 文档转换成希望分发的一种或几种格式的过程。<br>
<br>
如果您是 linux 用户,那么根据您使用的发行版和在安装期间选择的选项,可能系统上已安装了原始 SGMLtools 包。不过,原始 SGMLtools 项目没有维持多长时间,SGMLtools-Lite 项目成了该项目的接任者。<br>
<br>
SGMLtools-Lite 的安装<br>
SGMLtools-Lite 项目在 Sourceforge 上托管(请参阅本文稍后部分的参考资料)。根据您的需要,可以从那里下载 RPM 或 tar-gzip 压缩的源码。RPM 是针对 Red Hat 6.2 构建的,它也曾在 SuSE linux 上测试过。它们可能不能在其它发行版中正确工作,所以请小心使用。<br>
<br>
安装 SGMLtools-Lite 之前<br>
不幸的是,SGMLtools-Lite 没有包括您需要的所有文件。还需要安装其它三个包 - SGML ISO 实体声明以及 DocBook DTD 和 DSSSL 样式表。大多数发行版都具有带有这些文件的包;有关链接,请参阅参考资料。<br>
<br>
从源码进行安装<br>
要从源码安装 SGMLtools-Lite,将 sgmltools-lite-3.0.0.tar.gz 文件复制到一个空的目录中,在那里展开它,然后将目录更改到新的 sgmltools-lite-3.0.0 目录:<br>
<br>
tar -zxvf sgmltools-lite-3.0.0.tar.gz<br>
cd sgmltools-lite-3.0.0/<br>
<br>
在执行任何其它操作之前,检查 sgmltools-lite-3.0.0 目录中是否有 "config.cache" 文件。如果有,在运行配置之前将它除去。如果文件在配置 make 时出现,可能会导致问题。<br>
<br>
rm config.cache<br>
../configure<br>
make<br>
make install<br>
<br>
到目前为止应该就是这些。要查看是否安装了 SGMLtools-Lite,运行以下命令:<br>
<br>
sgmltools --help<br>
<br>
如果已正确安装和配置了 SGMLtools-Lite,您应该看到以下消息:<br>
<br>
SGMLtools version 3.0.0<br>
<br>
Usage:<br>
<br>
  sgmltools [OPTION...] [INPUT-FILE...]<br>
<br>
Convert SGML files into various output formats.<br>
<br>
Options:<br>
  -v  --verbose         Print verbose output<br>
  -d  --debug           Do not remove temporary files<br>
  -b: --backend=        Backend to use<br>
  -j: --jade-opt=       Options passed on to jade<br>
  -s: --dsssl-spec=     DSSSL spec to use<br>
  -V  --version         Print version number and exit<br>
  -h  --help            Print usage and exit<br>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -