<div dir="ltr">Hi All,<br><br>Is this possible to generate the .css file based on the customized .cls file not from config file (i.e. \Css {}).
 e.g., environment quote was defined in my class file as:

<pre class="gmail-lang-tex gmail-prettyprint gmail-prettyprinted"><code><span class="gmail-kwd">\newenvironment</span><span class="gmail-pun">{</span><span class="gmail-pln">quote</span><span class="gmail-pun">}</span><span class="gmail-com">%</span><span class="gmail-pln">
               </span><span class="gmail-pun">{</span><span class="gmail-kwd">\list</span><span class="gmail-pun">{}{</span><span class="gmail-kwd">\topsep</span><span class="gmail-pln">9</span><span class="gmail-kwd">\p@\leftmargin\z@\rightmargin\z@</span><span class="gmail-pun">}</span><span class="gmail-com">%</span><span class="gmail-pln">
                </span><span class="gmail-kwd">\small\fontseries</span><span class="gmail-pun">{</span><span class="gmail-pln">b</span><span class="gmail-pun">}</span><span class="gmail-kwd">\selectfont</span><span class="gmail-com">%</span><span class="gmail-pln">
                </span><span class="gmail-kwd">\item\relax\}</span><span class="gmail-com">%</span><span class="gmail-pln">
               </span><span class="gmail-pun">{</span><span class="gmail-kwd">\endlist</span><span class="gmail-pun">}</span><span class="gmail-com">%</span></code></pre>

<p>and I am using the command <code>htlatex test "xhtml,fn-in" "-cunihft" "-cvalidate -p"</code> for HTML conversion and the converted HTML output came is:</p>

<pre class="gmail-lang-tex gmail-prettyprint gmail-prettyprinted"><code><span class="gmail-pln">                    <p class</span><span class="gmail-pun">=</span><span class="gmail-pln">"indent" >
                    <span 
class</span><span class="gmail-pun">=</span><span class="gmail-pln">"ptmr8t-x-x-90">Collusion  is  when  firms  use  history-dependent  strategies  to  sustain</span></p></span></code></pre>

<p>and CSS output is:</p>

<pre class="gmail-lang-tex gmail-prettyprint gmail-prettyprinted"><code><span class="gmail-pln">.quote </span><span class="gmail-pun">{</span><span class="gmail-pln">margin-bottom:</span><span class="gmail-lit">0.25em</span><span class="gmail-pln">; margin-top:</span><span class="gmail-lit">0.25em</span><span class="gmail-pln">; margin-left:</span><span class="gmail-lit">1em</span><span class="gmail-pln">; margin-right:</span><span class="gmail-lit">1em</span><span class="gmail-pln">; text-align:justify;</span><span class="gmail-pun">}</span></code></pre>

<p>means the css output actually not generated from the class (.cls) 
file instead it is from config file (.cfg which is used for tex4ht)</p>

<p>Now the expected output in CSS (for "quote") is:</p>

<pre class="gmail-lang-tex gmail-prettyprint gmail-prettyprinted"><code><span class="gmail-pln">.quote </span><span class="gmail-pun">{</span><span class="gmail-pln">font-size:80</span><span class="gmail-com">%; font-weight: bold;}</span></code></pre>

<p>How can I achieve this? Please suggest...</p></div>