>>>>> Carsten Dominik writes:
Hello,
> But it will break existing documents when exported to LaTeX
It will break existing documents when exporting to anything (except
ASCII). You can use the following (quick and dirty) code to make the
transition easier:
(defun org-switch-to-new-lists ()
"Make current buffer compatible with new list definition."
(goto-char (point-min))
(while (< (point) (point-max))
(while (and (org-in-item-p)
(not (org-at-item-p))
(not (looking-at "^[ \t]*$"))
(not (and (org-in-regexps-block-p
"^[ \t]*#\\+begin_" "^[ \t]*#\\+end_")
(not (looking-at "^[ \t]*#\\+begin_"))))
(<= (org-get-indentation)
(save-excursion
(org-beginning-of-item)
(org-get-indentation))))
(newline))
(beginning-of-line 2)))
Regards,
-- Nicolas
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode