emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG](?) Export to beamet recently stopped working.
@ 2022-08-11  8:00 Emmanuel Charpentier
  2022-08-11  9:48 ` Fraga, Eric
  0 siblings, 1 reply; 6+ messages in thread
From: Emmanuel Charpentier @ 2022-08-11  8:00 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]

Dear list,

Since about a week, exporting directly to Beamer ceased to work. See
the attached Minimal.org file :

 - This file exports perfectly to a LaTeX file (via C-c C-e l b).

 - The resulting Minimal.tex exports perfectly to Minimal.pdf.

 - Trying to export directly to PDF via C-c C-e l P fails ; content of
the *Messages* buffer :

-----------------
Saving file /home/charpent/Boulot/Cellule
Innovation/BayesDec/Minimal.tex...
Wrote /home/charpent/Boulot/Cellule Innovation/BayesDec/Minimal.tex
Processing LaTeX file Minimal.tex...
Wrong type argument: sequencep, 108
-----------------

 - Ditto when exporting to PDF via C-c C-e l p (= export to PDF withot
making frames at header level 2).

Retrying Beamer PDF export with debug-on-error set to t gives me the
following backtrace :

-----------------
Debugger entered--Lisp error: (wrong-type-argument sequencep 108)
  replace-regexp-in-string("%\\(?:\\(?:bib\\|la\\)tex\\|bib\\)\\>"
#f(compiled-function (m) #<bytecode 0x1587cd8dd641>) 108)
  #f(compiled-function (command) #<bytecode 0x1587cd8dd655>)(108)
  mapcar(#f(compiled-function (command) #<bytecode 0x1587cd8dd655>)
"latexmk -shell-escape -f -pdf -%latex -interaction...")
  org-latex-compile("Minimal.tex")
  org-export-to-file(beamer "Minimal.tex" nil nil nil nil nil org-
latex-compile)
  org-beamer-export-to-pdf(nil nil nil nil)
  org-export-dispatch(nil)
  funcall-interactively(org-export-dispatch nil)
  call-interactively(org-export-dispatch nil nil)
  command-execute(org-export-dispatch)
-----------------

which isn't very helpful... Any hint would be welcome.

Sincerely yours,

--
Emmanuel Charpentier

PS : CC me would be appreciated : I'm not on the list, and read it via
the archive...


[-- Attachment #2: Minimal.org --]
[-- Type: text/org, Size: 1013 bytes --]

# Pour débugguer l'exportation Beamer

#+begin_src emacs-lisp :exports none :results silent
  (require 'ox-beamer)
  (custom-set-variables
   '(org-latex-pdf-process
     "latexmk -shell-escape -f -pdf -%latex -interaction=nonstopmode -output-directory=%o %f"))
#+end_src


#+language: fr
#+options: tex:t toc:nil H:2
# #+latex_compiler: lualatex
#+latex_compiler: latexmk
#+PANDOC_OPTIONS: pdf-engine:latexmk
#+PANDOC_OPTIONS: pdf-engine-opt=-shell-escape
#+PANDOC_OPTIONS: standalone:t 
#+property: header-args:sage :session

#+latex_compiler: lualatex
#+latex_class: beamer
#+latex_class_options: [french]
#+latex-header: \usetheme{AnnArbor}
#+latex-header: \usefonttheme{professionalfonts}
#+Latex_header: \usepackage{fontspec}
#+latex_header: \usepackage{unicode-math}
#+latex_header: \setsansfont{Fira Sans}
#+latex_header: \setmathfont{Fira Math}
#+latex_header: \usepackage{babel}
#+latex_header: \usepackage[newfloat]{minted}

#+title: Essais ~beamer~ de ~org~.
#+subtitle: Un orteil dans l'Arctique...

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

end of thread, other threads:[~2022-08-11 13:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11  8:00 [BUG](?) Export to beamet recently stopped working Emmanuel Charpentier
2022-08-11  9:48 ` Fraga, Eric
2022-08-11 11:51   ` Emmanuel Charpentier
2022-08-11 12:32     ` Fraga, Eric
2022-08-11 12:39       ` Emmanuel Charpentier
2022-08-11 12:41         ` Fraga, Eric

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