Tag Info

New answers tagged

2

There's a chart here: ISO character entities and their LATEX equivalents by Vidar Bronken Gundersen and Rune Mathisen. Source material is here: http://www.bitjungle.com/isoent/ - including a big XML file with mappings between various formats. The same folks have turned that into a Perl program, available here: http://llg.cubic.org/docs/ent2latex.html (from ...


1

Maybe the simplest is to load xcolor with option svgnames: the svg colour names are the html colours names. So you can write: \begin{mdframed}[linecolor=DarkSeaGreen] text \end{mdframed} To use the HTML hexacimal code, you first have to define your colour: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[svgnames]{xcolor} ...


4

This is clearly a bug in tex4ht support for listings. When you look at generated code, you can see: <!--l. 13--><pre class="listings"><span class="cmtt-10x-x-109"> </span><br /><span class="label"><a id="x1-2r1"></a></span><span class="cmtt-10x-x-109">$</span><span ...


3

I too think this is a great idea! As you suggested fetching the html tags and attributes from documentation, I went to the MDN page and found out they have all that info in a single html page. Based on another question by you, I've applied the same structure to all the tags, and it does work. Took me a while to realize that the order I was declaring each ...


10

For pdf output you can use the minted package. This produces a nicely formatted and coloured PDF file for you. As described in the minted package documentation, you have to install Pygments and run (pdf)latex with the -shell-escape option. To use this approach to produce html you also need to pass the -shell-scape option to htlatex. You can do this using ...



Top 50 recent answers are included