\n"
- ])
- if (options.panelview or forcePV) and not noPV:
- options.panelviewused = True
- if not noHorizontalPV and not noVerticalPV:
- if rotatedPage:
- if options.righttoleft:
- order = [1, 3, 2, 4]
+ if options.iskindle:
+ f.writelines(["\n",
+ "\n",
+ "\n",
+ "\n",
+ "", filename[0], "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "
\n",
+ "
\n"
+ ])
+ if (options.panelview or forcePV) and not noPV:
+ options.panelviewused = True
+ if not noHorizontalPV and not noVerticalPV:
+ if rotatedPage:
+ if options.righttoleft:
+ order = [1, 3, 2, 4]
+ else:
+ order = [2, 4, 1, 3]
else:
- order = [2, 4, 1, 3]
- else:
- if options.righttoleft:
- order = [2, 1, 4, 3]
- else:
- order = [1, 2, 3, 4]
- boxes = ["BoxTL", "BoxTR", "BoxBL", "BoxBR"]
- elif noHorizontalPV and not noVerticalPV:
- if rotatedPage:
- if options.righttoleft:
- order = [1, 2]
- else:
- order = [2, 1]
- else:
- order = [1, 2]
- boxes = ["BoxT", "BoxB"]
- elif not noHorizontalPV and noVerticalPV:
- if rotatedPage:
- order = [1, 2]
- else:
- if options.righttoleft:
- order = [2, 1]
+ if options.righttoleft:
+ order = [2, 1, 4, 3]
+ else:
+ order = [1, 2, 3, 4]
+ boxes = ["BoxTL", "BoxTR", "BoxBL", "BoxBR"]
+ elif noHorizontalPV and not noVerticalPV:
+ if rotatedPage:
+ if options.righttoleft:
+ order = [1, 2]
+ else:
+ order = [2, 1]
else:
order = [1, 2]
- boxes = ["BoxL", "BoxR"]
- else:
- order = [1]
- boxes = ["BoxC"]
- for i in range(0, len(boxes)):
- f.writelines(["