Exemple #1
0
def save_cache(pelicanobj):
    cache_file = pelicanobj.settings.get('M_MATH_CACHE_FILE', 'm.math.cache')
    if cache_file: latex2svgextra.pickle_cache(cache_file)
Exemple #2
0
def save_cache(*args, **kwargs):
    if settings['M_MATH_CACHE_FILE']:
        latex2svgextra.pickle_cache(settings['M_MATH_CACHE_FILE'])
Exemple #3
0
def save_cache(*args):
    if settings['M_MATH_CACHE_FILE']:
        latex2svgextra.pickle_cache(settings['M_MATH_CACHE_FILE'])