( vol4 | 2020. 02. 27., cs – 10:49 )

$ pdfcrop --margins "left top right bottom" in.pdf out.pdf

Ha az érték negatív, akkor vág, ha pozitív, akkor hozzáad.

Csináltam egy vágóélekkel ellátott B5 oldalt ezzel a kóddal (https://tex.stackexchange.com/questions/181078/crop-and-bleed-marks):

\documentclass[b5paper]{article}

\usepackage[
  % set width and height to b5 width and height + 6mm
  width=18.2truecm, height=25.6truecm,
  % use any combination of these options to add different cut markings
  cam, axes, frame, cross,
  % set the type of TeX renderer you use
  pdftex,
  % center the contents
  center
]{crop}

\begin{document}

\title{Bleeding edge test}

\maketitle
A 3 mm bleed on an b5 paper.

\end{document}
$ pdflatex B5-with-3mm-bleeding-edge-and-crop-marks.tex

Az ISO B5 mérete 176 mm x 250 mm, így ez 182 mm x 256 mm méretű lett, pontmérettel 515.905 x 725.669 pts. Szépen látszanak rajta a vágóélek. Ezután:

$ pdfcrop --margins "39.5 58 39.5 58" B5-with-3mm-bleeding-edge-and-crop-marks.pdf B5-with-3mm-bleeding-edge-and-crop-marks-on-A4.pdf

Itt a számokkal kicsit kellett játszani (a hülye egységek miatt), de pár próbálkozás után végül is kijött a szükséges 595 x 842 pts (A4). A végeredmény tehát A4-es, és rajta maradtak a vágóélek is. A méreteket (közben) a "pdfinfo" paranccsal lehet gyorsan ellenőrizni, debian alatt a "poppler-utils" csomag része.