emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [POLL] Naming of "export features"
Date: Wed, 1 Mar 2023 09:26:07 +0100	[thread overview]
Message-ID: <CAO48Bk_WGW9T=4WzF7fYb35mgpkt6r+QtS13Ywp3-PFXrJrMUg@mail.gmail.com> (raw)

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

Hi,

before I forget, I have been thinking about this a lot. It may look
tangetial but IMHO it is not...

One thing is having
```
(setq org-cite-export-processors '((beamer . biblatex)
                                (latex .  biblatex)))
```
in your emacs configuration (because you need it for most situations)
and another thing is that this options forces the export process to
check that you are using a bibliography in each and every document you
generate. I may want to write a quick document  with org-mode and
generate a PDF with the LaTEX backend and another thing is that I will
need to include a bibliography even if I don't need it.

Currently, with that config for ox-latex, this MWE chokes because
their is no reference to a bibliography:

------ mwe.org -------------
#+LATEX_CLASS: letter
#+DATE: 01-Mar-2023

Dear friends!

It sucks a bit to need a bibliography to export this letter!

Best, /PA
-----------------------------------
This is the minimal emacs config that chokes at PDF export (C-c C-e lo)
----- mwe.el -----------------
(require 'org)
(require 'ox-latex)
(setq org-cite-export-processors '((beamer . biblatex)
                               (latex .  biblatex)))
(setq org-latex-pdf-process
      '("latexmk -pdflatex='pdflatex --shell-escape
--interaction=nonstopmode' -pdf -f %f"))
(add-to-list 'org-latex-classes
             '("letter"
               "\\documentclass[a4paper]{letter}"))
-------------------------------

To try:

emacs -Q -l mwe.el mwe.org

and then C-c C-e l o in Emacs to get the attached error message and no PDF.

This is all on

GNU Emacs 30.0.50
Development version fad366506974 on master branch; build date 2023-02-23.

It would be nice to take this discussion as an opportunity to 'fix' this

Best, /PA

-- 
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: image.png --]
[-- Type: image/png, Size: 36733 bytes --]

             reply	other threads:[~2023-03-01  8:27 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01  8:26 Pedro Andres Aranda Gutierrez [this message]
2023-03-01  9:41 ` [POLL] Naming of "export features" Ihor Radchenko
2023-03-01 11:38   ` Pedro Andres Aranda Gutierrez
2023-03-02 11:30     ` Ihor Radchenko
     [not found] <mailman.336.1676990100.5072.emacs-orgmode@gnu.org>
2023-02-23 15:06 ` No Wayman
  -- strict thread matches above, loose matches on Subject: below --
2023-02-10 17:20 [PATCH] Introduce " Timothy
2023-02-21 14:22 ` [POLL] Naming of " Timothy
2023-02-22  1:46   ` Dr. Arne Babenhauserheide
2023-02-22  2:40     ` Timothy
2023-02-23 15:55       ` No Wayman
2023-02-23 16:17         ` No Wayman
2023-02-22 12:23   ` Ihor Radchenko
2023-02-23 15:31     ` No Wayman
2023-02-23 16:04     ` Bruce D'Arcus
2023-02-23 19:04       ` Ihor Radchenko
2023-02-23 19:55     ` Sébastien Miquel
2023-02-24 10:27       ` Ihor Radchenko
2023-02-24 12:46         ` Sébastien Miquel
2023-02-24 13:03           ` Ihor Radchenko
2023-02-24 21:38             ` Sébastien Miquel
2023-02-26 12:28               ` Ihor Radchenko
2023-02-26 14:06                 ` Sébastien Miquel
2023-02-27 19:32                   ` Ihor Radchenko

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='CAO48Bk_WGW9T=4WzF7fYb35mgpkt6r+QtS13Ywp3-PFXrJrMUg@mail.gmail.com' \
    --to=paaguti@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).