emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: how do you get an OPTIONS value during export?
Date: Wed, 09 Aug 2017 11:03:43 -0400	[thread overview]
Message-ID: <87efskiy0g.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: CAJ51ETrPkD6ppBwss966f1rKSgCC3L1z8fjhSM34w4TmMKdn4w@mail.gmail.com

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> Hi,
>
> In my ipynb exporter, I generate md strings for cells using something like
>
> (org-export-string-as
> s
> 'md t '(:with-toc nil :with-tags nil))
>
> This works unless there is a broken link:
>
> https://github.com/jkitchin/ox-ipynb/issues/2#issuecomment-321061051
>
> I figured out I can make it work with :with-broken-links mark, but that might overrule what is in an #+OPTIONS line.
>
> So, my question is how do I get the value of what :with-broken-links should be that has the right prececedence, i.e. OPTIONS > org-export-with-broken-links, during the export?
>

I'm probably being dense, but I don't understand the question. Isn't
the point to overrule what the #+OPTIONS line says (for this particular
string) by adding  '( ... :with-broken links mark) to the list?

-- 
Nick

      parent reply	other threads:[~2017-08-09 15:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-08 20:11 how do you get an OPTIONS value during export? John Kitchin
2017-08-09 14:55 ` Rasmus
2017-08-09 15:03 ` Nick Dokos [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=87efskiy0g.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --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).