emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph@vidal-rosset.net>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: org-ref 3 setup
Date: Wed, 20 Jul 2022 09:00:56 +0000	[thread overview]
Message-ID: <c79d480c-6157-5438-d4f5-95b45d867f84@vidal-rosset.net> (raw)


Hello John, (cc. list emacs-orgmode)

I have a problem with my emacs setup that is in relation with org-ref 3.

My emacs version is  29.0.50, via Prelude emacs, and my emacs is
launched with "emacs --daemon" .

Here is the error:

> Loading /home/joseph/.emacs.d/personal/myorgexport.el (source)...
> Output file:
> Warning (initialization): An error occurred while loading ‘/home/joseph/.emacs.d/init.elc’:
>
> Wrong type argument: stringp, nil
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.

With emacs --debug-init, emacs asks also an output file.

the following last lines of (i.e. the end of my orgexport.el)  are
necessary to org-ref :

(let  ((org-export-with-broken-links t)
      (org-latex-pdf-process
        '("pdflatex -interaction nonstopmode -shell-escape
-output-directory %o %f"
	 "bibtex %b"
	 "makeindex %b"
	 "pdflatex -interaction nonstopmode -shell-escape -output-directory %o %f"
	 "pdflatex -interaction nonstopmode -shell-escape -output-directory %o
%f")))
   (org-open-file (org-latex-export-to-pdf)))

It also seems obvious that "org-open-file" is the cause of my (small)
problem.

Your help will be welcome.

All the best,

Jo.



             reply	other threads:[~2022-07-20  9:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-20  9:00 Joseph Vidal-Rosset [this message]
     [not found] ` <CAJ51ETrH-EbRmdQht3MVUqNZS2aJ3krvez2fPcgnLQM_LN+O5A@mail.gmail.com>
2022-07-20 12:51   ` org-ref 3 setup Joseph Vidal-Rosset
     [not found]     ` <CAJ51ETp3gyA9ts0eZd=sm7er40B2RouL5A=p-mYxUcLjscjC-A@mail.gmail.com>
2022-07-20 14:48       ` Joseph Vidal-Rosset
2022-07-20 18:20         ` John Kitchin

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=c79d480c-6157-5438-d4f5-95b45d867f84@vidal-rosset.net \
    --to=joseph@vidal-rosset.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).