From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: Forcing line breaks in src (monospace) examples Date: Tue, 23 Jun 2015 11:30:26 -0400 Message-ID: <55897B92.7020907@pfdstudio.com> References: <557D936B.3050501@pfdstudio.com> <557D950F.7030009@pfdstudio.com> <20150614173637.7633a81e@zotac> <6sw6c7616qnv65.fsf@dhcp-10-82-66-30.hmco.com> <20150614181100.11ec3d7a@zotac> <6sw6c71thentsl.fsf@dhcp-10-82-66-30.hmco.com> <20150614183836.5db13a41@zotac> <557DB368.4050301@pfdstudio.com> <55897436.9040104@pfdstudio.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------000008070600070909080806" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Q9g-0005AJ-MN for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 11:30:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Q9b-0002kT-J3 for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 11:30:32 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:58410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Q9b-0002iO-G8 for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 11:30:27 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id ACE4B20AFD for ; Tue, 23 Jun 2015 11:30:26 -0400 (EDT) In-Reply-To: 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: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------000008070600070909080806 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks! I think for my purposes with HTML, it would be sufficient to replace
...
with .... Is there a way to get org to do that on export, or do I have to keep editing the HTML output? Thank you. -pd On 6/23/15 11:11 AM, Kaushal wrote: > On the topic of exporting auto-wrapped lines in source code blocks to > .tex/.pdf: > > If you use minted instead of listings, the latest minted 2.0 (probably > not yet on tex-live) latex package does line wrapping in the source > code blocks very elegantly. ... > > > On Tue, Jun 23, 2015 at 10:59 AM Peter Davis > wrote: > > > So getting line breaks in exported LaTeX/PDF src examples is now > working > beautifully. > > Is there any way to do this in exported HTML? > > Thank you, > -pd > > > --------------000008070600070909080806 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Thanks!

I think for my purposes with HTML, it would be sufficient to replace <pre>...</pre> with <tt>...</tt>. Is there a way to get org to do that on export, or do I have to keep editing the HTML output?

Thank you.

-pd


On 6/23/15 11:11 AM, Kaushal wrote:
On the topic of exporting auto-wrapped lines in source code blocks to .tex/.pdf:

If you use minted instead of listings, the latest minted 2.0 (probably not yet on tex-live) latex package does line wrapping in the source code blocks very elegantly.
...


On Tue, Jun 23, 2015 at 10:59 AM Peter Davis <pfd@pfdstudio.com> wrote:

So getting line breaks in exported LaTeX/PDF src examples is now working
beautifully.

Is there any way to do this in exported HTML?

Thank you,
-pd




--------------000008070600070909080806--