{# Copyright 2024 Louis Paternault This file is part of pdfimpose-web. Pdfimpose-web is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Pdfimpose-web is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with pdfimpose-web. If not, see . -#} {% from "forms.html" import input_length, input_format, input_number, input_resize with context %}
{% trans %}Output format{% endtrans %} {{ input_format(nameprefix="form-pdfautonup", choices=("standard", "custom")) }}
{% call details(_("More options…")) %}
{% trans %}Resize input pages{% endtrans %} {% trans %}If set, input pages will be resized before being imposed.{% endtrans %} {{ input_resize(nameprefix="form-pdfautonup") }}
{% trans %}Repeat input file{% endtrans %} {% trans %}Set this to more than one to repeat input file.{% endtrans %}
{% trans %}If file has one page, equivalent to fit (see below). If file has more than one page, do not repeat (equivalent to repeat once below).{% endtrans %}
{% trans %}Repeat a fixed number of times.{% endtrans %} {{ input_number(_("Repeat"), name="form-pdfautonup-repeat-value", value="1", minimum="1", maximum=config.MAX_FILE_REPEAT) }}
{% trans %}Repeat as many times as necessary so that there is no empty cell.{% endtrans %}
{% trans %}Orientation{% endtrans %} {% trans %}If automatic, use the orientation that fits the more input pages.{% endtrans %}
Orientation
{% trans %}Algorithm{% endtrans %} {% trans %}Algorithm used to arrange source documents into destination documents. This program tries to put as many copies of the source document into the destination document, with the following constraint.{% endtrans %}
{% trans %}documents can overlap (a bit), or leave blank spaces between them, but as little as possible.{% endtrans %}
{% trans %}the gap length between documents is fixed, and a minimum destination margin is respected.{% endtrans %} {{ input_length(_("Output margin"), nameprefix="form-pdfautonup-panel-margin") }} {{ input_length(_("Gap"), nameprefix="form-pdfautonup-panel-gap") }}
{% endcall %}