Changeset 30b60d2 in sasmodels for sasmodels/generate.py


Ignore:
Timestamp:
Sep 5, 2017 12:39:41 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3a45c2c
Parents:
64eecf7
Message:

allow build of both latex and html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/generate.py

    r573ffab r30b60d2  
    210210 
    211211# Conversion from units defined in the parameter table for each model 
    212 # to units displayed in the sphinx documentation.  
     212# to units displayed in the sphinx documentation. 
    213213# This section associates the unit with the macro to use to produce the LaTex 
    214214# code.  The macro itself needs to be defined in sasmodels/doc/rst_prolog. 
     
    216216# NOTE: there is an RST_PROLOG at the end of this file which is NOT 
    217217# used for the bundled documentation. Still as long as we are defining the macros 
    218 # in two places any new addition should define the macro in both places.  
     218# in two places any new addition should define the macro in both places. 
    219219RST_UNITS = { 
    220220    "Ang": "|Ang|", 
     
    898898.. |cm^-3| replace:: cm\ :sup:`-3` 
    899899.. |sr^-1| replace:: sr\ :sup:`-1` 
    900 .. |P0| replace:: P\ :sub:`0`\ 
    901  
    902 .. |equiv| unicode:: U+2261 
    903 .. |noteql| unicode:: U+2260 
    904 .. |TM| unicode:: U+2122 
    905900 
    906901.. |cdot| unicode:: U+00B7 
Note: See TracChangeset for help on using the changeset viewer.