[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] org-to-odt src code blocks, customize listings-like
From: |
Uwe Brauer |
Subject: |
[O] org-to-odt src code blocks, customize listings-like |
Date: |
Thu, 31 Aug 2017 12:05:15 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] org-to-odt src code blocks, customize listings-like,
Uwe Brauer <=