[Orgmode] Rendering of = and - as arrows in exports?

2010-03-04 Thread Geralt
Hi, I'd like it if = and - would be exported as if they were \Rightarrow and respectively \rightarrow. Of course it should be optional (but I think enabled by default is what most people desire). What do you think? Rendering auf - could be treated in that way, too but = is also lower-equal and

Re: [Orgmode] Rendering of = and - as arrows in exports?

2010-03-04 Thread Valentin Wüstholz
Hi, the following hack works quite well for me: (add-hook 'org-export-latex-after-blockquotes-hook 'org-export-latex-arrows) (defun org-export-latex-arrows () (goto-char (point-min)) (while (search-forward == nil t) (org-if-unprotected (replace-match (org-export-latex-protect-string