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

📄 862-864.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>

<HEAD>

<TITLE>Linux Unleashed, Third Edition:HTML Programming Basics</TITLE>

<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=0672313723//-->

<!--TITLE=Linux Unleashed, Third Edition//-->

<!--AUTHOR=Tim Parker//-->

<!--PUBLISHER=Macmillan Computer Publishing//-->

<!--IMPRINT=Sams//-->

<!--CHAPTER=53//-->

<!--PAGES=862-864//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="859-862.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="864-866.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<H4 ALIGN="LEFT"><A NAME="Heading4"></A><FONT COLOR="#000077">HTML Development on Linux</FONT></H4>

<P>One system that has gained popularity among Linux users is tkWWW. tkWWW is a tool for the Tcl language and its Tk extension for X. tkWWW is a combination of a Web browser and a near-WYSIWYG HTML editor. Although originally UNIX based, tkWWW has been ported to several other platforms, including Windows and Macintosh.

</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Note:&nbsp;&nbsp;</B><BR>tkWWW can be obtained through anonymous FTP to <TT>harbor.ecn.purdue.edu</TT> in the directory <TT>/pub/tcl/extensions</TT>. Copies of Tcl and Tk can be found in several sites depending on the platform required, although most distributions of Linux have Tcl and Tk included in the distribution set. As a starting point, try anonymous FTP to <TT>ftp.aud.alcatel.com</TT> in the directory <TT>tcl/extensions</TT> or check the official Tcl/Tk page at <A HREF="http://www.sunscript.com">http://www.sunscript.com</A>.<HR></FONT>

</BLOCKQUOTE>

<P>When you create a Web page with tkWWW in editor mode, you can then flip modes to browser to see the same page properly formatted. In editor mode, most of the formatting is correct, but the tags are left visible. This makes for fast development of a Web page.

</P>

<P>Unfortunately, tkWWW must rely on Tk for its windowing, which tends to slow things down a bit on average processors. Also, the browser aspect of tkWWW is not impressive, using standard Tk frames. However, as a prototyping tool, tkWWW is very attractive, especially if you know the Tcl language.</P>

<P>Another option is to use an HTML filter. HTML filters are tools that let you take a document produced with any kind of editor including ASCII text editors) and convert the document to HTML. Filters are useful when you work in an editor that has a proprietary format, such as Word.</P>

<P>HTML filters are attractive if you want to continue working in your favorite editor and simply want a utility to convert your document with tags to HTML. Filters tend to be fast and easy to work with, because they take a filename as input and generate an HTML output file. The degree of error checking and reporting varies with the tool.</P>

<P>There are filters available for most types of documents, many of which are available directly for Linux, or as source code that can be recompiled without modification under Linux. Word for Windows and Word for DOS documents can be converted to HTML with the CU_HTML and ANT_HTML extensions mentioned earlier. A few stand-alone conversion utilities have also begun to appear. The utility WPTOHTML converts Word Perfect documents to HTML. WPTOHTML is a set of macros for Word Perfect versions 5.1 and 6.0. The Word Perfect filter can also be used with other word processor formats that Word Perfect can import.</P>

<P>FrameMaker and FrameBuilder documents can be converted to HTML format with the tool FM2HTML. FM2HTML is a set of scripts for converting Frame documents to HTML, while preserving hypertext links and tables. It also handles GIF files without a problem. Because Frame documents are platform independent, Frame documents developed on a PC or Macintosh could be moved to the Linux platform and FM2HTML executed there.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Note:&nbsp;&nbsp;</B><BR>A copy of FM2HTML is available by anonymous FTP from <TT>bang.nta.no</TT> in the directory <TT>/pub</TT>. The UNIX set is called <TT>fm2html.tar.v.0.n.m.Z</TT>.<HR></FONT>

</BLOCKQUOTE>

<P><TT>LaTeX</TT> and <TT>TeX</TT> files can be converted to HTML with several different utilities. There are quite a few Linux-based utilities available, including LATEXTOHTML, which can even handle inline LaTeX equations and links. For simpler documents, the utility VULCANIZE is faster but can&#146;t handle mathematical equations. Both LATEXTOHTML and VULCANIZE are Perl scripts.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Note:&nbsp;&nbsp;</B><BR>LATEXTOHTML is available through anonymous FTP from <TT>ftp.tex.ac.uk</TT> in the directory <TT>pub/archive/support</TT> as the file <TT>latextohtml</TT>. VULCANIZE can be obtained from the Web site <A HREF="http://www.cis.upenn.edu/~mjd/vulcanize.html">http://www.cis.upenn.edu/~mjd/vulcanize.html</A>.<HR></FONT>

</BLOCKQUOTE>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Note:&nbsp;&nbsp;</B><BR>RTFTOHTML is available through <A HREF="http://www.w3.org/hypertext/www/tools/ rtftohtml-2.6.html">http://www.w3.org/hypertext/www/tools/ rtftohtml-2.6.html</A>.<HR></FONT>

</BLOCKQUOTE>

<P>RTFTOHTML is a common utility for converting RTF format documents to HTML. Many word processors handle RTF formats, so an RTF document can be saved from your favorite word processor and then RTFTOHTML run to convert the files.

</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="859-862.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="864-866.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

⌨️ 快捷键说明

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