emacsorphanage / ox-pandoc

Another org-mode exporter via pandoc.
GNU General Public License v2.0
47 stars 13 forks source link

ox-pandoc should respect global value of org-export-with-sub-superscripts #10

Closed a-fent closed 2 years ago

a-fent commented 2 years ago

The variable org-export-with-sub-superscripts controls whether and how _ and ^ are interpreted as sub/superscript in exporting.

pandoc obeys these when they are set at file level, e.g. with #+OPTIONS: ^:nil. ox-pandoc should however respect the user's default Emacs setting even when a per-file option is not given. At the moment it defaults to the (IMO annoying) setting, true (always treat these as sub/superscript).

a-fent commented 2 years ago

Fix this with documentation - don't try to cram user's global settings into the export.