Revert removal of inline toc from news downloaded in MOBI format

This commit is contained in:
Kovid Goyal 2010-09-27 14:20:03 -06:00
parent 960151327d
commit f71728110d

View File

@ -217,9 +217,12 @@ def fetch_scheduled_recipe(arg):
if 'output_profile' in ps: if 'output_profile' in ps:
recs.append(('output_profile', ps['output_profile'], recs.append(('output_profile', ps['output_profile'],
OptionRecommendation.HIGH)) OptionRecommendation.HIGH))
if ps['output_profile'] == 'kindle': # Disabled since apparently some people use
recs.append(('no_inline_toc', True, # K4PC and, surprise, surprise, it doesn't support
OptionRecommendation.HIGH)) # indexed MOBIs.
#if ps['output_profile'] == 'kindle':
# recs.append(('no_inline_toc', True,
# OptionRecommendation.HIGH))
lf = load_defaults('look_and_feel') lf = load_defaults('look_and_feel')
if lf.get('base_font_size', 0.0) != 0.0: if lf.get('base_font_size', 0.0) != 0.0: