0

When I export all the images get the "figure" and the number of the image with the caption. When I export I want it to say "figura" instead of the English word.

1 Answer 1

1

Theoretically, all you have to do is add a header:

#+LANGUAGE: es

Don't forget to either close and reopen the file, or do C-c C-c on the header so that the setup will be refreshed.

That seems to work e.g. for text and HTML export, but LaTeX export does not work for me: it seems to require additional setup that I have not figured out yet.

EDIT: just to close the loop, for LaTeX, Org mode requires some help. First, the relevant LaTeX babel language package needs to be installed. This varies with the distro - on my Fedora 33 system, I had to do:

sudo dnf install texlive-babel-spanish

Then the header had to be augmented:

#+LANGUAGE: es
#+LATEX_HEADER: \usepackage[AUTO]{babel}

...

Not sure why the latex exporter does not do that automatically.

2
  • It didn't change in the LaTeX file, but as you said, it did work with the HTML export. I wonder what's missing :(. Thanks anyway!
    – Jvet
    Commented Mar 31, 2021 at 4:09
  • I found the answer here emacs.stackexchange.com/questions/21239/…
    – Jvet
    Commented Mar 31, 2021 at 4:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.