From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: Export question Date: Sun, 30 May 2010 15:40:34 -0500 Message-ID: <4C02CD42.60606@sift.info> References: <4BFB3F6B.3040606@sift.info> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=53122 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIpJH-0006iA-3Y for emacs-orgmode@gnu.org; Sun, 30 May 2010 16:40:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIpJF-0006PL-Uk for emacs-orgmode@gnu.org; Sun, 30 May 2010 16:40:38 -0400 Received: from mpls.sift.info ([75.146.46.193]:43122) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIpJF-0006P9-RO for emacs-orgmode@gnu.org; Sun, 30 May 2010 16:40:37 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Org Mode On 5/25/10 May 25 -6:52 AM, Carsten Dominik wrote: > > On May 25, 2010, at 5:09 AM, Robert Goldman wrote: > >> I have the org-generic-export working better, but I'm having one >> remaining problem: >> >> I have been using org-export-preprocess-string to make it possible to >> handle emphasis (previously o-g-e couldn't handle emphasis because it >> did the translation line-by-line). >> >> org-export-preprocess-string has fixed the problem of emphasis that >> crosses line boundaries, so that I can handle fontification. >> >> But now I have a problem of o-e-p-s smashing together more than one list >> item into a single line, if those list items are on adjacent lines, like >> >> + foo >> + bar >> >> question: is this just something we should never do? Should list items >> always have line skips in the middle? Or am I misusing o-e-p-s? > > > I cannot reproduce this. But you give little context. Please make a > more detailed example, maybe a simple test case where you throw some > data at o-e-p-s and it comes back wrong... You were right and I was wrong. I thought it was a problem with o-e-p-s, but it turns out to be a problem with org-generic-export's line-by-line processing. Sorry about the red herring. I have a fix to org-generic-export that will handle this. I am working on a wiki format (tikiwiki: tikiwiki.org) where the processor decides that any line breaks indicate intent to preformat on the part of the user. It's turning out to be quite difficult to harmonize this with line-by-line processing a la org-generic-export. best, r