At Tue, 26 Jan 2010 16:06:27 +0100,
Sébastien Vauban wrote:
> Eric S Fraga wrote:
> > At 24 Jan 2010 20:10:03 +0100,
> > Sven Bretfeld wrote:
> >>
> >> Is there any Symbol in org-beamer for \alert{Text}? In presentations \alert
[...]
> > org-export-latex-emphasis-alist (quote
> > (("*" "\\textbf{%s}" nil)
> > ("/" "\\emph{%s}" nil)
> > ("_" "\\underline{%s}" nil)
> > ("+" "\\texttt{%s}" nil)
> > ("=" "\\verb=%s=" nil)
> > ("~" "\\verb~%s~" t)
> > ("@" "\\alert{%s}" nil))))
> >
>
> That's what I'm using as well, but the problem is that it's not compatible
> anymore with non-beamer LaTeX, the alert macro being unknown.
Very true. I've never thought about this as my presentations are for
presentation only etc. However, it would definitely be nice to have a
more general solution.
> Would there be a way to conditionally translate @...@ to alert (if beamer) or
> to emph (if not-beamer), so that we can still easily compile a document to one
> or the other LaTeX "back-end", without having to customize variables in Emacs,
> prior to a compilation to the other "back-end"?
The alist structure doesn't allow for embedded lisp code, as far as I
can tell. It would obviously be easier if this structure could be
evaluated on the fly.
> I must admit I do not have clear specifications on how to tell Org about such
> a config...
The only suggestion I can come up with would be to modify this
variable using, for instance, the org-export-later-after-initial-vars-hook?
eric
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode