<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica"><B>De: </B></FONT><FONT class="Apple-style-span" face="Helvetica">Jacob Rus <<A href="mailto:jacobolus@gmail.com">jacobolus@gmail.com</A>></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Verdana; min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Verdana; min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Juan Falgueras wrote:</DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">....but, why it doesn't colour when you give it selections?  ehmmm</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I usually need to cut functions, etc...</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">but anyway the Brad Choate solution is much much better than the enscript one.  Thanks</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is there some trick for make B. Choate script to colour portions of text?</DIV><BR></BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Verdana; min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">You're going to have to explain what you're having trouble with.  I have no trouble turning selections to html with that command...</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 14px/normal Verdana; min-height: 17px; "><BR></DIV></BLOCKQUOTE></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">       </SPAN>Yes.  If you select a slice of your source code like...</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-------</DIV><DIV>int main(){</DIV><DIV>  TpNumero numero;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>  if (LeerCadena(numero)){</DIV><DIV>    cout << "La cadena es correcta: " << numero << endl;</DIV><DIV>    ImprimeDisplay(numero);</DIV><DIV>  }</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>  return 0;</DIV><DIV>}</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--------</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">you get:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">---------</DIV><DIV><pre class="textmate-source"><span class="source source_c++"></DIV><DIV><span class="storage storage_type </DIV><DIV>......</DIV><DIV></span></pre></DIV><DIV>--------</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>without the definitions of styles.. and the the rendering of this html is uncoloured...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You need to select ALL the source text to get the full html with colour styles, etc.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you do so, the generated html starts with all the necessary styles:</DIV><DIV>-------------------</DIV><DIV><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"></DIV><DIV><head></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><title>displayNum.cpp</title></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">    </SPAN><style type="text/css"></DIV><DIV>/* Stylesheet generated from TextMate theme</DIV><DIV> *</DIV><DIV> * VERDE</DIV><DIV> * </DIV><DIV> *</DIV><DIV> */</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/* Mostly to improve view within the TextMate HTML viewer */</DIV><DIV>body {</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">    </SPAN>margin: 0;</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN>padding: 0;</DIV><DIV>}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>pre.textmate-source {</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN>margin: 0;</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN>padding: 0 0 0 2px;</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">  </SPAN>font-family: ProFont, monospace;</DIV><DIV>........</DIV><DIV>---------------</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>