When you use the command, it spits out lots of <span class="text text_tex text_tex_latex"> things, but the CSS definitions only seems to come when you do a full document.<br><br>If you look at the command definition, this is right in there: :include_css => !ENV.has_key?('TM_SELECTED_TEXT')
<br><br>My guess is that this is so you can more easily paste different chunks into one bigger document. If you want to always include the css, just change that to :include_css => true. Or if you'd rather leave it as-is, just paste what you wanted into a new document before HTML-izing it.
<br><br><br><div><span class="gmail_quote">On 5/22/07, <b class="gmail_sendername">Jacob Rus</b> <<a href="mailto:jacobolus@gmail.com">jacobolus@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Juan Falgueras wrote:<br>> ....but, why it doesn't colour when you give it selections? ehmmm<br>><br>> I usually need to cut functions, etc...<br>><br>> but anyway the Brad Choate solution is much much better than the
<br>> enscript one. Thanks<br>><br>> Is there some trick for make B. Choate script to colour portions of text?<br><br>You're going to have to explain what you're having trouble with. I have<br>no trouble turning selections to html with that command...
<br><br>-Jacob<br><br><br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)
<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br>