emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giuseppe Lipari <giulipari@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)]
Date: Mon, 20 Jan 2014 10:35:10 +0100	[thread overview]
Message-ID: <CABHo5SC-AxX_Ts8W+Aw-XCh63hJEJ-V0eFVHk4+erVVwnMkbAA@mail.gmail.com> (raw)
In-Reply-To: <87zjms7yeq.fsf@bzg.ath.cx>

[-- Attachment #1: Type: text/plain, Size: 1701 bytes --]

Dear Bastien,

thanks for the response. I did some debugging, but I am not an expert of
elisp and org-mode. Anyway, this is what I found:

I put a breakpoint in fuinction org-latex-src-block() which receives
src-block as parameter. This parameter contains field language already set
to c++\"-std=c++11\", which is of course wrong. Therefore the problem is
before this function is called, but I could not follow the chain and so I
do not know precisely which function is responsible for this.

Also, the bug triggers also when I specify C as a language. Therefore,
probably the problem is somewhere in ob-C.el.

Thanks again

Giuseppe Lipari

2014/1/19 Bastien <bzg@gnu.org>

> Hi Giuseppe,
> Giuseppe Lipari <giulipari@gmail.com> writes:
> > Remember to cover the basics, that is, what you expected to happen
> > and
> > what in fact did happen.  You don't know how to make a good report?
> > See
> >
> >      http://orgmode.org/manual/Feedback.html#Feedback
> >
> > Your bug report will be posted to the Org-mode mailing list.
> > ------------------------------------------------------------------------
> >
> > Dear all,
> >
> > I have a problem with org-babel and the export of C++11 code to
> > LaTeX.
> >
> > I report below a simple example of a problem file:
> I can reproduce this bug -- maybe Eric will have time to fix it,
> otherwise I will have a look next week.
> Thanks,
> --
>  Bastien

Giuseppe Lipari
Scuola Superiore Sant'Anna
via Moruzzi, 1
56127 Pisa
tel:   050 882030
fax:  050 882003
web: http://feanor.sssup.it/~lipari/
blogs: http://scacciamennule.blogspot.com

[-- Attachment #2: Type: text/html, Size: 2835 bytes --]

  reply	other threads:[~2014-01-20  9:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-11 13:55 Bug: Org-babel export of c++11 code to Latex does not work properly [7.9.4 (7.9.4-elpa @ /home/lipari/.emacs.d/elpa/org-20130401/)] Giuseppe Lipari
2014-01-19 16:02 ` Bastien
2014-01-20  9:35   ` Giuseppe Lipari [this message]
2014-01-20 13:13     ` Nicolas Goaziou
2014-01-20 13:17       ` Nicolas Goaziou
2014-01-20 13:22         ` Nicolas Goaziou
2014-01-20 13:41           ` Giuseppe Lipari
2014-01-20 15:26           ` Eric Schulte
2014-01-20 16:18             ` Nicolas Goaziou

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:

  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=CABHo5SC-AxX_Ts8W+Aw-XCh63hJEJ-V0eFVHk4+erVVwnMkbAA@mail.gmail.com \
    --to=giulipari@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \


* 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


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).