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, -pmr
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
[-- 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
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.
Don't use a definition list at all:
- *term1* this means something
- *term2* this means something else
- *term3* and something different still
Sebastian
[-- Attachment #1.1: Type: text/plain, Size: 1475 bytes --] On 07/06/2009 06:46 AM, Sebastian Rose 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. >> > > > Don't use a definition list at all: > > - *term1* this means something > - *term2* this means something else > - *term3* and something different still > > > > Sebastian > FWIW, this solution is better than using a CSS style based solution but it had the nit that the bullet (o) is present in the output (of course) where the description list had no bullet. After playing around with this a bit I decided that your point, don't use a description list, is well taken. I wound up using a simple table instead and got very satisfying results. Thanks, -pmr [-- Attachment #1.2: Type: text/html, Size: 1898 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