GNU bug report logs - #50555
[BUG] Org Latex export doesn't handle src blocks correctly

Previous Next

Package: org-mode;

Reported by: Younes Ben El <younes.brovi <at> gmail.com>

Date: Sun, 12 Sep 2021 20:53:02 UTC

Severity: normal

Tags: moreinfo, patch

Done: Daniel Fleischer <danflscr <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 50555 <at> debbugs.gnu.org (full text, mbox):

From: Daniel Fleischer <danflscr <at> gmail.com>
To: Younes Ben El <younes.brovi <at> gmail.com>
Cc: 50555 <at> debbugs.gnu.org
Subject: Re: bug#50555: [BUG] Org Latex export doesn't handle src blocks
 correctly
Date: Sat, 18 Sep 2021 13:57:27 +0300
Younes Ben El [2021-09-12 Sun 21:25] wrote:

> When exporting from org to latex , src blocks are not handled correctly.
> This happens when you specify a prog-language name after #+BEGIN_SRC
> Which results to an extra *[]* in exported latex file thus when
> compiling it to pdf , it won't display the code block.

It's true that there are empty [] argument list for the minted package
in the latex code; however I am able to compile your (and my) latex code
into PDF with and without it so I'm not sure that something needs to be
done in org-mode. Can you send the resulting latex file and/or specify
why it's not compiling?

-- 

Daniel Fleischer




This bug report was last modified 3 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.