Rearrange option code and remove extraneous space

This commit is contained in:
TEC 2023-07-06 19:16:45 +08:00
parent de9c52d24d
commit e5e2d6e57a
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 10 additions and 12 deletions

View File

@ -381,9 +381,17 @@ compiler will be used."
(cdr (bounds-of-thing-at-point 'word)))))))
(orgdiff--define-infix
"-a" latexdiff-async "Export Org to TeX asyncronously"
"-A" latexdiff-async "Export Org to TeX asyncronously"
'boolean nil
(not orgdiff-latexdiff-async))
(orgdiff--define-infix
"-F" latexdiff-flatten "Flatten includes"
'boolean nil
(not orgdiff-latexdiff-flatten))
(orgdiff--define-infix
"-S" latexdiff-allow-spaces "Allow spaces"
'boolean nil
(not orgdiff-latexdiff-allow-spaces))
(orgdiff--define-infix
"-d" latexdiff-skip-deleted "Omit all deleted content"
@ -401,16 +409,6 @@ compiler will be used."
"-f" latexdiff-floattype "Float type"
'symbol 'FLOATSAFE
(orgdiff--latexdiff-prompt-flag "--floattype"))
(orgdiff--define-infix
"-F" latexdiff-flatten "Flatten includes"
'boolean nil
(not orgdiff--latexdiff-flatten))
(orgdiff--define-infix
"-S" latexdiff-allow-spaces "Allow spaces"
'boolean nil
(not orgdiff-latexdiff-allow-spaces))
(orgdiff--define-infix
"-m" latexdiff-math-markup "Math markup"
'symbol 'coarse
@ -433,7 +431,7 @@ compiler will be used."
;; Preamble file
;; Cleanup output # custom
]
["Style "
["Style"
(orgdiff--set-latexdiff-skip-deleted)
(orgdiff--set-latexdiff-type)
(orgdiff--set-latexdiff-subtype)