Fixed, thanks.
- Carsten
On Jan 14, 2011, at 1:36 PM, Valentin Wüstholz wrote:
Hi,
I ran into a bug with the ascii export. Exporting the attached org
file to ascii fails (see the attached backtrace). The failure seems to
be related to the 'H:10' option.
I had a look at the code and the following patch seemed to alleviate
the issue:
------------------------------ lisp/org-ascii.el
------------------------------
index 99facb1..25cdf12 100644
@@ -637 +637 @@ publishing directory."
- (let (char (n (- level umax 1)) (ind 0))
+ (let (char (n (- level 1)) (ind 0))
@@ -655 +655 @@ publishing directory."
- (setq char (nth (- umax level) (reverse org-export-ascii-
underline)))
+ (setq char (nth n (reverse org-export-ascii-underline)))
This will however still fail, if (length org-export-ascii-underline)
<= n.
Best regards,
Valentin
<bug.org><backtrace>_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode