Git Product home page Git Product logo

Comments (7)

msnoigrs avatar msnoigrs commented on June 20, 2024

Hi, Thank you for trying ox-rst.
I can't reproduce the problem in my environment (emacs 24.5.1, org-mode bleeding edge git://orgmode.org/org-mode.git)
If possible, please indicate the mydoc.org file.
As far as I see the error, it seems that there is the problem with macro or with version compatibility.

from ox-rst.

avoine avatar avoine commented on June 20, 2024

I've put (org-reload) like it was suggested here:

syl20bnr/spacemacs#2856 (comment)

at the end of my init.el file and now I have this error:

apply: Wrong type argument: listp, #("My Name" 0 12 (:parent (#0)))

I have this header in my org file and no header give me a stringp error:

#+TITLE: My title
#+AUTHOR: My name
#+EMAIL: [email protected]
the text...

from ox-rst.

mclearc avatar mclearc commented on June 20, 2024

I'm having this problem as well. The work around using (org-reload) doesn't seem to work for me. This seems to be a recent bug, introduced in just the last couple of days.

 Wrong type argument: listp, #("Monday 9.7.15" 0 13 (:parent (#0)))

from ox-rst.

 avatar commented on June 20, 2024

I have the same issue. Seems like this diff is enough to fix:

diff --git a/ox-rst.el b/ox-rst.el
index 7bfb0477d36d..fd1dcc187fac 100644
--- a/ox-rst.el
+++ b/ox-rst.el
@@ -741,7 +741,7 @@ holding export options."
        ;; 1. Document's body.
        contents
        ;; 2. Footnote definitions.
-       (let ((definitions (org-export-collect-footnote-definitions info)))
+       (let ((definitions (org-export-collect-footnote-definitions contents info)))
          (when definitions
                (concat
                 "\n\n"

I'm not sure if it's 100% correct, hopefully @masayuko can have a look :-)

UPDATE:

This function has been changed long ago:

$ git describe 014de0a532cbc60987d09d6040ed46195cffdf12
release_8.3beta-853-g014de0a532cb

$ git show 014de0a532cbc60987d09d6040ed46195cffdf12
commit 014de0a532cbc60987d09d6040ed46195cffdf12
Author: Nicolas Goaziou <[email protected]>
Date:   Fri Feb 20 18:06:23 2015 +0100

    ox: Change `org-export-collect-footnote-definitions' signature
    
    * lisp/ox.el (org-export-collect-footnote-definitions): Refactor
      code.  Change signature.
    
    * testing/lisp/test-ox.el (test-org-export/collect-footnote-definitions):
      New test.
    (test-org-export/footnotes): Update test.
    
    * lisp/ox-ascii.el (org-ascii-inner-template):
    * lisp/ox-html.el (org-html-footnote-section): Apply signature change.
    
    * etc/ORG-NEWS: Document signature change.
    
    This change makes `org-export-collect-footnote-definitions' compatible
    with `org-export-get-footnote-number' and
    `org-export-footnote-first-reference-p'.

No idea why Debian's emacs 25.1 still ships with such old org. I'll update from orgmode.org/elpa and try again

from ox-rst.

msnoigrs avatar msnoigrs commented on June 20, 2024

Thank you for let me know!

from ox-rst.

 avatar commented on June 20, 2024

@masayuko maybe you shouldn't have. Debian is shipping with old org-mode. I guess the real bug is that you're requiring org 8.2.4 when, apparently, you should require 8.4. Please confirm that it's working for you with today's org-mode. I just updated my installation of org-mode to today's git and ox-rst works without any changes.

from ox-rst.

msnoigrs avatar msnoigrs commented on June 20, 2024

You are right. Thanks.

from ox-rst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.