emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-to-odt src code blocks, customize listings-like
@ 2017-08-31 12:05 Uwe Brauer
  0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2017-08-31 12:05 UTC (permalink / raw)
  To: emacs-orgmode


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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-31 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-31 12:05 org-to-odt src code blocks, customize listings-like Uwe Brauer

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