📄 typography.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content= "application/xhtml+xml; charset=iso-8859-1" /> <title> 4. Typography </title> <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" /> <link rel="stylesheet" href="../stylesheets/lfs-print.css" type= "text/css" media="print" /> </head> <body id="lfs" class="CLFS-SVN-20060417-MIPS"> <div class="navheader"> <div class="headertitles"> <h4> Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS </h4> <h3> Preface </h3> </div> <ul class="headerlinks"> <li class="prev"> <a accesskey="p" href="prerequisites.html" title= "Prerequisites">Prev</a> <p> Prerequisites </p> </li> <li class="next"> <a accesskey="n" href="organization.html" title= "Structure">Next</a> <p> Structure </p> </li> <li class="up"> <a accesskey="u" href="preface.html" title="Preface">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS"> Home</a> </li> </ul> </div> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <h1 class="sect1"> 4. Typography </h1> </div> <p> To make things easier to follow, there are a few typographical conventions used throughout this book. This section contains some examples of the typographical format found throughout Linux From Scratch. </p> <pre class="userinput"><kbd class="command">./configure --prefix=/usr</kbd></pre> <p> This form of text is designed to be typed exactly as seen unless otherwise noted in the surrounding text. It is also used in the explanation sections to identify which of the commands is being referenced. </p> <pre class="screen"><tt class="computeroutput">install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</tt></pre> <p> This form of text (fixed-width text) shows screen output, probably as the result of commands issued. This format is also used to show filenames, such as <tt class="filename">/etc/ld.so.conf</tt>. </p> <p> <span class="emphasis"><em>Emphasis</em></span> </p> <p> This form of text is used for several purposes in the book. Its main purpose is to emphasize important points or items. </p> <p> <a href= "http://www.linuxfromscratch.org/"><i>http://www.linuxfromscratch.org/</i></a> </p> <p> This format is used for hyperlinks, both within the LFS community and to external pages. It includes HOWTOs, download locations, and websites. </p> <pre class="userinput"><kbd class="command">cat > $LFS/etc/group << "EOF"<tt class="literal">root:x:0:bin:x:1:......</tt>EOF</kbd></pre> <p> This format is used when creating configuration files. The first command tells the system to create the file <tt class= "filename">$LFS/etc/group</tt> from whatever is typed on the following lines until the sequence end of file (EOF) is encountered. Therefore, this entire section is generally typed as seen. </p> <p> <em class="replaceable"><tt>[REPLACED TEXT]</tt></em> </p> <p> This format is used to encapsulate text that is not to be typed as seen or copied-and-pasted. </p> <p> <tt class="filename">passwd(5)</tt> </p> <p> This format is used to refer to a specific manual page (hereinafter referred to simply as a “<span class="quote">man</span>” page). The number inside parentheses indicates a specific section inside of <span><strong class="command">man</strong></span>. For example, <span><strong class="command">passwd</strong></span> has two man pages. Per LFS installation instructions, those two man pages will be located at <tt class= "filename">/usr/share/man/man1/passwd.1</tt> and <tt class= "filename">/usr/share/man/man5/passwd.5</tt>. Both man pages have different information in them. When the book uses <tt class= "filename">passwd(5)</tt> it is specifically referring to <tt class= "filename">/usr/share/man/man5/passwd.5</tt>. <span><strong class= "command">man passwd</strong></span> will print the first man page it finds that matches “<span class="quote">passwd</span>”, which will be <tt class="filename">/usr/share/man/man1/passwd.1</tt>. For this example, you will need to run <span><strong class= "command">man 5 passwd</strong></span> in order to read the specific page being referred to. It should be noted that most man pages do not have duplicate page names in different sections. Therefore, <span><strong class="command">man <em class= "replaceable"><tt>[program name]</tt></em></strong></span> is generally sufficient. </p> </div> <div class="navfooter"> <ul> <li class="prev"> <a accesskey="p" href="prerequisites.html" title= "Prerequisites">Prev</a> <p> Prerequisites </p> </li> <li class="next"> <a accesskey="n" href="organization.html" title= "Structure">Next</a> <p> Structure </p> </li> <li class="up"> <a accesskey="u" href="preface.html" title="Preface">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS"> Home</a>. </li> </ul> </div> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -