From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: org-to-odt src code blocks, customize listings-like
Date: Thu, 31 Aug 2017 12:05:15 +0000 [thread overview]
Message-ID: <87tw0oosck.fsf@mat.ucm.es> (raw)
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?
reply other threads:[~2017-08-31 12:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=87tw0oosck.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
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).