diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/tex4ht/mn16.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/tex4ht/mn16.html | 219 |
1 files changed, 119 insertions, 100 deletions
diff --git a/Master/texmf-dist/doc/generic/tex4ht/mn16.html b/Master/texmf-dist/doc/generic/tex4ht/mn16.html index 991bd2b5351..2809007f393 100644 --- a/Master/texmf-dist/doc/generic/tex4ht/mn16.html +++ b/Master/texmf-dist/doc/generic/tex4ht/mn16.html @@ -1,118 +1,137 @@ <?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "xhtml1-transitional.dtd"> + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--> <html xmlns="http://www.w3.org/1999/xhtml" > <head><title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -<meta name="generator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> -<meta name="originator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> +<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)" /> +<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)" /> <!-- xhtml,th4,index --> <meta name="src" content="mn.tex" /> -<meta name="date" content="2004-02-11 18:07:00" /> <link rel="stylesheet" type="text/css" href="mn.css" /> </head><body > -<!--l. 3471--><p class="noindent"><a - href="mn6.html#mn16-1" name="mn16-1" >1</a>. <span -class="cmtt-10">\Css{</span><span -class="cmti-10">content</span><span +<!--l. 5667--><p class="noindent" ><a + href="mn11.html#mn16-1" name="mn16-1" >1</a>. <a + name="index16-57004"></a><span +class="cmtt-10">\ConfigureList{</span><span +class="cmti-10">list-name</span><span +class="cmtt-10">} {</span><span +class="cmti-10">before-list</span><span +class="cmtt-10">} {</span><span +class="cmti-10">after-list</span><span +class="cmtt-10">} {</span><span +class="cmti-10">before-label</span><span +class="cmtt-10">} {</span><span +class="cmti-10">after-label</span><span class="cmtt-10">}</span> -</p><!--l. 3473--><p class="indent"> This command sends its content to the CSS file of the document. -</p><hr /> -<!--l. 3480--><p class="noindent"><a - href="mn6.html#mn16-2" name="mn16-2" >2</a>. <a - name="index16-31003"></a><span -class="cmtt-10">\Css </span><span -class="cmti-10">content</span><span -class="cmtt-10">\EndCss</span> -</p><!--l. 3482--><p class="indent"> This command introduces the specified content, at the location of the command as an inline CSS code -fragment. The content should not start with the left brace character ‘<span -class="cmtt-10">{</span>’. +</p><!--l. 5669--><p class="indent" > <a + name="index16-57005"></a> <a + name="index16-57006"></a>Environments that directly or indirectly are built on top of the ‘<span +class="cmtt-10">\begin{list}...\end{list}</span>’ and +‘<span +class="cmtt-10">\begin{trivlist}...\end{trivlist}</span>’ environments, inherit the appearances of these base environments. The +<span +class="cmtt-10">\ConfigureList </span>command may be used to change the default configuration. + </p><div class="ShowCode"> + <br /> <span +class="cmtt-10">\ConfigureList</span> <span +class="cmtt-10">{description}</span> + <br /> <span +class="cmtt-10">{}</span> + <br /> <span +class="cmtt-10">{\HCode{<hr</span> <span +class="cmtt-10">/>}}</span> + <br /> <span +class="cmtt-10">{\HCode{<hr</span> <span +class="cmtt-10">/><strong>}}</span> + <br /> <span +class="cmtt-10">{\HCode{</strong>}}</span> +</div> + <a + name="index16-57007"></a> <a + name="index16-57008"></a> <a + name="index16-57009"></a>The ‘<span +class="cmtt-10">description</span>’, ‘<span +class="cmtt-10">itemize</span>’, and ‘<span +class="cmtt-10">enumerate</span>’ environments are the more obvious extensions of the ‘<span +class="cmtt-10">list</span>’ +and ‘<span +class="cmtt-10">trivlist</span>’ environments. +<!--l. 5694--><p class="indent" > <a + name="index16-57010"></a> <a + name="index16-57011"></a> <a + name="index16-57012"></a> <a + name="index16-57013"></a> <a + name="index16-57014"></a>The ‘<span +class="cmtt-10">verse</span>’, ‘<span +class="cmtt-10">quotation</span>’, ‘<span +class="cmtt-10">quote</span>’, ‘<span +class="cmtt-10">center</span>’, ‘<span +class="cmtt-10">flushleft</span>’, and ‘<span +class="cmtt-10">flushright</span>’ are examples of non obvious +extensions. The latter extensions are made up in LaTeX from a single-item lists, to get the appearance of displayed +paragraphs. </p><hr /> -<!--l. 3492--><p class="noindent"><a - href="mn6.html#mn16-3" name="mn16-3" >3</a>. <a - name="index16-31005"></a><span -class="cmtt-10">\CssFile[</span><span -class="cmti-10">list-of-css-files</span><span -class="cmtt-10">]</span><span -class="cmti-10">content</span><span -class="cmtt-10">\EndCssFile</span> -</p><!--l. 3494--><p class="indent"> The default CSS file TeX4ht produces is initially a file consisting just of a single line of the form ‘<span -class="cmtt-10">/* css.sty</span> +<!--l. 5713--><p class="noindent" ><a + href="mn11.html#mn16-2" name="mn16-2" >2</a>. <a + name="index16-57016"></a><span +class="cmtt-10">\ConfigureEnv{</span><span +class="cmti-10">environment-name</span><span +class="cmtt-10">} {</span><span +class="cmti-10">before-environment</span><span +class="cmtt-10">} {</span><span +class="cmti-10">after-environment</span><span +class="cmtt-10">} {</span><span +class="cmti-10">before-list</span><span +class="cmtt-10">} {</span><span +class="cmti-10">after-list</span><span +class="cmtt-10">}</span> +</p><!--l. 5715--><p class="indent" > If either <span +class="cmti-10">before-environment </span>or <span +class="cmti-10">after-environment </span>is not empty, then these parameters specify insertions that +should be placed before and after the specified environment. + </p><div class="ShowCode"> + <br /> <span +class="cmtt-10">\ConfigureEnv</span> <span +class="cmtt-10">{tabular}</span> + <br /> <span +class="cmtt-10">{\HCode{<hr</span> <span +class="cmtt-10">/>}}</span> <span +class="cmtt-10">{\HCode{<hr</span> <span +class="cmtt-10">/>}}</span> + <br /> <span +class="cmtt-10">{}</span> <span +class="cmtt-10">{}</span> +</div> + If the parameter <span +class="cmti-10">before-list </span>or the parameter <span +class="cmti-10">after-list </span>is not empty, a call is made to <span +class="cmtt-10">\</span><span +class="cmbx-10">ConfigureList</span> <span -class="cmtt-10">*/</span>’. That line is later replaced with the code submitted by the ‘<span -class="cmtt-10">\Css{...}</span>’ commands. -</p><!--l. 3498--><p class="indent"> The current command allows to specify an alternative to the initial CSS file. The alternative file consists of the -code loaded from listed files, and of the content explicitly specified in its body. -</p><div class="Verbatim"><span -class="cmtt-10"> </span><span -class="cmtt-10"> \ConfigureList{mylist}</span><span -class="cmtt-10"> </span> -<br /><span -class="cmtt-10"> </span><span -class="cmtt-10"> </span><span -class="cmtt-10"> </span><span -class="cmtt-10"> {\HCode{<div</span><span -class="cmtt-10"> class="mylist">}}</span><span -class="cmtt-10"> {\HCode{</div>}}</span><span -class="cmtt-10"> {*</span><span -class="cmtt-10"> }{}</span><span -class="cmtt-10"> </span> -<br /><span -class="cmtt-10"> </span> -<br /><span -class="cmtt-10">\begin{document}</span><span -class="cmtt-10"> </span> -<br /><span -class="cmtt-10"> </span> -<br /><span -class="cmtt-10"> </span><span -class="cmtt-10"> \HCode{<!--created</span><span -class="cmtt-10"> by</span><span -class="cmtt-10"> me-->}</span><span -class="cmtt-10"> </span> -<br /><span -class="cmtt-10"> </span><span -class="cmtt-10"> \CssFile</span><span -class="cmtt-10"> </span> -<br /><span -class="cmtt-10"> </span><span -class="cmtt-10"> </span><span -class="cmtt-10"> </span><span -class="cmtt-10"> </span><span -class="cmtt-10"> /*</span><span -class="cmtt-10"> css.sty</span><span -class="cmtt-10"> */</span><span -class="cmtt-10"> </span> -<br /><span -class="cmtt-10"> </span><span -class="cmtt-10"> </span><span -class="cmtt-10"> </span><span -class="cmtt-10"> </span><span -class="cmtt-10"> .mylist</span><span -class="cmtt-10"> {</span><span -class="cmtt-10"> color</span><span -class="cmtt-10"> :</span><span -class="cmtt-10"> red;</span><span -class="cmtt-10"> }</span><span -class="cmtt-10"> </span> -<br /><span -class="cmtt-10"> </span><span -class="cmtt-10"> \EndCssFile</span><span -class="cmtt-10"> </span> -<br /></div> -<!--l. 3520--><p class="indent"> The names in the list of files should be separated by commas, and the rectangular brackets are optional when -the list is empty. -</p><!--l. 3523--><p class="indent"> The file should include a line having the content of ‘<span -class="cmtt-10">/* css.sty */</span>’. If more than one such line is included, the -content of the ‘<span -class="cmtt-10">\Css{...}</span>’ commands replace the first occurrence of this line. Arbitrary many space characters may -appear around the substrings ‘<span -class="cmtt-10">/*</span>’ and ‘<span -class="cmtt-10">*/</span>’. -</p> +class="cmtt-10">{</span><span +class="cmti-10">list-name</span><span +class="cmtt-10">} {</span><span +class="cmti-10">before-list</span><span +class="cmtt-10">} {</span><span +class="cmti-10">before-label</span><span +class="cmtt-10">} {} {} </span>for configuring the base-list of the environment. + <div class="ShowCode"> + <br /> <span +class="cmtt-10">\ConfigureEnv</span> <span +class="cmtt-10">{flushright}</span> + <br /> <span +class="cmtt-10">{\HCode{<div</span> <span +class="cmtt-10">class="flushright">}}</span> + <br /> <span +class="cmtt-10">{\HCode{</div>}}</span> + <br /> <span +class="cmtt-10">{\HCode{<h2>}}</span> <span +class="cmtt-10">{\HCode{</h2>}}</span> +</div> </body></html> |