* [[latex:textsc][some text]] becomes \texttt{some text} @ 2014-08-30 23:33 Brady Trainor 2014-08-31 8:20 ` Nicolas Goaziou 0 siblings, 1 reply; 3+ messages in thread From: Brady Trainor @ 2014-08-30 23:33 UTC (permalink / raw) To: emacs-orgmode I would have expected [[latex:textsc][some text]] to become \textsc{some text} Instead, it becomes \texttt{some text} My hackish fix is to modify a variable, (setq org-latex-link-with-unknown-path-format "\\textsc{%s}") Is there a better way? Brady Org-mode version 8.2.7c (8.2.7c-51-g896fa6-elpa @ /home/iam/.emacs.d/elpa/org-20140825/) ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [[latex:textsc][some text]] becomes \texttt{some text} 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 0 siblings, 1 reply; 3+ messages in thread From: Nicolas Goaziou @ 2014-08-31 8:20 UTC (permalink / raw) To: Brady Trainor; +Cc: emacs-orgmode 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, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [[latex:textsc][some text]] becomes \texttt{some text} 2014-08-31 8:20 ` Nicolas Goaziou @ 2014-09-01 1:54 ` Brady Trainor 0 siblings, 0 replies; 3+ messages in thread From: Brady Trainor @ 2014-09-01 1:54 UTC (permalink / raw) To: emacs-orgmode 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-09-01 1:55 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.