emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* coq related error when exporting to latex.
@ 2022-01-07 16:29 abdullah uyu
  0 siblings, 0 replies; 2+ messages in thread
From: abdullah uyu @ 2022-01-07 16:29 UTC (permalink / raw)
  To: emacs-orgmode

i get the following error when i try to export to latex:

org-babel-coq-initiate-session: ‘run-coq’ not defined, load
coq-inferior.el

i've searched for the error on the internet, found out that the file
"coq-inferior.el" exists:

https://github.com/maximedenes/native-coq/blob/master/tools/coq-inferior.el

i've downloaded the file and tried to manually load it, got:

eval-buffer: Cannot open load file: No such file or directory, coq

turned out i had to move my cursor to one of the coq source blocks. even
then, in first try, i got:

let: Symbol’s function definition is void: coq-mode-variables

and in second try, it successfully exports. this process above is
consistent. it exactly follows those steps everytime.

i've thought of adding some hooks but then found the idea very messy.
besides, my elisp skills fail me in that case. i can export, in the end
but, how can i resolve this neatly?


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

* coq related error when exporting to latex.
@ 2022-01-07 16:09 aby
  0 siblings, 0 replies; 2+ messages in thread
From: aby @ 2022-01-07 16:09 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 905 bytes --]

i get the following error when i try to export to latex:

org-babel-coq-initiate-session: ‘run-coq’ not defined, load coq-inferior.el

i've searched for the error on the internet, found out that the file 
"coq-inferior.el" exists:

https://github.com/maximedenes/native-coq/blob/master/tools/coq-inferior.el

i've downloaded the file and tried to manually load it, got:

eval-buffer: Cannot open load file: No such file or directory, coq

turned out i had to move my cursor to one of the coq source blocks. even 
then, in first try, i got:

let: Symbol’s function definition is void: coq-mode-variables

and in second try, it successfully exports. this process above is 
consistent. it exactly follows those steps everytime.

i've thought of adding some hooks but then found the idea very messy. 
besides, my elisp skills fail me in that case. i can export, in the end 
but, how can i resolve this neatly?

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

end of thread, other threads:[~2022-01-08  4:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 16:29 coq related error when exporting to latex abdullah uyu
  -- strict thread matches above, loose matches on Subject: below --
2022-01-07 16:09 aby

Code repositories for project(s) associated with this 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).