From: Jacek Generowicz <jacek.generowicz@cern.ch>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Export of inline source blocks
Date: Thu, 26 Sep 2013 17:36:22 +0200 [thread overview]
Message-ID: <87ob7fzjc0.fsf@cern.ch> (raw)
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: #+BEGIN<sub>SRC</sub> c++
| int a;
| #+END<sub>SRC</sub> 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.
next reply other threads:[~2013-09-26 15:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-26 15:36 Jacek Generowicz [this message]
2013-09-26 16:51 ` Export of inline source blocks Eric Schulte
2013-09-26 18:17 ` Jacek Generowicz
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ob7fzjc0.fsf@cern.ch \
--to=jacek.generowicz@cern.ch \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.