[-- Attachment #1.1: Type: text/plain, Size: 501 bytes --] Writing Genetic phenotypes in Org-Mode I am running into the following problem: When I issue a set of commands that combine Italics and/or superscript I do not get expected behavior 1. /Asm-1/ <==EXPECTED 2. Asm-1^+ <==NOT EXPECTED 3. /Asm-1/^+ <==NOT EXPECTED 4. /Asm-1/^5 <==NOT EXPECTED 5. Asm-1^5 <==EXPECTED 6. /Asm-1/ ^+ <==NOT EXPECTED 7. /Asm-1/ ^5 <==NOT EXPECTED 8. /Asm-1/_+_ <==NOT EXPECTED 9. /matA^HMG/ <==EXPECTED 10. /asm-1^+/ <==NOT EXPECTED Please help/advice --Rodolfo [-- Attachment #1.2: Type: text/html, Size: 1038 bytes --] [-- Attachment #2: orgmodetest.html --] [-- Type: text/html, Size: 5777 bytes --] [-- Attachment #3: orgmodetest.org --] [-- Type: application/octet-stream, Size: 363 bytes --] #+TITLE: OrgModeTest.Org -------- 1. /Asm-1/ 2. Asm-1^+ 3. /Asm-1/^+ 4. /Asm-1/^5 5. Asm-1^5 6. /Asm-1/ ^+ 7. /Asm-1/ ^5 8. /Asm-1/_+_ 9. /matA^HMG/ 10. /asm-1^+/ ------ # +BEGIN_VERSE -------- 1. /Asm-1/ 2. Asm-1^+ 3. /Asm-1/^+ 4. /Asm-1/^5 5. Asm-1^5 6. /Asm-1/ ^+ 7. /Asm-1/ ^5 8. /Asm-1/_+_ 9. /matA^HMG/ 10. /asm-1^+/ ------ # +END_VERSE
Rodolfo Aramayo <raramayo@gmail.com> writes: > Writing Genetic phenotypes in Org-Mode I am running into the following problem: > > When I issue a set of commands that combine Italics and/or superscript I do not get expected behavior > > 1. /Asm-1/ <==EXPECTED > > 2. Asm-1^+ <==NOT EXPECTED > Try Asm-1^{+} > 3. /Asm-1/^+ <==NOT EXPECTED > This can work I believe (with curly braces around the +) but it requires munging org-emphasis-regexp-components to allow the caret as a postmatch character. Untested. > 4. /Asm-1/^5 <==NOT EXPECTED > Ditto. > 5. Asm-1^5 <==EXPECTED > > 6. /Asm-1/ ^+ <==NOT EXPECTED What do you expect here? > > 7. /Asm-1/ ^5 <==NOT EXPECTED > and here? > 8. /Asm-1/_+_ <==NOT EXPECTED > and here? > 9. /matA^HMG/ <==EXPECTED > > 10. /asm-1^+/ <==NOT EXPECTED > Try /asm-1^{+}/ Nick