emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Markup in BEGIN_EXAMPLE and alike block


From: Renzo Been
Subject: Re: [O] Markup in BEGIN_EXAMPLE and alike block
Date: Sat, 20 Aug 2011 17:46:41 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Vladimir Lomov <lomov.vl <at> gmail.com> writes:
> Hi.

> I want to emphasize (using bold monospace font when exporting to HTML)
> some parts of text in example block. Consider the following example:

> *** Determining adapter chipset and used driver

> #+BEGIN_EXAMPLE
> zbox$ lspci -v
> ...
> 04:00.0 Network controller: *RaLink RT2860*
>  Subsystem: Device 1a3b:1059
>  Flags: bus master, fast devsel, latency 0, IRQ 19
>  Memory at febf0000 (32-bit, non-prefetchable) [size=64K]
>  Capabilities: [40] Power Management version 3
>  Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
>  Capabilities: [70] Express Endpoint, MSI 00
>  Capabilities: [100] Advanced Error Reporting
>  Kernel driver in use: *rt2800pci*
>  Kernel modules: rt2800pci
> #+END_EXAMPLE

> But in exported html file the '*'s are remain. Is it possible to use
> markup in BEGIN_EXAMPLE? Or I have to use another type of block?

This would do the trick:

*** Determining adapter chipset and used driver

#+BEGIN_HTML
<pre>zbox$ lspci -v
...
04:00.0 Network controller: <b>RaLink RT2860</b>
 Subsystem: Device 1a3b:1059
 Flags: bus master, fast devsel, latency 0, IRQ 19
 Memory at febf0000 (32-bit, non-prefetchable) [size=64K]
 Capabilities: [40] Power Management version 3
 Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
 Capabilities: [70] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Kernel driver in use: <b>rt2800pci</b>
 Kernel modules: rt2800pci</pre>
#+END_HTML

#+OPTIONS: f:nil

Ciao,
Renzo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]