Changeset dd4d95d in sasmodels


Ignore:
Timestamp:
Oct 28, 2017 7:49:10 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
87a6591
Parents:
0db85af
Message:

consistent $-math expression for sasmodels and sasview, now allowing 1-$\sigma$

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/_extensions/dollarmath.py

    r3d40839 rdd4d95d  
    1212import re 
    1313 
    14 _dollar = re.compile(r"(?:^|(?<=\s|[-(]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[-.,;)\\]))") 
     14_dollar = re.compile(r"(?:^|(?<=\s|[-(]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[-.,;:?\\)]))") 
    1515_notdollar = re.compile(r"\\[$]") 
    1616 
  • sasmodels/rst2html.py

    r0db85af rdd4d95d  
    104104 
    105105 
    106 _dollar = re.compile(r"(?:^|(?<=\s|[-(]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[-.,;)\\]))") 
     106_dollar = re.compile(r"(?:^|(?<=\s|[-(]))[$]([^\n]*?)(?<![\\])[$](?:$|(?=\s|[-.,;:?\\)]))") 
    107107_notdollar = re.compile(r"\\[$]") 
    108108def replace_dollar(content): 
Note: See TracChangeset for help on using the changeset viewer.