Open bsiogs opened 4 years ago
The emacs warnings appear to indicate that something went wrong loading ox-tufte-latex. Perhaps you could try loading ox-tufte-latex some other way?
Hello,
I am sorry, I am coming back after a long period, but I didn't work on my book these last months.
Now, there is no more errors in emacs launch. I succeded to compile a document without Figure, and everything seems ok.
But when I try to include a margin Figure (a png file) I got a similar error: Symbol's function is void: wrap
(exactly org-tufte-latex--inline-image: Symbol’s function definition is void
: wrap in the message buffer)
If I remove the file link (keeping name, caption and latex attributes) everything goes back ok.
I don't understand where the error come from.
Hello I can't export my document with ox-tufte-latex when I insert a figure. I loaded ox-tufte-latex with quelpa in my init.el
(quelpa '(ox-tufte-latex :fetcher git :url "https://github.com/tsdye/tufte-org-mode.git"))
On emacs launch I have a message with some warns
Leaving directory ‘/home/bs/.emacs.d/elpa/ox-tufte-latex-20160209.532’ Compiling file /home/bs/.emacs.d/elpa/ox-tufte-latex-20160209.532/ox-tufte-latex.el at Tue Jun 23 15:23:51 2020 Entering directory ‘/home/bs/.emacs.d/elpa/ox-tufte-latex-20160209.532/’ Compiling no file at Tue Jun 23 15:23:51 2020 Warning (bytecomp): ‘(nil)’ is a malformed function [2 times] Warning (bytecomp): the following functions are not known to be defined: case, wrap, sideways, multicolumn, margin, figure, nonfloat, otherwise, plain-text, headline
Then, when I try to export my org-mode file I have this error in backtraceDebugger entered--Lisp error: (void-function wrap) wrap(#("\\begin{wrapfigure}\n\\centering\n\\includegraphics[width=2in]{pictures/org.png}\n\\caption{\\label{fig:org_fig}Ceci est une figure qui est censée aller dans la marge}\n\\end{wrapfigure}" 104 158 (:parent (#("Ceci est une figure qui est censée aller dans la marge" 0 54 (:parent #2))))))...
The problematic org-mode source is: `
+CAPTION: Ceci est une figure qui est censée aller dans la marge
+LABEL: fig:org_fig
+ATTR_LATEX: :width 2in :float margin
+RESULTS: fig:org_fig
[[file:pictures/org.png]] ` image file exists and it is ok when I export with latex (but figures and tables are not placed following Tufte handout)