emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: abdullah uyu <abdullahuyu@gmail.com>
To: emacs-orgmode@gnu.org
Subject: coq related error when exporting to latex.
Date: Fri, 7 Jan 2022 19:29:12 +0300	[thread overview]
Message-ID: <YdhqWLTYAFS2XZjo@a.localdomain> (raw)

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-07 16:29 UTC|newest]

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

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=YdhqWLTYAFS2XZjo@a.localdomain \
    --to=abdullahuyu@gmail.com \
    --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).