emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Amos Bird <amosbird@gmail.com>, emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Allow more export options to be controlled per-subtree
Date: Thu, 28 Sep 2017 18:59:19 +0000	[thread overview]
Message-ID: <CAFyQvY3iYoR0my4NmOgw7sT+p=e6q6qUVZrb+Douj3XET9w_Wg@mail.gmail.com> (raw)
In-Reply-To: <87d16aoe2w.fsf@nicolasgoaziou.fr>

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

On Thu, Sep 28, 2017 at 2:47 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Besides the fact that it is not available, is there any incentive to do
> so?


While talking to Amos (now CC'ed on this email) off-list on Gitter chat
regarding the ox-hugo package, he had this test case[1] where he sets
"#+OPTIONS:
*:nil" to prevent the interpretation of Org emphasis chars in that table,
which exports to this Markdown[2], and finally this[3].

Now, we can have a single Org file with multiple sub-trees and each
sub-tree exports to a separate Markdown file. It would not be practical to
globally set "#+OPTIONS: *:nil".

With this proposal implemented, if cases like the Org table linked above
exist, we can disable emphasis interpretation localized only to that single
subtree.

This proposal will basically allow each Org sub-tree to get all the export
options the whole Org file gets; making sub-tree export a more prime
feature.


> AFAIC this variable could not exist.
>

I didn't understand that.

[1]:
https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/test/site/content-org/single-posts/export-without-emphasize.org
[2]:
https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/test/site/content/posts/export-without-emphasize.md
[3]: https://ox-hugo.netlify.com/test/posts/export-without-emphasize/

-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 2716 bytes --]

  reply	other threads:[~2017-09-28 18:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-28 17:28 Allow more export options to be controlled per-subtree Kaushal Modi
2017-09-28 18:40 ` Kaushal Modi
2017-09-28 18:47 ` Nicolas Goaziou
2017-09-28 18:59   ` Kaushal Modi [this message]
2017-09-28 19:19     ` Nicolas Goaziou
2017-09-28 19:25       ` Kaushal Modi
2017-09-30  4:59       ` Kaushal Modi
2017-09-30  5:44         ` Amos Bird
2017-09-30 12:13           ` Kaushal Modi

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='CAFyQvY3iYoR0my4NmOgw7sT+p=e6q6qUVZrb+Douj3XET9w_Wg@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=amosbird@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).