mirror of https://github.com/djcb/mu.git
man: fix formatting of underscores
In org-mode, underscores are used to represent subscripts. Thus, `a_b` will be transcoded to `a\d\s-2b\s+2\u`. Configure org-mode only to do this for `a_{b}`. Signed-off-by: Jeremy Sowden <azazel@debian.org>
This commit is contained in:
parent
f70efd3cec
commit
d8389e9721
|
@ -82,6 +82,7 @@ foreach src : man_orgs
|
|||
expr_tmpl = ''.join([
|
||||
'(progn',
|
||||
' (require \'ox-man)',
|
||||
' (setq org-export-with-sub-superscripts \'{})',
|
||||
' (org-export-to-file \'man "@0@"))'])
|
||||
expr = expr_tmpl.format(org.substring(0,-4))
|
||||
sectiondir = join_paths(mandir, 'man' + section)
|
||||
|
|
Loading…
Reference in New Issue