MMD2PDF

Submit command line tools that you find here.
Message
Author
Legobas
Posts: 11
Joined: Wed Jan 31, 2007 5:31 am

MMD2PDF

#1 Post by Legobas »

MultiMarkDown to PDF Converter
http://code.google.com/p/mmd2pdf

MMD2PDF, a command line utility, converts MultiMarkDown text files to PDF documents, adding a few extra's like options to include webpages and support for page-breaks.
It is a portable utility, it will leave no traces in registry or on your file system.

MMD2PDF can handle a file list so it can be used to create a book in MultiMarkdown. It has also support for different styles (using css) and can store its settings in a .ini file in the same directory as the text file(s). This way you can create PDF's with different styles i.e. in different colors or for presentations (PDF slides).

Markdown is a text formatting syntax inspired on plain text email.

In the words of its creator, John Gruber:
The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.
Markdown allows you to write using plain text, without a lot of markup or effort, and then export your writing as HTML. So instead of creating H tags, you can do just this:

Code: Select all

# This is a Header 1
## This is a Header 2
To create emphasis, text is wrapped with one or two asterisks or underlines: Here is some *emphasis*. Here is more **emphasis**. You want to create a new paragraph? Just add a blank line. There are also ways to create lists, links, add images, and so forth.

MultiMarkdown is an extension of Markdown, adding features that let you quickly create tables, footnotes and citations, metadata, definition lists, and more.

Download: http://code.google.com/p/mmd2pdf/downloads/list
Last edited by Legobas on Sun Nov 20, 2011 12:53 pm, edited 2 times in total.

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: MMD2PDF

#2 Post by webfork »


Legobas
Posts: 11
Joined: Wed Jan 31, 2007 5:31 am

Re: MMD2PDF

#3 Post by Legobas »

For anyone who wants to know more about (Multi)Markdown:
http://fletcherpenney.net/multimarkdown

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: MMD2PDF

#4 Post by webfork »

Legobas wrote:For anyone who wants to know more about (Multi)Markdown:
http://fletcherpenney.net/multimarkdown
Yes, that explanation is much better.

Its a very cool idea, although I do wish they already had a converter / output tool for MediaWiki (for Wikipedia) and phpBB (for this site). Hopefully that will come along soon.

Legobas
Posts: 11
Joined: Wed Jan 31, 2007 5:31 am

Re: MMD2PDF

#5 Post by Legobas »

A new version (V0.4) is available, includes MultiMarkdown 3.5.

I added it to the database: http://www.portablefreeware.com/index.php?id=2226.
Could someone please check it out?

User avatar
Midas
Posts: 6710
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: MMD2PDF

#6 Post by Midas »

Old topic update: MMD2PDF is currently at v0.7 Beta (release dated 2013-10-29).

MM2PDF makes for an interesting alternative to Pandoc, since the later requires an additional TeX engine to output to PDF -- there's a MiKTeX portable package, but that's over 145 MB compressed...

As its name implies, MMD2PDF can output to PDF out of the box and it only takes around 14 MB uncompressed (which includes portable PDF viewer Sumatra PDF v2.4 and CLI HTML converter wkhtmltopdf v0.9.9).

@Webfork: I'm suggesting that the present topic be moved to the Resources and Links Forum. TiA. :)

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: MMD2PDF

#7 Post by webfork »

Midas wrote:...the present topic be moved to the Resources and Links Forum
Good call. Topic moved.

Legobas
Posts: 11
Joined: Wed Jan 31, 2007 5:31 am

Re: MMD2PDF

#8 Post by Legobas »

MMD2PDF is still marked as private, I don't have the rights to make i public.

Could anyone please make it public?
http://www.portablefreeware.com/index.php?id=2226

Thank you!

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: MMD2PDF

#9 Post by guinness »

The only way it will become public is if people vote for it and given the fact it's a commandline utility (see FAQ) it's something that shouldn't be in the DB.

User avatar
Midas
Posts: 6710
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: MMD2PDF

#10 Post by Midas »

:arrow: ... and here's the relevant FAQ pointer: Why don't you accept command-line apps?

Legobas
Posts: 11
Joined: Wed Jan 31, 2007 5:31 am

Re: MMD2PDF

#11 Post by Legobas »

Actually it's not a command-line application anymore!

It mmd2pdf is launched it will let you select a markdown document.

But it is still possible to use it from within a text editor.

User avatar
Craunch
Posts: 54
Joined: Tue Jul 03, 2012 5:27 am
Location: UK

Re: MMD2PDF

#12 Post by Craunch »

mmd2pdf is now at version 0.9 beta.

mmd2pdf is not simply a command-line app. Double clicking the mmd2pdf_x64.exe or mmd2pdf.exe brings up a windows explorer file-selector window. Files selected there are silently concatenated into a single .pdf file. Whether this is enough to remove its taint as a command-line app, I don't know, but I do think that the great and the good members of this site should take another look at its status.

I am very tempted to up-vote mmd2pdf even though there is a note that says not to because it is a command-line app. You need to convince me that that is still true.

User avatar
Midas
Posts: 6710
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: MMD2PDF

#13 Post by Midas »

Craunch wrote:mmd2pdf is now at version 0.9 beta.
  • @Craunch: as the proposer of MMD2PDF's move here, I will not stand in your way... :|

    Yet, I still think it's in more appropriate company here... :)

User avatar
Midas
Posts: 6710
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: MMD2PDF

#14 Post by Midas »

NOTE: included with MMD2PDF, released 2013-12-13, is a version of wkhtmltopdf which is also v0.9.9 and might (or not, I really don't know) be prone to the Heartbleed bug (see http://www.portablefreeware.com/forums/ ... hp?t=21414); according to wkhtmltopdf downloads page (http://wkhtmltopdf.org/downloads.html), only the development v0.12.1-rc is exempt from it.
@ http://www.portablefreeware.com/forums/viewtopic.php?p=44186#p44186, webfork wrote:I do wish they already had a converter / output tool for MediaWiki (for Wikipedia) and phpBB (for this site).

User avatar
Midas
Posts: 6710
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: CommonMark

#15 Post by Midas »

FYI, a recently founded ad-hoc committee (where John McFarlane, creator of above mentioned Pandoc, displays prominently) has come up with a specification for Markdown, aptly named CommonMark.

Post Reply