From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Reyero Subject: [ANN] Markdown exporter for leanpub.com Date: Sat, 25 Jan 2014 18:57:03 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1135ec94b2795604f0cf3396 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W77Ti-0005Ua-Gq for emacs-orgmode@gnu.org; Sat, 25 Jan 2014 12:57:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W77Tc-0005wJ-Rf for emacs-orgmode@gnu.org; Sat, 25 Jan 2014 12:57:10 -0500 Received: from mail-qc0-x236.google.com ([2607:f8b0:400d:c01::236]:47375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W77Tc-0005w5-Mu for emacs-orgmode@gnu.org; Sat, 25 Jan 2014 12:57:04 -0500 Received: by mail-qc0-f182.google.com with SMTP id c9so6074392qcz.27 for ; Sat, 25 Jan 2014 09:57:03 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode Mailing List --001a1135ec94b2795604f0cf3396 Content-Type: text/plain; charset=ISO-8859-1 Greetings, I have written a small markdown exporter that improves over the default one for publication with http://leanpub.com. In particular, it separates code from its output, and it handles footnotes properly. It's a very limited one-morning hack, but I thought it might be of interest to others: https://github.com/juanre/ox-leanpub (I am writing a book with lots of code samples and their output. Exporting for the web was simple: http://juanreyero.com/hacker-ways/terminal.html but going to ebook required more work :-) Best, jm -- http://greaterskies.com http://juanreyero.com --001a1135ec94b2795604f0cf3396 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Greetings,

I have written a small markd= own exporter that improves over the default one for publication with http://leanpub.com. =A0In particular, it separ= ates code from its output, and it handles footnotes properly. =A0It's a= very limited one-morning hack, but I thought it might be of interest to ot= hers:


(I am writing a= book with lots of code samples and their output. =A0Exporting for the web = was simple:


but going to ebook required more work :-)

Best,

jm
--001a1135ec94b2795604f0cf3396-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [ANN] Markdown exporter for leanpub.com Date: Tue, 28 Jan 2014 10:02:11 +0100 Message-ID: <87fvo8tr70.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W84Yo-0000FP-KY for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 04:02:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W84Yj-0007DW-CH for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 04:02:22 -0500 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:38495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W84Yj-0007DL-5t for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 04:02:17 -0500 Received: by mail-wg0-f44.google.com with SMTP id l18so205983wgh.23 for ; Tue, 28 Jan 2014 01:02:16 -0800 (PST) In-Reply-To: (Juan Reyero's message of "Sat, 25 Jan 2014 18:57:03 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Juan Reyero Cc: org-mode Mailing List Hi Juan, Juan Reyero writes: > https://github.com/juanre/ox-leanpub Neat. Thanks for letting us know. If you find a place where you'd like to document this on Worg, please send me your public key and I'll give you commit access to Worg. > (I am writing a book with lots of code samples and their output. >  Exporting for the web was simple: > > http://juanreyero.com/hacker-ways/terminal.html > > but going to ebook required more work :-) If you make progress about this, I guess a lot of people would enjoy it. Thanks in advance! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Reyero Subject: Re: [ANN] Markdown exporter for leanpub.com Date: Tue, 28 Jan 2014 19:35:17 +0100 Message-ID: References: <87fvo8tr70.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8DVJ-00059n-82 for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 13:35:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8DVH-0003oI-Ma for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 13:35:21 -0500 In-Reply-To: <87fvo8tr70.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien , org-mode Mailing List Hi Bastien, On Tue, Jan 28, 2014 at 10:02 AM, Bastien wrote: > If you make progress about this, I guess a lot of people would enjoy > it. Thanks in advance! Cool. I've taken it a bit further, and it now supports my whole book[1], including latex formulas, cross links, code and tables. I've written a short intro, http://juanreyero.com/open/ox-leanpub/index.html and I'll send you my public key so I can get started contributing to Worg. Thanks, jm -- [1] The Hacker Ways, https://leanpub.com/hackerways It's just amazing how much orgmode is helping me do things, thank you very much.