emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: aby@tilde.club
To: emacs-orgmode@gnu.org
Subject: coq related error when exporting to latex.
Date: Fri, 7 Jan 2022 16:09:45 +0000 (UTC)	[thread overview]
Message-ID: <a3a3d284-db1e-3a75-d01-1c9947cba9b2@tilde.club> (raw)

[-- 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?

             reply	other threads:[~2022-01-08  4:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-07 16:09 aby [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-07 16:29 coq related error when exporting to latex abdullah uyu
2022-05-05 10:07 ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a3a3d284-db1e-3a75-d01-1c9947cba9b2@tilde.club \
    --to=aby@tilde.club \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).