From: Vicente Vera <vicentemvp@gmail.com>
To: "Charles C. Berry" <ccberry@ucsd.edu>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Exporting blocks of text completely verbatim
Date: Thu, 9 Feb 2017 23:16:19 +0000 [thread overview]
Message-ID: <CAMfbzvDAM5X6nmBm4qeQMmNruv7OEHKZO5jVyKoXwYP8dLBBRg@mail.gmail.com> (raw)
In-Reply-To: <alpine.OSX.2.20.1702091114580.809@charles-berrys-macbook.local>
[-- Attachment #1: Type: text/plain, Size: 1396 bytes --]
You're absolutely right. The MWE I made had a nasty typo that blew
everything up! I'm sorry for the noise.
The information in the manual still looks misleading to me:
#+BEGIN_EXPORT ascii
All lines in this block will appear only when using this back-end.
#+END_EXPORT
(Taken from "12.7 ASCII/Latin-1/UTF-8 export")
This doesn't seem to be related to verbatim text.
2017-02-09 19:19 GMT+00:00 Charles C. Berry <ccberry@ucsd.edu>:
> On Thu, 9 Feb 2017, Vicente Vera wrote:
>
> Hello. This discussion
>> https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00163.html
>> points out that Org tables are converted to HTML tables when exporting
>> through "ox-md". Leaving Markdown-related issues aside, I've stumbled
>> upon this problem a while back.
>>
>> It is suggested that wrapping the table within a "#+(BEGIN|END)_EXPORT
>> md" should leave it as-is in the exported document but that is not the
>> case. The table gets converted to HTML anyway.
>>
>>
> Not in recent versions of org. Here is an example of a table that is
> exported as a table without any html-ization:
>
> #+BEGIN_SRC emacs-lisp :results raw
> (org-export-string-as
> "
> ,#+begin_export md
> | a |
> | b |
> ,#+end_export"
> 'md t)
>
> #+END_SRC
>
> #+RESULTS:
> | a |
> | b |
>
>
> Of course, the comma escapes are stripped before `org-export-string-as'
> sees the string.
>
> HTH,
>
> Chuck
>
[-- Attachment #2: Type: text/html, Size: 2165 bytes --]
prev parent reply other threads:[~2017-02-09 23:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 14:11 Exporting blocks of text completely verbatim Vicente Vera
2017-02-09 14:27 ` John Kitchin
2017-02-09 16:27 ` Vicente Vera
2017-02-09 19:19 ` Charles C. Berry
2017-02-09 23:16 ` Vicente Vera [this message]
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=CAMfbzvDAM5X6nmBm4qeQMmNruv7OEHKZO5jVyKoXwYP8dLBBRg@mail.gmail.com \
--to=vicentemvp@gmail.com \
--cc=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
/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).