RE: Bug: Percentage in caption (even escaped) does not work in LaTeX export

2021-08-31 Thread Charest, Luc
Hello Timothy,

   Yeah, I tried, and it did not worked.

   I had exchanged emails with Eric, we came to the conclusion that the source 
of the problem might be a clash between my emacs version 26 and an updated 
version of the org-mode. I have to try to update my emacs to see where it goes 
from there, but have to find some time to do it.

   I was thinking also I might had screw up my installation some time ago by 
attempting to install Org-roam. It stopped at some point complaining about not 
finding the database, which, from what I understand, was supposed to be 
downloaded and compiled manually.

   Anyway, I'll try updating my emacs with a fresh install, I'll keep you 
inform. 

Thank you for the follow-up ! 

-Message d'origine-
De : Timothy  
Envoyé : 31 août 2021 11:38
À : Charest, Luc 
Cc : Eric S Fraga ; emacs-orgmode@gnu.org
Objet : Re: Bug: Percentage in caption (even escaped) does not work in LaTeX 
export

[You don't often get email from tecos...@gmail.com. Learn why this is important 
at http://aka.ms/LearnAboutSenderIdentification.]

Courriel provenant de l'externe
ATTENTION, avant d'accéder à une pièce jointe ou à un lien de ce courriel, 
assurez-vous que celui-ci provient d'un tiers de confiance.

Hi Luc,

Eric wrote:
> What happens if you do specify a language?
>
> If I specify a language, the export is fine with % unescaped, by the 
> way.

Have you been able to give this a shot?

All the best,
Timothy



Bug: Percentage in caption (even escaped) does not work in LaTeX export

2021-08-03 Thread Charest, Luc

Hello,

   I simplified the problem down to :

#+CAPTION: Org Mode works 99.99\% of the time.
#+BEGIN_SRC -n
// this is only a proof of concept
#+END_SRC

As soon as I put the percentage sign in the caption, the LaTeX export backend 
fails with this message :

org-latex-src-block: Not enough arguments for format string

I tried "%", "\%", "\\%", "%%"... nothing works !

If I get it wrong, sorry but please update the documentation accordingly, as I 
found nothing in the specs regarding this matter specifically.

My versions :
Emacs  : GNU Emacs 26.2 (build 1, x86_64-w64-mingw32)
of 2019-04-13
Package: Org mode version 9.4.6 (9.4.6-4-g093c94-elpa)

Thanks !

[http://www.hydroquebec.com/images/logo-hqp-courriel.gif]

Luc Charest
Conseiller Optimisation I
Optimisation Modélisation Mathématique
Direction Production et Exploitation
Hydro-Québec Production
Édifice Jean-Lesage
75, boulevard René-Lévesque Ouest, 9e étage
Montréal (Québec) H2Z 1A4
Tél. : 514 289-2211,7049
Interne0-289-7049
www.hydroquebec.com
[http://www.hydroquebec.com/images/2019g289-signature-courriel-bandeau.gif]