On Feb 4, 2010, at 5:48 PM, Uriel Avalos wrote:

Here's an easy one for the guru's, why does an apostrophe at the beginning of a =code= not work? When I export the following text to HTML, the "'life" variable isn't set as code (and the = symbols show up):

        Select ='life= for the x variable.

If I escape the apostrophe, I course get back the escape character in the HTML:

        Select =\'life= for the x variable.

That is because '=life=' was considered more likely than what you are using. Org-mode is using a heuristic method to figure out what is a normal equal sign, and what introduces code. Feel free to play with the variable `org-emphasis-regexp-components' and see if you can come up with something that works for you.

- Carsten



_______________________________________________
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