emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Michael Reilly <pajatopmr@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Preventing line breaks in (HTML) published description lists
Date: Sun, 05 Jul 2009 14:18:42 -0400	[thread overview]
Message-ID: <4A50EE82.9080807@gmail.com> (raw)
In-Reply-To: <87iqi7i79i.fsf@gimli.intra.norang.ca>


[-- Attachment #1.1: Type: text/plain, Size: 1390 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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:[~2009-07-05 18:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-05  9:43 Paul Michael Reilly
2009-07-05 13:33 ` Bernt Hansen
2009-07-05 18:18   ` Paul Michael Reilly [this message]
2009-07-06 10:46 ` Sebastian Rose
2009-07-06 12:38   ` Paul Michael Reilly

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=4A50EE82.9080807@gmail.com \
    --to=pajatopmr@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Preventing line breaks in (HTML) published description lists' \
    /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

Code repositories for project(s) associated with this 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).