Hi, I have the trial of textmate and I'm trying to generate PDF from a simple markdown document.
I installed htmldoc from here:
http://www.brothersoft.com/htmldoc-for-mac-download-200361.html
I have all bundled synched against svn.
When I try to generate the PDF from markdown, I get:
ERROR: Unable to install license: Bad license characterPlease enter your license key of the form AB34-AB34-AB34-AB34: The file /tmp/untitled.pdf does not exist.
How can I fix this?
Thanks, David
David Watson davidthewatson@gmail.com http://davidwatson.org/
That's not a Multimarkdown issue - there is no licensing...
What is htmldoc? Is it an htmldoc issue?
F-
On 8/12/09 11:59 AM, David Watson wrote:
Hi,
I have the trial of textmate and I'm trying to generate PDF from a simple markdown document.
I installed htmldoc from here:
http://www.brothersoft.com/htmldoc-for-mac-download-200361.html
I have all bundled synched against svn.
When I try to generate the PDF from markdown, I get:
ERROR: Unable to install license: Bad license characterPlease enter your license key of the form AB34-AB34-AB34-AB34: The file /tmp/untitled.pdf does not exist.
How can I fix this?
Thanks, David
David Watson davidthewatson@gmail.com mailto:davidthewatson@gmail.com http://davidwatson.org/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi,
I installed htmldoc from here: http://www.brothersoft.com/htmldoc-for-mac-download-200361.html
That download site makes the hair on the back of my neck stand up. I would not use anything I downloaded from there: http://www.siteadvisor.com/sites/brothersoft.com
I have all bundled synched against svn. When I try to generate the PDF from markdown, I get: ERROR: Unable to install license: Bad license characterPlease enter your license key of the form AB34-AB34-AB34-AB34: The file /tmp/untitled.pdf does not exist. How can I fix this?
Acquire the software and an appropriate license key from its authors: http://www.easysw.com/htmldoc/
HTH,
Geoff
But as Fletcher pointed out, HTMLDOC is not needed for multimarkdown or markdown .....
Christopher
On 12 Aug 2009, at 18:31, Geoff Beier wrote:
Hi,
I installed htmldoc from here: http://www.brothersoft.com/htmldoc-for-mac-download-200361.html
That download site makes the hair on the back of my neck stand up. I would not use anything I downloaded from there: http://www.siteadvisor.com/sites/brothersoft.com
I have all bundled synched against svn. When I try to generate the PDF from markdown, I get: ERROR: Unable to install license: Bad license characterPlease enter your license key of the form AB34-AB34-AB34-AB34: The file /tmp/ untitled.pdf does not exist. How can I fix this?
Acquire the software and an appropriate license key from its authors: http://www.easysw.com/htmldoc/
HTH,
Geoff
_______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Wed, Aug 12, 2009 at 12:58 PM, Christopher Brewster cbrewster@gmail.comwrote:
But as Fletcher pointed out, HTMLDOC is not needed for multimarkdown or markdown .....
Christopher
Christopher,
You do realize that I referred to multimarkdown because that's where PDF generation lives in the textmate menus? I was just trying to set context.
htmldoc _is_ a requirement for PDF generation.
The macports version of htmldoc works so I would suggest it be documented somewhere. I didn't seem to find anything when I did google searches around these terms and clearly there's a whole host of issues with these broken htmldoc builds.
-david
As the author of MultiMarkdown, and having generated countless PDF's from plain text and HTML, and not having the faintest clue what HTMLDOC is, I can guarantee you that htmldoc _is not_ a requirement for PDF generation when using Multimarkdown.
The PDF commands in TextMate that are associated with MMD do not require htmldoc.
I don't know what htmldoc is. Looking at the website, and looking at the PDF version of their manual, it looks like the output it generates is of a different quality level and approach than the approach used by MMD.
MMD converts HTML into LaTeX, and then uses the LaTeX to generate a PDF. It's somewhat complicated, and requires that latex be installed on your computer, but the quality of the output is top-notch (and that's boasting on LaTeX, not MMD - I can't take credit in the least for the quality that LaTeX generates)
F-
On 8/12/09 5:09 PM, David Watson wrote:
On Wed, Aug 12, 2009 at 12:58 PM, Christopher Brewster <cbrewster@gmail.com mailto:cbrewster@gmail.com> wrote:
But as Fletcher pointed out, HTMLDOC is not needed for multimarkdown or markdown ..... Christopher
Christopher,
You do realize that I referred to multimarkdown because that's where PDF generation lives in the textmate menus? I was just trying to set context.
htmldoc _is_ a requirement for PDF generation.
The macports version of htmldoc works so I would suggest it be documented somewhere. I didn't seem to find anything when I did google searches around these terms and clearly there's a whole host of issues with these broken htmldoc builds.
-david
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Wed, Aug 12, 2009 at 5:22 PM, Fletcher T. Penney < fletcher@fletcherpenney.net> wrote:
As the author of MultiMarkdown, and having generated countless PDF's from plain text and HTML, and not having the faintest clue what HTMLDOC is, I can guarantee you that htmldoc _is not_ a requirement for PDF generation when using Multimarkdown.
The PDF commands in TextMate that are associated with MMD do not require htmldoc.
Well, I'm confused, because there's clearly a disconnect between the reality that you're describing and the reality that exists in the markdown bundle on my machine:
david-watsons-macbook-pro:Markdown.tmbundle david$ grep htmldoc * -ir Commands/.svn/text-base/↓↓ Convert Document:Selection to PDF.plist.svn-base:# convert to PDF with htmldoc Commands/.svn/text-base/↓↓ Convert Document:Selection to PDF.plist.svn-base:require_cmd htmldoc Commands/.svn/text-base/↓↓ Convert Document:Selection to PDF.plist.svn-base:htmldoc -f "$DST.pdf" --header "" --footer "" --webpage "$DST.html" Commands/↓↓ Convert Document:Selection to PDF.plist:# convert to PDF with htmldoc Commands/↓↓ Convert Document:Selection to PDF.plist:require_cmd htmldoc Commands/↓↓ Convert Document:Selection to PDF.plist:htmldoc -f "$DST.pdf" --header "" --footer "" --webpage "$DST.html"
Is MMD part of the markdown bundle? Why do these commands invoke htmldoc? I certainly don't believe that I introduced the dependency on htmldoc. I used textmate at several workplaces years ago and recall having a very similar discussion about this then.
Thanks, David
The problem is that the support in the default Markdown bundle for MultiMarkdown sucks, to say the least. Don't get me wrong - I appreciate the effort that went into creating a Markdown bundle, and I was glad to see that MMD was even mentioned. But I could never get it to work. In fact, the original Markdown bundle includes a very outdated copy of MMD.
The command you're referring to in TextMate that uses htmldoc should never have been labeled as a MultiMarkdown feature - it's really a feature that should be compatible with generic Markdown as far as I'm concerned.
MultiMarkdown, as I have released it, has always relied on LaTeX for generating PDF's. That's not to say that there aren't other methods of converting an HTML document (that happened to be generated by MMD) into a PDF. But they have nothing to do with MMD per se.
If htmldoc serves your needs, then by all means use it. If you find that the quality and typography of the output leaves something to be desired, then you might want to explore the option of using MMD to generate LaTeX, and then run pdflatex (or xelatex) to create a PDF of much higher quality.
So, yes - you are correct that the bundle you are using does make it appear that MMD relies on htmldoc, but this is not the case.
F-
On 8/12/09 6:04 PM, David Watson wrote:
On Wed, Aug 12, 2009 at 5:22 PM, Fletcher T. Penney <fletcher@fletcherpenney.net mailto:fletcher@fletcherpenney.net> wrote:
As the author of MultiMarkdown, and having generated countless PDF's from plain text and HTML, and not having the faintest clue what HTMLDOC is, I can guarantee you that htmldoc _is not_ a requirement for PDF generation when using Multimarkdown. The PDF commands in TextMate that are associated with MMD do not require htmldoc.
Well, I'm confused, because there's clearly a disconnect between the reality that you're describing and the reality that exists in the markdown bundle on my machine:
david-watsons-macbook-pro:Markdown.tmbundle david$ grep htmldoc * -ir Commands/.svn/text-base/↓↓ Convert Document:Selection to PDF.plist.svn-base:# convert to PDF with htmldoc Commands/.svn/text-base/↓↓ Convert Document:Selection to PDF.plist.svn-base:require_cmd htmldoc Commands/.svn/text-base/↓↓ Convert Document:Selection to PDF.plist.svn-base:htmldoc -f "$DST.pdf" --header "" --footer "" --webpage "$DST.html" Commands/↓↓ Convert Document:Selection to PDF.plist:# convert to PDF with htmldoc Commands/↓↓ Convert Document:Selection to PDF.plist:require_cmd htmldoc Commands/↓↓ Convert Document:Selection to PDF.plist:htmldoc -f "$DST.pdf" --header "" --footer "" --webpage "$DST.html"
Is MMD part of the markdown bundle? Why do these commands invoke htmldoc? I certainly don't believe that I introduced the dependency on htmldoc. I used textmate at several workplaces years ago and recall having a very similar discussion about this then.
Thanks, David
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Wed, Aug 12, 2009 at 12:31 PM, Geoff Beier geoff@mollyandgeoff.comwrote:
Hi,
I installed htmldoc from here: http://www.brothersoft.com/htmldoc-for-mac-download-200361.html
That download site makes the hair on the back of my neck stand up. I would not use anything I downloaded from there: http://www.siteadvisor.com/sites/brothersoft.com
Yep, unfortunately I realized what was going on long after the download. While they clearly have the right to ask for payment for bundling the dmg, these sites masquerading this stuff as if it's not commercial are bothersome. I didn't see the 20 day freeware license bit until after I installed. I guess I should read those installer texts more carefully but really, who has time?
After I realized my error, I downloaded htmldoc from macports and now it's working great. Thanks.
-david