emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Fleischer <danflscr@gmail.com>
To: Younes Ben El <younes.brovi@gmail.com>
Cc: 50555@debbugs.gnu.org
Subject: bug#50555: [BUG] Org Latex export doesn't handle src blocks correctly
Date: Sat, 18 Sep 2021 13:57:27 +0300	[thread overview]
Message-ID: <m27dfe40dk.fsf@gmail.com> (raw)
In-Reply-To: <CAAM66s7Ej_i8tep4vaOyb8Uv-zNpeA-N7E2d+C1yctSCuwkrMA@mail.gmail.com> (Younes Ben El's message of "Sun, 12 Sep 2021 21:25:55 +0100")

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




       reply	other threads:[~2021-09-18 10:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAAM66s7Ej_i8tep4vaOyb8Uv-zNpeA-N7E2d+C1yctSCuwkrMA@mail.gmail.com>
2021-09-18 10:57 ` Daniel Fleischer [this message]
2021-09-18 14:38   ` bug#50555: [BUG] Org Latex export doesn't handle src blocks correctly Younes Ben El
2021-09-18 19:45     ` Daniel Fleischer
2021-09-18 19:53       ` Younes Ben El
2021-09-18 20:04         ` bug#50555: [PATCH] " Daniel Fleischer
2021-09-27  8:29           ` Bastien

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=m27dfe40dk.fsf@gmail.com \
    --to=danflscr@gmail.com \
    --cc=50555@debbugs.gnu.org \
    --cc=younes.brovi@gmail.com \
    /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).