1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

split then rotate (#966)

This commit is contained in:
Alex Xu
2025-06-16 14:47:55 -07:00
committed by GitHub
parent eef5a85fa6
commit f1db31205b
4 changed files with 5 additions and 5 deletions

View File

@@ -371,7 +371,7 @@ def buildOPF(dstdir, title, filelist, cover=None):
page_spread_property_list = []
for entry in reflist:
if options.righttoleft:
if "-kcc-a" in entry:
if "-kcc-a" in entry or "-kcc-d" in entry:
page_spread_property_list.append("center")
pageside = "right"
elif "-kcc-b" in entry:
@@ -387,7 +387,7 @@ def buildOPF(dstdir, title, filelist, cover=None):
else:
pageside = "right"
else:
if "-kcc-a" in entry:
if "-kcc-a" in entry or "-kcc-d" in entry:
page_spread_property_list.append("center")
pageside = "left"
elif "-kcc-b" in entry: