From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: org-to-odt src code blocks, customize listings-like Date: Thu, 31 Aug 2017 12:05:15 +0000 Message-ID: <87tw0oosck.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnOF2-0002XP-OQ for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 08:06:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnOEx-0005NS-0W for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 08:06:36 -0400 Received: from [195.159.176.226] (port=59848 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnOEw-0005N7-PH for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 08:06:30 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dnOE9-0008WD-Mw for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 14:05:41 +0200 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" To: emacs-orgmode@gnu.org Following http://orgmode.org/manual/Literal-examples-in-ODT-export.html#Literal-examples-in-ODT-export I want to convert the following #+begin_src matlab intv=[0,1.5]; y0=0; N=40; N2=80; l=-2000; [teul, yeul]=miimplement1(l,intv,y0,N); [teul2, yeul2]=miimplement1(l,intv,y0,N2); yeulend=yeul(end); yeul2end=yeul2(end); disp('\begin{align*}') fprintf('yeulend = %g \\\\\n', yeulend) fprintf('yeul2end = %g \\\\\n', yeul2end) disp('\end{align*}') #+end_src However the standard converted odt file is not as nice as the conversion to latex using the listings package. So the question is how to do that the documentation talks about org-odt-create-custom-styles-for-srcblocks which is set to t, in my case, but how can I customize it to a more listings setting?