emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brady Trainor <algebrat@uw.edu>
To: emacs-orgmode@gnu.org
Subject: Re: [[latex:textsc][some text]] becomes \texttt{some text}
Date: Sun, 31 Aug 2014 18:54:53 -0700	[thread overview]
Message-ID: <lu0jlg$sn$1@ger.gmane.org> (raw)
In-Reply-To: <87d2bhvznn.fsf@nicolasgoaziou.fr>

On 8/31/2014 1:20 AM, Nicolas Goaziou wrote:
> Hello,
>
> Brady Trainor <algebrat@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	other threads:[~2014-09-01  1:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-30 23:33 [[latex:textsc][some text]] becomes \texttt{some text} Brady Trainor
2014-08-31  8:20 ` Nicolas Goaziou
2014-09-01  1:54   ` Brady Trainor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lu0jlg$sn$1@ger.gmane.org' \
    --to=algebrat@uw.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).