emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* disable table in EXAMPLE or QUOTE block
@ 2017-07-14  0:12 David Rogoff
  2017-07-14  8:33 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: David Rogoff @ 2017-07-14  0:12 UTC (permalink / raw)
  To: emacs-orgmode

I’m trying to draw an ASCII picture in a BEGIN_QUOTE block.  However, since it contains vertical bars, when I hit return, it formats the whole block as if it were a table.  How do I stop this incorrect behavior?  I tried BEGIN_EXAMPLE but it acted the same.

I can work around it by using  colon-space at the beginning of each line instead of begin/end block but it’s a bit ugly.

Thanks - David

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

* Re: disable table in EXAMPLE or QUOTE block
  2017-07-14  0:12 David Rogoff
@ 2017-07-14  8:33 ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2017-07-14  8:33 UTC (permalink / raw)
  To: David Rogoff; +Cc: emacs-orgmode

Hello,

David Rogoff <david@therogoffs.com> writes:

> I’m trying to draw an ASCII picture in a BEGIN_QUOTE block. However,
> since it contains vertical bars, when I hit return, it formats the
> whole block as if it were a table. How do I stop this incorrect
> behavior?

It is not incorrect. Quote blocks can contain tables per Org syntax.

> I tried BEGIN_EXAMPLE but it acted the same.

You could use C-c ' to edit example block in a different buffer, not in
Org mode.

> I can work around it by using colon-space at the beginning of each
> line instead of begin/end block but it’s a bit ugly.

The advantage of ": " is that C-c ' will put the new buffer in Artist
mode.

HTH,

Regards,

-- 
Nicolas Goaziou

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

* Re: disable table in EXAMPLE or QUOTE block
       [not found] <163a621f83b048d2bc1fa6a05eefb9fb@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2017-07-14  8:54 ` Eric S Fraga
  0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2017-07-14  8:54 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

On Friday, 14 Jul 2017 at 00:12, David Rogoff wrote:
> I’m trying to draw an ASCII picture in a BEGIN_QUOTE block.  However,
> since it contains vertical bars, when I hit return, it formats the
> whole block as if it were a table.  How do I stop this incorrect
> behavior?  I tried BEGIN_EXAMPLE but it acted the same.

You could use a ditaa source block which would also give you the bonus
of being able to exporting as a graphic?

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-573-g09e612

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

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

end of thread, other threads:[~2017-07-14  8:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <163a621f83b048d2bc1fa6a05eefb9fb@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-07-14  8:54 ` disable table in EXAMPLE or QUOTE block Eric S Fraga
2017-07-14  0:12 David Rogoff
2017-07-14  8:33 ` Nicolas Goaziou

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