emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* coq related error when exporting to latex.
@ 2022-01-07 16:09 aby
  0 siblings, 0 replies; 3+ 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] 3+ messages in thread

* coq related error when exporting to latex.
@ 2022-01-07 16:29 abdullah uyu
  2022-05-05 10:07 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread

* Re: coq related error when exporting to latex.
  2022-01-07 16:29 coq related error when exporting to latex abdullah uyu
@ 2022-05-05 10:07 ` Ihor Radchenko
  0 siblings, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2022-05-05 10:07 UTC (permalink / raw)
  To: abdullah uyu; +Cc: emacs-orgmode

abdullah uyu <abdullahuyu@gmail.com> writes:

> 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

Most likely, ob-coq expects you to have coq major-mode installed. Note
that ob-coq is currently not maintained and might be outdated.

Best,
Ihor


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

end of thread, other threads:[~2022-05-05 10:09 UTC | newest]

Thread overview: 3+ 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
2022-05-05 10:07 ` Ihor Radchenko
  -- strict thread matches above, loose matches on Subject: below --
2022-01-07 16:09 aby

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