unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67815: Commit dcd755dabcf9ef95d6d0534c11c668f44c6f89c2 kills org-beamer-export-to-pdf
@ 2023-12-13 19:40 Pedro Andres Aranda Gutierrez
  2023-12-14  7:09 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2023-12-13 19:40 UTC (permalink / raw)
  To: 67815

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

;; 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=true"
      ;; 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

[-- Attachment #2: Type: text/html, Size: 2269 bytes --]

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

* bug#67815: Commit dcd755dabcf9ef95d6d0534c11c668f44c6f89c2 kills org-beamer-export-to-pdf
  2023-12-13 19:40 bug#67815: Commit dcd755dabcf9ef95d6d0534c11c668f44c6f89c2 kills org-beamer-export-to-pdf Pedro Andres Aranda Gutierrez
@ 2023-12-14  7:09 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-12-14  7:09 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez, Ihor Radchenko; +Cc: 67815-done

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





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

end of thread, other threads:[~2023-12-14  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-13 19:40 bug#67815: Commit dcd755dabcf9ef95d6d0534c11c668f44c6f89c2 kills org-beamer-export-to-pdf Pedro Andres Aranda Gutierrez
2023-12-14  7:09 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).