<< pdfconcat pdfconcat xsapp2pdf >>

pdfconcat >> pdfconcat > pdfconcat

pdfconcat

combine multiple pdf files into a single multipage pdf file.

Syntax

pdfconcat(outfile, infiles, verb)

Arguments

outfile

a string, name of the output file.

infiles

an array of strings, names of the input files.

verb

a boolean

Description

pdfconcat combine multiple pdf files in a single multipage pdf file. If verb is equal to %t then statistics of each input file are displayed on the command line. Note that outfile cannot be an element of infiles.

Examples

t = linspace(0,2*%pi,256);
files = sprintf("file%02d.pdf\n",(1:5)');
scf(0)
for i=1:size(files,"*")
    clf
    plot(t,sin(i*t))
    xs2pdf(0,files(i))
end
pdfconcat("file.pdf",files,%t)

See also


Report an issue
<< pdfconcat pdfconcat xsapp2pdf >>