From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Michael Reilly Subject: Re: Preventing line breaks in (HTML) published description lists Date: Sun, 05 Jul 2009 14:18:42 -0400 Message-ID: <4A50EE82.9080807@gmail.com> References: <4A5075C7.6020509@gmail.com> <87iqi7i79i.fsf@gimli.intra.norang.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1283558432==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNWE2-0006Tg-ME for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 14:14:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNWDx-0006T4-1E for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 14:14:05 -0400 Received: from [199.232.76.173] (port=33762 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNWDw-0006T1-RZ for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 14:14:00 -0400 Received: from mail-qy0-f183.google.com ([209.85.221.183]:35455) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNWDw-0003Gk-FJ for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 14:14:00 -0400 Received: by qyk13 with SMTP id 13so3774517qyk.14 for ; Sun, 05 Jul 2009 11:13:59 -0700 (PDT) In-Reply-To: <87iqi7i79i.fsf@gimli.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --===============1283558432== Content-Type: multipart/alternative; boundary="------------080006060309070209030208" This is a multi-part message in MIME format. --------------080006060309070209030208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/05/2009 09:33 AM, Bernt Hansen wrote: > Paul Michael Reilly writes: > > >> I added a plain list to my file: >> >> ... >> - term1 :: this means something >> - term2 :: this means something else >> - term3 :: and something different still >> ... >> >> fully expecting the term and the description rendered in HTML to be on >> the same line as is shown in the Latex published Org Mode manual. But >> the items were rendered as: >> >> ... >> term1 >> this means something >> term2 >> this means something else >> term3 >> and something different still >> ... >> >> I suspect this might be an HTML artifact, nevertheless, how would I >> convince org-mode to arrange for the HTML rendering to attempt to keep >> the terms and descriptions on the same line? An example or reference >> would be much appreciated. >> >> Thanks, >> > > Adding this seems to work: > > #+STYLE: > > -Bernt > Well it's a start but does have some side effects. For example with each new entry it becomes more and more apparent that the term and the description are off center, i.e. the skew becomes more pronounced. But your solution is much better than mine :-) and gives me a place to explore and become smarter, always a good thing! Thanks again, -pmr --------------080006060309070209030208 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 07/05/2009 09:33 AM, Bernt Hansen wrote:
Paul Michael Reilly <pajatopmr@gmail.com> writes:

  
I added a plain list to my file:

...
  - term1 :: this means something
  - term2 :: this means something else
  - term3 :: and something different still
...

fully expecting the term and the description rendered in HTML to be on
the same line as is shown in the Latex published Org Mode manual.  But
the items were rendered as:

...
  term1
      this means something
  term2
      this means something else
  term3
      and something different still
...

I suspect this might be an HTML artifact, nevertheless, how would I
convince org-mode to arrange for the HTML rendering to attempt to keep
the terms and descriptions on the same line?  An example or reference
would be much appreciated.

Thanks,
    

Adding this seems to work:

#+STYLE: <style type="text/css">dt {clear: left; float: left; width: 4em; } </style>

-Bernt
  
Well it's a start but does have some side effects.  For example with each new entry it becomes more and more apparent that the term and the description are off center, i.e. the skew becomes more pronounced.  But your solution is much better than mine :-) and gives me a place to explore and become smarter, always a good thing!

Thanks again,

-pmr

--------------080006060309070209030208-- --===============1283558432== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1283558432==--