emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: [html] non-lists showing up as lists
@ 2013-06-03  9:54 Michael Strey
  2013-06-03 10:05 ` Carsten Dominik
  0 siblings, 1 reply; 27+ messages in thread
From: Michael Strey @ 2013-06-03  9:54 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Hi everyone,

Just for completeness

Carsten Dominik <carsten.dominik@gmail.com> writes:

[...]

> Possibilities:
> 1. We could change the parser to ignore lists where the first
>    item does not start with `1.' or `a)'.  But this would
>    be a pretty serious change.
>
> 2. We could implement a good function that could find problematic
>    cases, so that they can be fixed by hand.  This is basically
>    what Nick proposed - only it would be implemented in Lisp.
>
> 3. We could implement a function that finds and fixes such issues.
>    It would basically scan the buffer and find lists that have
>    only a single item, not starting with 1, and change the wrapping
>    to fix it.

4. Define that lists alway have to have a newline in front of them.

5. Define that lists always have to be indented.


My favourite would be 4.


Michael Strey
-- 
mailto:mstrey@strey.biz
http://www.strey.biz

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: [html] non-lists showing up as lists
@ 2013-06-06 10:26 Michael Strey
  0 siblings, 0 replies; 27+ messages in thread
From: Michael Strey @ 2013-06-06 10:26 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


Bastien <bzg@gnu.org> writes:

>>>> 4. Define that lists alway have to have a newline in front of them.
>>
>> I presume Michael means blank line.  I like this.
>
> Mhhh... I don't.

Yes, I meant blank lines and after rethinking I don't like it either.

My reason for not liking them is the LaTeX exporter.  The current
exporter respects the difference between the following two examples.

#+begin_src org-mode
Here is a line of text directly followed by a list
- item
- item
#+end_src

#+begin_src org-mode
Here is a line of text followed by a blank line followed by a list

- item
- item
#+end_src

The blank line makes a difference in LaTeX's PDF output.


Michael
-- 
mailto:mstrey@strey.biz
http://www.strey.biz

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [html] non-lists showing up as lists
@ 2013-05-31 16:54 Samuel Wales
  2013-05-31 17:01 ` Nicolas Goaziou
  0 siblings, 1 reply; 27+ messages in thread
From: Samuel Wales @ 2013-05-31 16:54 UTC (permalink / raw)
  To: emacs-orgmode

The 30 and the - get exported as lists.

===
paragraph.  Emily died at age
30.  New sentence.

paragraph
- the list is long.
===

Filling and yanking can create lines like those.

Perhaps this is intended behavior?  If so, is there a way to change it
so that it requires a blank line before every list?

Thanks.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY can get it.

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2013-06-06 17:25 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-03  9:54 [html] non-lists showing up as lists Michael Strey
2013-06-03 10:05 ` Carsten Dominik
2013-06-03 16:28   ` Samuel Wales
2013-06-04 10:02     ` Bastien
2013-06-04 17:49       ` Samuel Wales
  -- strict thread matches above, loose matches on Subject: below --
2013-06-06 10:26 Michael Strey
2013-05-31 16:54 Samuel Wales
2013-05-31 17:01 ` Nicolas Goaziou
2013-05-31 20:39   ` Alan L Tyree
2013-06-01  6:39     ` Nicolas Goaziou
2013-06-01 19:35       ` Alan L Tyree
2013-06-02  7:57         ` Nicolas Goaziou
2013-06-02  9:12           ` Nicolas Goaziou
2013-06-02 20:24           ` Alan L Tyree
2013-06-02 21:40             ` Nick Dokos
2013-06-02 23:05               ` Alan L Tyree
2013-06-03  2:17                 ` Nick Dokos
2013-06-03  4:29                   ` Alan L Tyree
2013-06-03  5:40                     ` Samuel Wales
2013-06-03  5:45                       ` Alan L Tyree
2013-06-03  7:52                         ` Carsten Dominik
2013-06-03 19:59                           ` Alan L Tyree
2013-06-06 16:37                       ` Bernt Hansen
2013-06-06 17:25                         ` Samuel Wales
2013-06-01 20:10     ` Samuel Wales
2013-06-01 20:18       ` Samuel Wales
2013-06-01 22:58         ` Alan L Tyree

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).