From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: texinfo -- markup in example blocks Date: Tue, 11 Dec 2012 11:51:21 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b67897cd47b5204d0967de8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiT3Y-0000wA-B7 for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 11:51:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiT3S-0002ik-0b for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 11:51:44 -0500 Received: from mail-qc0-f169.google.com ([209.85.216.169]:61821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiT3R-0002ib-RG for emacs-orgmode@gnu.org; Tue, 11 Dec 2012 11:51:37 -0500 Received: by mail-qc0-f169.google.com with SMTP id t2so2607590qcq.0 for ; Tue, 11 Dec 2012 08:51:37 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: Org-mode --047d7b67897cd47b5204d0967de8 Content-Type: text/plain; charset=UTF-8 Hello Tom On 7 December 2012 16:27, Thomas S. Dye 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 --047d7b67897cd47b5204d0967de8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Tom

On 7 December 2012 16:27, Thoma= s S. Dye <tsd@tsdye.com> wrote:
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
--047d7b67897cd47b5204d0967de8--