emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [[latex:textsc][some text]] becomes \texttt{some text}


From: Brady Trainor
Subject: Re: [O] [[latex:textsc][some text]] becomes \texttt{some text}
Date: Sun, 31 Aug 2014 18:54:53 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0

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

Brady Trainor <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]