mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Revert removal of inline toc from news downloaded in MOBI format
This commit is contained in:
parent
960151327d
commit
f71728110d
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user