easiest markdown to PDF conversion
sgbotsford at gmail.com
Wed Feb 29 10:08:46 EST 2012
More info on page breaks:
The w3.org site is the canonical source for web standards. Fair tutorials
on many things too.
At first blush it appears to me that a properly written CSS style sheet
would handle simple headers/footers (including pagination) and TOC.
This changes the flow for MMD to PDF. At present, my understanding is the
it goes MMD ->XLT -> Latex -> PDF.
This would go MMD ->XLT -> HTML -> PDF.
It's not clear to me how the last step could be done from the command line
with most browsers.
Note that support for paged media varies by browser engine. See:
Critically you don't have to support it universally -- if you want
printouts of your web pages, all you need is ONE with reasonable support.
>From that you can easily crank out PDFs. I would suggest for your trials
to test current versions of Opera (presto engine) Chrome (Webkit) Firefox
(Gecko) and internet explorer (Tasman)
Webkit is used by a LOT of browsers. I don;t know how uniform it between
browsers nor how fast development is proceeding.
I would strong suggest making a small sample doc and doing a bunch of
tests. If you are on a Mac, using "Print Preview" will save much paper.
Sherwood of Sherwood's Forests
Sherwood's Forests -- http://Sherwoods-Forests.com
50042 Range Rd 31
Warburg, Alberta T0C 2T0
On Tue, Feb 28, 2012 at 6:14 PM, Sherwood Botsford <sgbotsford at gmail.com>wrote:
> Want web pages and printed output? Take a look at this:
> Sherwood of Sherwood's Forests
> Sherwood Botsford
> Sherwood's Forests -- http://Sherwoods-Forests.com
> 50042 Range Rd 31
> Warburg, Alberta T0C 2T0
> On Tue, Feb 28, 2012 at 9:49 AM, Fletcher Penney <
> fletcher at fletcherpenney.net> wrote:
>> On Feb 27, 2012, at 9:07 PM, David Sanson wrote:
>> > I assume MMD composer offers a built-in way to do this, but I'm not a
>> user, so I'm not sure.
>> Composer doesn't currently do this directly. The "standard" MMD approach
>> to generating a PDF is via LaTeX. The results are high quality, but they
>> can take some tinkering at times. It also requires a LaTeX installation.
>> Many users are perfectly satisfied with printing their HTML into a PDF.
>> This is not my approach, but I am working on way to easily integrate this
>> into Composer.
>> In the meantime, Composer integrates well with Marked - a fantastic app
>> for HTML previews, printing, styling, etc. This is the recommended
>> approach for users who want to print their HTML into a PDF.
>> Fletcher T. Penney
>> fletcher at fletcherpenney.net
>> Markdown-Discuss mailing list
>> Markdown-Discuss at six.pairlist.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Markdown-Discuss