[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] text color + highlight
From: |
Carsten Dominik |
Subject: |
Re: [Orgmode] text color + highlight |
Date: |
Mon, 9 Aug 2010 08:28:40 +0200 |
On Aug 8, 2010, at 11:00 PM, Eric Schulte wrote:
Vinh Nguyen <address@hidden> writes:
On Fri, Aug 6, 2010 at 8:15 PM, Eric Schulte
<address@hidden> wrote:
In playing with the patched code I sent out, I noticed that it may
be
doing weird things to my headings (#+Title: etc...) in some Org-mode
files, so probably it could use some more tweaking before any merge,
also I'd not want to rush what could be a reasonably large change
into
Org-mode without more discussion, but I agree I'd ultimately like
to see
some form of this functionality appear in Org-mode.
Best -- Eric
Eric, so are you tweaking the code to give it a more org-like syntax?
If not, I'll have to get dirty with your patch to figure out the lisp
code.
You're right the regular parentheses will probably be mixed up with
lisp code. Sebastian also brought up that curly braces are hard to
type on a German keyboard. Just googled up the layout -- don't even
seen them.
What syntax to use...
I've thought briefly about the following syntax
[color[red] text to be colored red]
Nope, I am against this syntax. If we introduce a more general syntax,
then it should be done in the way Samuel proposed. WHich means
we firs get a keyword indtroducing the piece, and then properties.
Like
$[style :color red the red text]
or
$[face :color :italic t red the red text]
Something like the $ before "[" also would seem critical to disambiguate
from other uses of "[".
However, I am not too excited about extra syntax to get this kind of
thing.
Would not oppose it, but probably never use it.
- Carsten
- this would be extensible, e.g.
[background[yellow] highlighted text]
could export to the following html
<span "style=background:yellow;">highlighted text</span>
- this would avoid "{}"s
- this would look more "org-like" than the pure latex solution
the only issue with the above is that it may conflate a new /markup/
syntax with org-mode's existing /link/ syntax.
Thoughts? -- Eric
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
- Re: [Orgmode] text color + highlight, (continued)
- Re: [Orgmode] text color + highlight, Vinh Nguyen, 2010/08/06
- [Orgmode] Re: text color + highlight, Seweryn, 2010/08/06
- Re: [Orgmode] text color + highlight, Eric Schulte, 2010/08/06
- Re: [Orgmode] text color + highlight, Vinh Nguyen, 2010/08/06
- Re: [Orgmode] text color + highlight, Eric Schulte, 2010/08/06
- [Orgmode] Re: text color + highlight, Dan Davison, 2010/08/06
- Re: [Orgmode] text color + highlight, Vinh Nguyen, 2010/08/08
- Re: [Orgmode] text color + highlight, Eric Schulte, 2010/08/08
- Re: [Orgmode] text color + highlight, Eric Schulte, 2010/08/09
- Re: [Orgmode] text color + highlight, Samuel Wales, 2010/08/09
- Re: [Orgmode] text color + highlight,
Carsten Dominik <=
- Re: [Orgmode] text color + highlight, Robert Klein, 2010/08/09
- Re: [Orgmode] text color + highlight, Robert Klein, 2010/08/09
- Re: [Orgmode] text color + highlight, Christian Moe, 2010/08/10
- Re: [Orgmode] text color + highlight, Carsten Dominik, 2010/08/10
- Re: [Orgmode] text color + highlight, Christian Moe, 2010/08/10
- Re: [Orgmode] text color + highlight, Eric Schulte, 2010/08/10
- Re: [Orgmode] text color + highlight, Christian Moe, 2010/08/10
- Re: [Orgmode] text color + highlight, David Maus, 2010/08/10
- Re: [Orgmode] text color + highlight, Christian Moe, 2010/08/10
- Re: [Orgmode] text color + highlight, Eric Schulte, 2010/08/10