emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug in ox.el
@ 2017-09-13  1:26 Qiang Fang
  2017-09-13  7:31 ` Eric S Fraga
  0 siblings, 1 reply; 7+ messages in thread
From: Qiang Fang @ 2017-09-13  1:26 UTC (permalink / raw)
  To: emacs-orgmode

The original issue is at
https://github.com/kjambunathan/org-mode-ox-odt/issues/25

"org-export-table-cell-alignment uses org-export-data to infer cookies
of some columns. I think, it should use other mechanisms like
org-element-interpret-data (may be)."

The odt exporter is really useful, it replaces latex in most cases for
me. How can I help in getting it into the main org repo?

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

* Re: Bug in ox.el
  2017-09-13  1:26 Bug in ox.el Qiang Fang
@ 2017-09-13  7:31 ` Eric S Fraga
  2017-09-13  8:30   ` Qiang Fang
  0 siblings, 1 reply; 7+ messages in thread
From: Eric S Fraga @ 2017-09-13  7:31 UTC (permalink / raw)
  To: Qiang Fang; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 702 bytes --]

On Wednesday, 13 Sep 2017 at 09:26, Qiang Fang wrote:
> The original issue is at
> https://github.com/kjambunathan/org-mode-ox-odt/issues/25
>
> "org-export-table-cell-alignment uses org-export-data to infer cookies
> of some columns. I think, it should use other mechanisms like
> org-element-interpret-data (may be)."
>
> The odt exporter is really useful, it replaces latex in most cases for
> me. How can I help in getting it into the main org repo?
>

IIRC, quite some time ago now, there were issues with copyright
etc. with this particular branch of the ODT exporter.  There is an ODT
exporter in the standard version of org.

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-573-g09e612

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

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

* Re: Bug in ox.el
  2017-09-13  7:31 ` Eric S Fraga
@ 2017-09-13  8:30   ` Qiang Fang
  2017-09-13 10:38     ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Qiang Fang @ 2017-09-13  8:30 UTC (permalink / raw)
  To: emacs-orgmode

The standard version of org has a lot of limitations. Is it possible that the
author of ox-odt gives his repos as a gift to me, and let me deal with the
copyright stuff? I am living in China, a quasi-communist country, :<.

In case you won't check the issue because of it not copy right. The complete bug
report is:

"Lisp nesting exceeds ‘max-lisp-eval-depth’" exceeded, when using
cookies with List Tables.
org-export-table-cell-alignment uses org-export-data to infer cookies of some
columns. I think, it should use other mechanisms like org-element-interpret-data
(may be).


On 9/13/17, Eric S Fraga <esflists@gmail.com> wrote:
> On Wednesday, 13 Sep 2017 at 09:26, Qiang Fang wrote:
>> The original issue is at
>> https://github.com/kjambunathan/org-mode-ox-odt/issues/25
>>
>> "org-export-table-cell-alignment uses org-export-data to infer cookies
>> of some columns. I think, it should use other mechanisms like
>> org-element-interpret-data (may be)."
>>
>> The odt exporter is really useful, it replaces latex in most cases for
>> me. How can I help in getting it into the main org repo?
>>
>
> IIRC, quite some time ago now, there were issues with copyright
> etc. with this particular branch of the ODT exporter.  There is an ODT
> exporter in the standard version of org.
>
> --
> : Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-573-g09e612
>

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

* Re: Bug in ox.el
  2017-09-13  8:30   ` Qiang Fang
@ 2017-09-13 10:38     ` Nicolas Goaziou
  2017-09-14  1:35       ` Qiang Fang
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2017-09-13 10:38 UTC (permalink / raw)
  To: Qiang Fang; +Cc: emacs-orgmode

Hello,

Qiang Fang <godblessfq@gmail.com> writes:

> The standard version of org has a lot of limitations.

Please report them, and, if possible, help fixing them.

> In case you won't check the issue because of it not copy right. The complete bug
> report is:
>
> "Lisp nesting exceeds ‘max-lisp-eval-depth’" exceeded, when using
> cookies with List Tables.

Does this issue happen with "ox-odt.el" bundled with Org? If so, could
you provide an ECM?

> org-export-table-cell-alignment uses org-export-data to infer cookies of some
> columns. I think, it should use other mechanisms like org-element-interpret-data
> (may be).

I disagree. For example

  | @@html:<b>text</b> 1.2 |

doesn't express a number with `org-element-interpret-data', although it
is a number when exporting, i.e., to LaTeX.

There is only one way to know if the cell is going to be a number during
export: effectively exporting it.

Regards,

-- 
Nicolas Goaziou

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

* Re: Bug in ox.el
  2017-09-13 10:38     ` Nicolas Goaziou
@ 2017-09-14  1:35       ` Qiang Fang
  2017-09-14  3:53         ` Nick Dokos
  2017-09-14 12:57         ` Nicolas Goaziou
  0 siblings, 2 replies; 7+ messages in thread
From: Qiang Fang @ 2017-09-14  1:35 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

>> Does this issue happen with "ox-odt.el" bundled with Org? If so, could
>> you provide an ECM?

The issue happen with list-table in the unofficial ox-odt, list-table enables
list in tables, it's very cool.

>> The standard version of org has a lot of limitations.
> Please report them, and, if possible, help fixing them.

Most problem I reported are fixed in this repo:
https://github.com/kjambunathan/org-mode-ox-odt

And I think there is no one more capable and willing to fix issues related to
ox-odt than the original author.

It will benifit more people if we can include it in the official org-mode.

Can anyone tell me whether if my approach will work:
The author of ox-odt gives me his code as a gift, and it becomes mine, the I can
do everything with it, right?

On 9/13/17, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> Qiang Fang <godblessfq@gmail.com> writes:
>
>> The standard version of org has a lot of limitations.
>
> Please report them, and, if possible, help fixing them.
>
>> In case you won't check the issue because of it not copy right. The
>> complete bug
>> report is:
>>
>> "Lisp nesting exceeds ‘max-lisp-eval-depth’" exceeded, when using
>> cookies with List Tables.
>
> Does this issue happen with "ox-odt.el" bundled with Org? If so, could
> you provide an ECM?
>
>> org-export-table-cell-alignment uses org-export-data to infer cookies of
>> some
>> columns. I think, it should use other mechanisms like
>> org-element-interpret-data
>> (may be).
>
> I disagree. For example
>
>   | @@html:<b>text</b> 1.2 |
>
> doesn't express a number with `org-element-interpret-data', although it
> is a number when exporting, i.e., to LaTeX.
>
> There is only one way to know if the cell is going to be a number during
> export: effectively exporting it.
>
> Regards,
>
> --
> Nicolas Goaziou
>

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

* Re: Bug in ox.el
  2017-09-14  1:35       ` Qiang Fang
@ 2017-09-14  3:53         ` Nick Dokos
  2017-09-14 12:57         ` Nicolas Goaziou
  1 sibling, 0 replies; 7+ messages in thread
From: Nick Dokos @ 2017-09-14  3:53 UTC (permalink / raw)
  To: emacs-orgmode

Qiang Fang <godblessfq@gmail.com> writes:

> Can anyone tell me whether if my approach will work:
> The author of ox-odt gives me his code as a gift, and it becomes mine, the I can
> do everything with it, right?
>

No. You can use it for your own personal purposes in accordance with
the terms of its license. That's all.

Please read the context section in the article that I pointed out to you earlier.

-- 
Nick

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

* Re: Bug in ox.el
  2017-09-14  1:35       ` Qiang Fang
  2017-09-14  3:53         ` Nick Dokos
@ 2017-09-14 12:57         ` Nicolas Goaziou
  1 sibling, 0 replies; 7+ messages in thread
From: Nicolas Goaziou @ 2017-09-14 12:57 UTC (permalink / raw)
  To: Qiang Fang; +Cc: emacs-orgmode

Qiang Fang <godblessfq@gmail.com> writes:

> The issue happen with list-table in the unofficial ox-odt, list-table enables
> list in tables, it's very cool.

AFAIK, list-tables are supported in bundled "ox-odt.el" too. So, again,
could you provide an ECM?

> And I think there is no one more capable and willing to fix issues related to
> ox-odt than the original author.

You may well be right for the first part of the sentence, but I can tell
I'm at least as willing as anyone to fix the issues related to ox-odt.

> It will benifit more people if we can include it in the official
> org-mode.

Alas, this is not possible, and it doesn't depend on us.


Regards,

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

end of thread, other threads:[~2017-09-14 12:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-13  1:26 Bug in ox.el Qiang Fang
2017-09-13  7:31 ` Eric S Fraga
2017-09-13  8:30   ` Qiang Fang
2017-09-13 10:38     ` Nicolas Goaziou
2017-09-14  1:35       ` Qiang Fang
2017-09-14  3:53         ` Nick Dokos
2017-09-14 12:57         ` Nicolas Goaziou

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