{# 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_bind, input_group, input_resize with context %}
{% trans %}Output format{% endtrans %} {% trans %}Output format can be set by defining the output format (the signature is then computed to fit this output format), or by setting the signature (output format is then computed).{% endtrans %} {{ input_format(nameprefix="form-cutstackfold", choices=("standard", "custom", "signature")) }}
{% 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-cutstackfold") }}
{% trans %}Repeat input file{% endtrans %} {% trans %}Set this to act as if your file was repeated several times. It might be useful with some layouts, or useless with others…{% endtrans %} {{ input_number(_("Repeat"), name="form-cutstackfold-repeat", value="1", minimum="1", maximum=config.MAX_FILE_REPEAT) }}
{% trans %}Binding edge{% endtrans %} {{ input_bind(nameprefix="form-cutstackfold") }}
{% trans %}Last pages{% endtrans %} {% trans %}Number of pages to keep as last pages. Useful to keep the back cover as a back cover.{% endtrans %} {{ input_number(_("Last pages"), name="form-cutstackfold-last", value="0", minimum="0") }}
{% trans %}Group paper sheets{% endtrans %} {% trans %}If set, repeat the cutting-folding instructions above for every group of the given number of sheets. You get several sections, that you have to bind together to get a proper book.{% endtrans %} {{ input_group(nameprefix="form-cutstackfold", default="no") }}
{% trans %}Margins{% endtrans %} {{ input_length(_("Input margin"), nameprefix="form-cutstackfold-imargin") }} {{ input_length(_("Output margin"), nameprefix="form-cutstackfold-omargin") }}
{% trans %}Add marks?{% endtrans %}
{% endcall %}