emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: org-mode table with backslash inside fails to export to Do


From: Baoqiu Cui
Subject: [Orgmode] Re: org-mode table with backslash inside fails to export to DocBook
Date: Wed, 12 Jan 2011 10:47:47 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

Hi Niels,

niels giesen <address@hidden> writes:

> The following changes (replace-match literally in
> `org-export-docbook-finalize-table') solves this problem for me, but I
> would not know whether this would break anything else.
>
> #+begin_src diff
> diff --git a/lisp/org-docbook.el b/lisp/org-docbook.el
> index 91ebb97..ed835b0 100644
> --- a/lisp/org-docbook.el
> +++ b/lisp/org-docbook.el
> @@ -1367,7 +1367,7 @@ TABLE is a string containing the HTML code generated by
>                                    (match-string 1 table)
>                                    (match-string 4 table)
>                                    "</table>")
> -                          nil nil table)
> +                          nil t table)
>           table))
>      ;; Change <table> into <informaltable> if caption does not exist.
>      (if (string-match
> @@ -1377,7 +1377,7 @@ TABLE is a string containing the HTML code generated by
>                              (match-string 1 table-with-label)
>                              (match-string 3 table-with-label)
>                              "</informaltable>")
> -                    nil nil table-with-label)
> +                    nil t table-with-label)
>        table-with-label)))
>  
>  ;; Note: This function is very similar to
> #+end_src

This patch seems good to me.  I don't think it will break anything.

Thanks,

-- 
Baoqiu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]