You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Dedicon, I would like to have an option to indicate that each volume of the generated PEF will have exactly one section, so that there won't be empty white pages between sections in a duplex pagination.
In the current implementation, a volume can have several sections. The PEF specification is such that in duplex mode a section always starts on a recto page. For instance, if the PEF has this structure:
then there will be an empty page inserted in between the two <page>s when this PEF is printed. Also if both sections use the same page number counter, Dotify will assign page numbers 1 and 3, respectively.
As Dedicon I would like to be able to remove those empty pages between sections, such that the above example becomes:
Implementation detail:
A volume consists of a pre-content, a body, and a post-content, which are section lists. The pre-content and the post-content can be empty, the body will always have at least one section. Each section has section properties and these may differ per section. The implementation should generate a single section for every volume with the section properties of the first body section.
Remark:
Currently a volume consists of a list of sheets and a sheet has two pages in duplex mode or one page in simplex mode. If you would eliminate the sheet level from the implementation, so that a volume is simply a list of pages (instead of a list of sheets), you might arrive at the desired situation. However, eliminating the sheet level will be very complex and it is questionable whether it is possible at all.
As Dedicon, I would like to have an option to indicate that each volume of the generated PEF will have exactly one section, so that there won't be empty white pages between sections in a duplex pagination.
In the current implementation, a volume can have several sections. The PEF specification is such that in duplex mode a section always starts on a recto page. For instance, if the PEF has this structure:
then there will be an empty page inserted in between the two
<page>
s when this PEF is printed. Also if both sections use the same page number counter, Dotify will assign page numbers 1 and 3, respectively.As Dedicon I would like to be able to remove those empty pages between sections, such that the above example becomes:
The page numbers should be corrected as well.
Implementation detail:
A volume consists of a pre-content, a body, and a post-content, which are section lists. The pre-content and the post-content can be empty, the body will always have at least one section. Each section has section properties and these may differ per section. The implementation should generate a single section for every volume with the section properties of the first body section.
Remark:
Currently a volume consists of a list of sheets and a sheet has two pages in duplex mode or one page in simplex mode. If you would eliminate the sheet level from the implementation, so that a volume is simply a list of pages (instead of a list of sheets), you might arrive at the desired situation. However, eliminating the sheet level will be very complex and it is questionable whether it is possible at all.
See also https://github.com/mtmse/dotify.formatter.impl/issues/6.
The text was updated successfully, but these errors were encountered: