Comments (7)
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.
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.
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.
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.
Thank you for let me know!
from ox-rst.
@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.
You are right. Thanks.
from ox-rst.
Related Issues (20)
- BEGIN_QUOTE is exported incorrectly HOT 8
- Not possible to provide custom link text for internal links HOT 3
- links to other ".org" files not exporting correctly HOT 2
- Not working with Org version 9.1? HOT 3
- replace-regexp-in-string: Invalid use of ‘\’ in replacement text
- Multi-line footnotes HOT 3
- definition is void: org-define-error
- Links prepended with "c:" under Windows
- Error handling emacs-lisp source blocks HOT 2
- missing require ox-ascii HOT 1
- wrongly parsed DATE HOT 1
- Error attempting to install package in spacemacs HOT 3
- ATTR_RST not exported for images HOT 1
- Escaping '*' in verbatim blocks
- Multiple links with same label/name lead to an invalid reST file.
- #+Latex_header not being copied to rst file
- Understanding inlinetask behavior
- Using ox-rst as a cli script HOT 2
- Sequence of 8 spaces is non-deterministically exported as tabulation
- How can I remove numbering before each item? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ox-rst.