On 8/31/2014 1:20 AM, Nicolas Goaziou wrote:
Hello,

Brady Trainor <algeb...@uw.edu> writes:

I would have expected

     [[latex:textsc][some text]]

to become

     \textsc{some text}

Why would you expect that?


Regards,


My mistake, I got mixed up by multiple mentions and difficulty with google. It is solved now.

From [[http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-3][LaTeX Export for Org Mode 8_0 / 10.3 Inline Markup]]

(org-add-link-type
 "latex" nil
 (lambda (path desc format)
   (cond
    ((eq format 'html)
     (format "<span class=\"%s\">%s</span>" path desc))
    ((eq format 'latex)
     (format "\\%s{%s}" path desc)))))


Brady

(Might need an =(eval-after-load 'org '(blah...= or similar.



Reply via email to