From: Joseph Vidal-Rosset <joseph@vidal-rosset.net>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: org-ref 3 setup
Date: Wed, 20 Jul 2022 12:51:19 +0000 [thread overview]
Message-ID: <cbab54b3-a16a-e736-d006-e78e75005e99@vidal-rosset.net> (raw)
In-Reply-To: <CAJ51ETrH-EbRmdQht3MVUqNZS2aJ3krvez2fPcgnLQM_LN+O5A@mail.gmail.com>
Le 20/07/2022 à 14:15, John Kitchin a écrit :
> I assume you are trying something new here?
Not really; my setup worked to export to pdf via latex with org-ref, but
it is no longer the case, and I do not know why.
> the problem is that block is executed and it should not be. That is a
> temporary bit of code for export within an org-file. the error comes
> from it trying to export an elisp file to pdf.
>
> The only correct thing you could do is this:
>
> (setq 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"))
Thanks ! now emacs --deamon works smoothly, but unfortunately I get this
message when I try to export my org file via pdflatex:
> Wrote /home/joseph/Dropbox/Mes_articles_soumis/jvr-bivalence-futurs-contingents-intuitionnisme-smfart-fr.tex
> Processing LaTeX file jvr-bivalence-futurs-contingents-intuitionnisme-smfart-fr.tex...
> This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdflatex)
> \write18 enabled.
> **
> ! End of file on the terminal... why?
> /bin/bash: ligne 2: -output-directory : commande introuvable
> This is BibTeX, Version 0.99d (TeX Live 2020/Debian)
> The top-level auxiliary file: jvr-bivalence-futurs-contingents-intuitionnisme-smfart-fr.aux
> The style file: smfplain.bst
> I found no \citation commands---while reading file jvr-bivalence-futurs-contingents-intuitionnisme-smfart-fr.aux
> I found no \bibdata command---while reading file jvr-bivalence-futurs-contingents-intuitionnisme-smfart-fr.aux
> (There were 2 error messages)
> Couldn't find input index file jvr-bivalence-futurs-contingents-intuitionnisme-smfart-fr nor jvr-bivalence-futurs-contingents-intuitionnisme-smfart-fr.idx.
> Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
> PDF file produced with errors.
The pdf file indeed is not what that could be expected.
:(
If I come back to
(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)))
in ~/.emacs.d/personal/myorgexport.el
then emacs --daemon protests, but the export works correctly...
All the best,
Jo.
next prev parent reply other threads:[~2022-07-20 12:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-20 9:00 org-ref 3 setup Joseph Vidal-Rosset
[not found] ` <CAJ51ETrH-EbRmdQht3MVUqNZS2aJ3krvez2fPcgnLQM_LN+O5A@mail.gmail.com>
2022-07-20 12:51 ` Joseph Vidal-Rosset [this message]
[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=cbab54b3-a16a-e736-d006-e78e75005e99@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).