emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Richard G Riley <rileyrgdev@googlemail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: exporting src as html
Date: Mon, 14 Jul 2008 11:31:25 -0700	[thread overview]
Message-ID: <442C5935-1F2C-4138-8FE3-0063650F724D@uva.nl> (raw)
In-Reply-To: <6atzev3rie.fsf@richardriley.net>

How about adding

   .src { overflow:auto }

to the CSS style definitions?  Is that what you are looking for?  It  
seems to me that a scroll bar is better than wrapping, because source  
code is usually formatted the way it is for a reason.

- Carsten

On Jul 12, 2008, at 11:07 AM, Richard G Riley wrote:

>
> is it possible to tell the exporter to wrap src code? e.g in this
>
> ,----
> | #+HTML: <div id="Content">
> | #+INCLUDE: "~/.emacs.d/init.el" src emacs-lisp
> | [[../][Back]]
> | #+HTML: </div>
> `----
>
> some lines in the htmlized source code extends out beyond the  
> containing
> div.
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-07-14 18:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-12 18:07 exporting src as html Richard G Riley
2008-07-14 18:31 ` Carsten Dominik [this message]
2008-07-15  2:21   ` Richard G Riley
2008-07-16 17:42     ` Carsten Dominik
2008-07-17 14:16       ` Jason F. McBrayer
2008-07-17 14:24         ` Richard G Riley
2008-07-17 16:29           ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=442C5935-1F2C-4138-8FE3-0063650F724D@uva.nl \
    --to=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).