From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: how do you get an OPTIONS value during export? Date: Tue, 8 Aug 2017 16:11:15 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1146da50d981030556439019" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfAqV-0004NV-Ld for emacs-orgmode@gnu.org; Tue, 08 Aug 2017 16:11:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfAqU-0001Ms-D9 for emacs-orgmode@gnu.org; Tue, 08 Aug 2017 16:11:19 -0400 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:34128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfAqU-0001M4-6A for emacs-orgmode@gnu.org; Tue, 08 Aug 2017 16:11:18 -0400 Received: by mail-wm0-x230.google.com with SMTP id t138so8898125wmt.1 for ; Tue, 08 Aug 2017 13:11:17 -0700 (PDT) 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" --001a1146da50d981030556439019 Content-Type: text/plain; charset="UTF-8" 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? Thanks, John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --001a1146da50d981030556439019 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

In my ipynb exporter, I generate md= strings for cells using something like

(org-export-st= ring-as
s
'md t '(:with-toc nil= :with-tags nil))

This works unless ther= e is a broken link:


I figured out I can make it work with=C2=A0:with-broken-links mark, b= ut that might overrule what is in an #+OPTIONS line.

So, my question is how do I get the value of what :with-broken-links sho= uld be that has the right prececedence, i.e. OPTIONS >=C2=A0org-export-w= ith-broken-links, during the export?

Thanks,
=

John

-----------------------------------
P= rofessor John Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical= Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-2= 68-7803
--001a1146da50d981030556439019--