Thanks Eric, this works.  I do agree that the implemented syntax is
not org-like but more latex-like.  To be more org-like, could we use
parentheses or curly braces like how links are implemented?  They
aren't taken, are they?  For example,

((red)(this text is red))
{{yellow}{this text is highlighted yellow}} ## see
http://answers.yahoo.com/question/index?qid=20080316135432AANXSJc

What do you think?  How hard would it be to change your code to this?
Can this be merged into the development branch?

Thanks,
Vinh


On Fri, Aug 6, 2010 at 2:51 PM, Eric Schulte <schulte.e...@gmail.com> wrote:
> Hi,
>
> I've recently seen similar requests on this list.
>
> The attached patch provides a first pass at this support implementing
> both in-buffer coloring given the following syntax, and html export (I
> don't know the correct LaTeX syntax, but it shouldn't be hard to extend
> this to LaTeX as well).  This uses something like the LaTeX Beamer
> \color{}{} directive, for example...
>
>  My name is \color{red}{eric} schulte.
>
> Would result in the word "eric" appearing in red.  Even though I
> implemented the syntax above, I'm *not* recommending this syntax, it
> feels decidedly more like "latex" than "org", it was simply the only
> obvious option for this initial implementation.
>
> -- Eric
>

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to