emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Markup in BEGIN_EXAMPLE and alike block
@ 2011-08-08  5:00 Vladimir Lomov
  2011-08-19 22:48 ` Bastien
  2011-08-20 17:46 ` Renzo Been
  0 siblings, 2 replies; 3+ messages in thread
From: Vladimir Lomov @ 2011-08-08  5:00 UTC (permalink / raw)
  To: emacs-orgmode

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?

---
TIA, Vladimir Lomov

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Markup in BEGIN_EXAMPLE and alike block
  2011-08-08  5:00 Markup in BEGIN_EXAMPLE and alike block Vladimir Lomov
@ 2011-08-19 22:48 ` Bastien
  2011-08-20 17:46 ` Renzo Been
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2011-08-19 22:48 UTC (permalink / raw)
  To: Vladimir Lomov; +Cc: emacs-orgmode

Hi Vladimir,

Vladimir Lomov <lomov.vl@gmail.com> writes:

> *** 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?

No, this is currently not possible, sorry.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Markup in BEGIN_EXAMPLE and alike block
  2011-08-08  5:00 Markup in BEGIN_EXAMPLE and alike block Vladimir Lomov
  2011-08-19 22:48 ` Bastien
@ 2011-08-20 17:46 ` Renzo Been
  1 sibling, 0 replies; 3+ messages in thread
From: Renzo Been @ 2011-08-20 17:46 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-20 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-08  5:00 Markup in BEGIN_EXAMPLE and alike block Vladimir Lomov
2011-08-19 22:48 ` Bastien
2011-08-20 17:46 ` Renzo Been

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