* texinfo -- markup in example blocks
@ 2012-12-07 21:27 Thomas S. Dye
2012-12-11 16:51 ` Jonathan Leech-Pepin
0 siblings, 1 reply; 2+ messages in thread
From: Thomas S. Dye @ 2012-12-07 21:27 UTC (permalink / raw)
To: Org-mode
Aloha Jon,
How can I mark up text in an example block? The following describes what
I'm after, but the markup, @b{} and @i{}, is passed through on export.
#+begin_example
,** Lord of the Rings
My favorite scenes are (in this order)
1. The attack of the Rohirrim
2. Eowyn's fight with the witch king
+ this was already my favorite scene in the book
+ I really like Miranda Otto.
3. Peter Jackson being shot by Legolas
- on DVD only
He makes a really funny face when it happens.
But in the end, no individual scenes matter but the film as a whole.
Important actors in this film are:
- @@info:@b{Elijah Wood}@@ :: He plays Frodo
- @@info:@b{Sean Austin}@@ :: He plays Sam, Frodo's friend. I still remember
him very well from his role as Mikey Walsh in @@info:@i{The Goonies}@@.
#+end_example
All the best,
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: texinfo -- markup in example blocks
2012-12-07 21:27 texinfo -- markup in example blocks Thomas S. Dye
@ 2012-12-11 16:51 ` Jonathan Leech-Pepin
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Leech-Pepin @ 2012-12-11 16:51 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Org-mode
[-- Attachment #1: Type: text/plain, Size: 2265 bytes --]
Hello Tom
On 7 December 2012 16:27, Thomas S. Dye <tsd@tsdye.com> wrote:
> Aloha Jon,
>
> How can I mark up text in an example block? The following describes what
> I'm after, but the markup, @b{} and @i{}, is passed through on export.
>
> #+begin_example
> ,** Lord of the Rings
> My favorite scenes are (in this order)
> 1. The attack of the Rohirrim
> 2. Eowyn's fight with the witch king
> + this was already my favorite scene in the book
> + I really like Miranda Otto.
> 3. Peter Jackson being shot by Legolas
> - on DVD only
> He makes a really funny face when it happens.
> But in the end, no individual scenes matter but the film as a whole.
> Important actors in this film are:
> - @@info:@b{Elijah Wood}@@ :: He plays Frodo
> - @@info:@b{Sean Austin}@@ :: He plays Sam, Frodo's friend. I still
> remember
> him very well from his role as Mikey Walsh in @@info:@i{The Goonies}@
> @.
> #+end_example
>
Your best bet would be to wrap the block in #+begin_src texinfo/#+end_src
#+begin_src texinfo
** Lord of the Rings
My favorite scenes are (in this order)
1. The attack of the Rohirrim
2. Eowyn's fight with the witch king
+ this was already my favorite scene in the book
+ I really like Miranda Otto.
3. Peter Jackson being shot by Legolas
- on DVD only
He makes a really funny face when it happens.
But in the end, no individual scenes matter but the film as a whole.
Important actors in this film are:
- @b{Elijah Wood} :: He plays Frodo
- @b{Sean Austin} :: He plays Sam, Frodo's friend. I still remember
him very well from his role as Mikey Walsh in @i{The Goonies}.
#+end_src
You'll have to insert normal @b{...} and @i{...} but they will be properly
exported.
Non-lisp source blocks are treated as @example/@end example in the
exporter, as are fixed width blocks (although those escape any
@-commands). Example blocks are exported as verbatim since those
perform no transformation on the content within.
> All the best,
> Tom
>
> --
> T.S. Dye & Colleagues, Archaeologists
> 735 Bishop St, Suite 315, Honolulu, HI 96813
> Tel: 808-529-0866, Fax: 808-529-0884
> http://www.tsdye.com
>
>
Regards,
--
Jon
[-- Attachment #2: Type: text/html, Size: 3162 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-11 16:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-07 21:27 texinfo -- markup in example blocks Thomas S. Dye
2012-12-11 16:51 ` Jonathan Leech-Pepin
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.