[TxMt] HTML and PDF Advice

Mark Eli Kalderon m.kalderon at ucl.ac.uk
Fri May 26 16:26:06 UTC 2006


On 26 May 2006, at 16:17, Jeffrey Robert Spies wrote:

> Hi all,
>
> I would like my CV available in both HTML and PDF formats.  I have  
> a Latex version, but am willing to rewrite it in something like  
> Markdown.  In fact, I tried this, but it seems that the  
> MultiMarkdown Bundle's convert to PDF does not produce the correct  
> output (i.e. **word** should be strong, and not italic).  I would  
> like to know what other people are doing to deal with this multi- 
> format issue, and how you're using Textmate to do it.
>
> Thanks for your time,
>
> Jeff.
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

Dear Jeff,

I just checked it out and I get bold and italic from **word**, but  
only in the convert to PDF command. This suggests that the problem is  
with htmldoc and not MultiMarkdown. Might be worth looking at the  
documentation for htmldoc in case there are missing options that  
would address this.

I tend to not use the convert to PDF command since I prefer the PDFs  
generated from pdflatex. So from a MultiMarkdown document I would  
generate an html and PDF document, the latter through pdflatex.

There are also some decent LaTeX to html converters, if you didn't  
want to rewrite the CV by hand. If any of them generate xhtml, then  
you could use Aaron swartz's script [1] or Andrew Green's [2] to  
generate the Markdown document from that.

All the best, Mark

[1] html2text (The Asciinator) http://www.aaronsw.com/2002/html2text/
[2] XHTML-to-Markdown XSLT http://www.lowerelement.com/Geekery/XML/ 
XHTML-to-Markdown.html

_________________
Mark Eli Kalderon
Department of Philosophy
University College London
Gower Street
London WC1E 6BT

Dept webpage: http://www.ucl.ac.uk/philosophy
Personal wepage: http://www.kalderon.demon.co.uk



More information about the textmate mailing list