From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacek Generowicz Subject: Export of inline source blocks Date: Thu, 26 Sep 2013 17:36:22 +0200 Message-ID: <87ob7fzjc0.fsf@cern.ch> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPDvu-0007dS-PV for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 11:56:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPDvg-0005ne-8u for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 11:56:50 -0400 Received: from cernmx30.cern.ch ([137.138.144.177]:43020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPDvg-0005me-3o for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 11:56:36 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Hi, When exporting an org file containing the line ,---- | Here is some source code: src_c++[:exports code]{int a;} It is inline. `---- the following HTML is generated ,---- | Here is some source code: #+BEGINSRC c++ | int a; | #+ENDSRC It is inline. `---- which looks approximately like this ,---- | Here is some source code: #+BEGINSRC c++ int a; #+ENDSRC It is inline. `---- When rendered, as opposed to the desired ,---- | Here is some source code: int a; It is inline. `---- where the 'int a;' would be syntax highlighted, use a proportional font, etc. Switching automitic subscripting off with ,---- | #+OPTIONS: ^:{} `---- doesn't improve the situation. The generated HTML is now ,---- | Here is some source code: #+BEGIN_SRC c++ | int a; | #+END_SRC It is inline. `---- which has the equally unsatisfactory visual appearance ,---- | Here is some source code: #+BEGIN_SRC c++ int a; #+END_SRC It is inline. `---- when rendered. The experiments were performed with org mode 8.2 on Emacs 24.3.50.1 Could you point out my mistake, please? Thank you.