emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Tim Visher <tim.visher@gmail.com>
Cc: Emacs Org Mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Nested quote blocks?
Date: Wed, 4 Mar 2020 07:27:59 +0000	[thread overview]
Message-ID: <87pndso9z5.fsf@ucl.ac.uk> (raw)
In-Reply-To: CAHa53uy7KnUKjS1tzcFVPM1_CxqTohnBJXtBO_uRdq0W=Pg0xA@mail.gmail.com

On Tuesday,  3 Mar 2020 at 12:57, Tim Visher wrote:
> Is there a way to get nested quotes blocks to work?

What is your actual goal?  That is, what you do mean by "to work"?  I
ask because although, as Nicolas has said, you cannot do this directly
with org, you can achieve some specific goals with special blocks and/or
drawers.  For instance, if your goal were to export to LaTeX, this code
would do the job:

#+begin_src org
  ,#+latex_header: \let\myquote\quote
  ,* testing nested blocks
  Joe said:

  ,#+begin_quote
  This is the outer block.

  ,#+begin_myquote
  and this is the inner block
  ,#+end_myquote

  followed by the outer block.
  ,#+end_quote

  and that is all folks.
#+end_src

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-354-g9d5880

  parent reply	other threads:[~2020-03-04  7:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-03 17:57 Nested quote blocks? Tim Visher
2020-03-03 18:26 ` Nicolas Goaziou
2020-03-04  7:27 ` Fraga, Eric [this message]
2020-03-04 17:57   ` Tim Visher
2020-03-05  6:45     ` Fraga, Eric
2020-03-05 16:14       ` Tim Visher

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pndso9z5.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=tim.visher@gmail.com \
    /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 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).