如果你想把文本文档转换成 SGML 以便移植到其他格式,这是个好方法
<!doctype linuxdoc system> <article> <title>Title Goes Here</title> <author> name of author, author's e-mail, etc. </author> <date> version and date </date>
<abstract>
和 </abstract>
标签包裹该段落。<toc>
标签,它代表的是目录。<sect>The Title Of The Chapter并在章节末尾添加
</sect>
标签。注意 : 你不需要输入章节号,这是自动完成的。
<sect1>
标签标记它们的标题,并在节的末尾添加 </sect1>
。<sectn>
和 </sectn>
,其中 n=
2、3 或 4,方法类似。<p>
标签。<it>
和 </it>
标签 (斜体), <bf>
和 </bf>
标签 (粗体), 或 <tt>
和 </tt>
标签 (打字机样式
) 标记它们。This is a four lines list: - first line goes here - second line comes next - yet another one - that's it.你必须将其替换为
This is a four lines list: <itemize> <item>first line goes here <item>second line come next <item>yet another one <item>that's it. </itemize>
<verb> 10 REM Oh my God what's this? 20 REM I thought this had long disappeared! 30 PRINT "I am back to"; 40 PRINT "save the world." 50 INPUT "From whom, do you reckon? ",M$ 60 IF M$="Bill" THEN PRINT "Thou art wise.":GOTO PARADISE 70 ELSE PRINT "You ain't got a clue...":GOTO RICHMOND </verb>