From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: how do you get an OPTIONS value during export? Date: Wed, 09 Aug 2017 11:03:43 -0400 Message-ID: <87efskiy0g.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfSWj-0004lt-Ey for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 11:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfSWf-0005uV-Hi for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 11:04:05 -0400 Received: from [195.159.176.226] (port=60117 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfSWf-0005uA-BN for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 11:04:01 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dfSWW-000781-JX for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 17:03:52 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org John Kitchin 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