[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] LaTeX > PDF blocked by extender chars in filename

From: Adonay Felipe Nogueira
Subject: Re: [O] LaTeX > PDF blocked by extender chars in filename
Date: Wed, 30 Aug 2017 14:57:34 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

This somehow happens to be problematic to me too, if for some reason the
inclusion of the file isn't made by Org mode itself.

For example, we know that "#+INCLUDE:" keywords at the start of the line
are Org mode specific includes, and you can place the file references in
the first argument with the literal characters (that is: no need to do
percent encoding/escaping).

However, hyperlinks (that is: those between "[[" and "]]") demand
percent encoding/escaping. But, it seems that the Org-to-LaTeX exporter
isn't translating the hyperlinks to something LaTeX understands (LaTeX
expects literal characters, and "%" is the start of a comment).

Also, as a final note, the default grffile inclusion in the Org-to-LaTeX
(and to PDF also) doesn't include the necessary options to make LaTeX
accept spaces and accents in file names. That's OK for compatibility
reasons, and if you do want to force it to accept such special
characters, use the grffilesetup LaTeX command with the proper grffile

Personally, I like to go the safest route: remove special characters
from file names whenever I don't need them. I generally replace spaces
with underscores, and leave letters without accent. This also avoids
having to deal with the broken percent decoding/unescaping when doing
Org-to-LaTeX exports.

Hope this helps! :)

- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
- "WhatsApp"? Ele não é livre. Por favor, use o GNU Ring ou o Tox.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]