--- Begin Message ---
Subject: |
Commit dcd755dabcf9ef95d6d0534c11c668f44c6f89c2 kills org-beamer-export-to-pdf |
Date: |
Wed, 13 Dec 2023 20:40:05 +0100 |
;; org-export.el
(require 'org)
(require 'python)
(python-shell-prompt-detect)
(setq org-src-preserve-indentation t
org-src-fontify-natively t
org-export-latex-listings t
org-latex-listings 'listings
org-latex-prefer-user-labels t
org-confirm-babel-evaluate nil
org-cite-export-processors nil
; org-cite-export-processors '((beamer . biblatex)
; (latex . biblatex))
org-cite-biblatex-options
"backend=biber,style=numeric,sorting=none,isbn=false,doi=false,url=""> ;; Make sure you have bibtex integrated in the production loop
org-latex-pdf-process
'("latexmk -bibtex -pdflatex='pdflatex --shell-escape --interaction=nonstopmode' -pdf -f %f")
org-babel-python-command (executable-find "python3"))
(add-to-list 'org-latex-packages-alist '("" "listings"))
(org-babel-do-load-languages 'org-babel-load-languages
'((python . t)
(shell . t)))
command:
emacs -Q -l export-beamer.el --batch
flat.org --eval '(org-beamer-export-to-pdf)'
error produced
File mode specification error: (error Invalid face box :line-width 1 :color grey40)
Previous commit (a91185211924f65adf7c1376b7f2d710099a5903) produces the PDF file
-- Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#67815: Commit dcd755dabcf9ef95d6d0534c11c668f44c6f89c2 kills org-beamer-export-to-pdf |
Date: |
Thu, 14 Dec 2023 09:09:42 +0200 |
> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> Date: Wed, 13 Dec 2023 20:40:05 +0100
>
> command:
>
> emacs -Q -l export-beamer.el --batch flat.org --eval
> '(org-beamer-export-to-pdf)'
> error produced
>
> File mode specification error: (error Invalid face box :line-width 1 :color
> grey40)
In fact, just loading ox-beamer.el produces the same error.
> Previous commit (a91185211924f65adf7c1376b7f2d710099a5903) produces the PDF
> file
It's a bug in org-beamer.el. It defines that face incorrectly:
(defface org-beamer-tag '((t (:box (:line-width 1 :color grey40))))
^^^^^^
"grey40" should be a string, not a symbol.
This bug is already fixed in Org on the emacs-29 release branch, so it
will be fixed soon on master as well, when we next merge emacs-29 onto
master.
I'm therefore closing this bug.
P.S. In general, whenever any errors pop up due to the above commit,
it is almost certainly a bug in the face definition (which previously
went unnoticed), so people should first and foremost look at the face
definition, because more often than not, there's a real bug there.
--- End Message ---