Voilà, Désolé, les journée n'ont que 24 heures (je sais: si cela ne suffit pas, il reste encore la nuit;)...
Je disais, oui: Quelque chose comme ce que daniel à proposé, mais cat *.pdf # ne marche pas bien, mais cat *.ps # peut, généralement le faire. sinon gs -sDEVICE=pdfwrite -dNOPAUSE -sOutputFile=out.pdf ... *.pdf -c quit ou idéalement: for file in *.pdf;do pdftops $file ${file%.pdf}.ps;done gs -sDEVICE=pdfwrite -dNOPAUSE -sOutputFile=out.pdf ... *.ps -c quit Le fera bien... J'ai créé un script bash pour LaTeX, réalisant un PDF avec des annotations (méta données) ad'hoc, mais sur la base d'un ou plusieurs .png (à 200dpi). Il pourrait être adapté pour les intercalaires, quoique si c'est pour quelques mots, tu peux pondre du postscript ``à la mano''. Récupéré sur: http://f-hauri.ch/vrac/postscript/text2tty.sh res=600 x=100 y=100 string="Hello world!" formatps="%%\041\n/Helvetica findfont\n24 scalefont\nsetfont\nnewpath\n%s %s moveto\n(%s) show\nshowpage\n" printf "$formatps" $x $y "$string" > myfile.ps ou gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -sOutputFile=myfile.pdf <( res=600 x=100 y=100 string="Premiere partie" formatps="%%\041\n/" formatps+="Helvetica findfont\n24 scalefont\nsetfont\nnewpath\n%s %s " formatps+="moveto\n(%s) show\nshowpage\n" printf "$formatps" $x $y "$string") files{1..12}.ps <( res=600 x=100 y=100 string="Seconde partie" formatps="%%\041\n/" formatps+="Helvetica findfont\n24 scalefont\nsetfont\nnewpath\n%s %s " formatps+="moveto\n(%s) show\nshowpage\n" printf "$formatps" $x $y "$string") files{13..33}.ps par exemple... A+! On Mon, Oct 02, 2017 at 10:03:10PM +0200, BRINER Cédric wrote: > Yooo. > > j'ai trouvé la solution: > > #!/bin/bash > > i=0 > mkdir build > rm build/* > cat destinataire_nb.csv \ > | while read dest nb; do > (( i++ )) > convert intercalaire.pdf -gravity North -pointsize 30 -annotate +0+100 > "$dest" build/"$(printf "%04d" $i)_${dest}.pdf" > for j in seq $nb; do > (( i++ )) > cp cartable.pdf build/"$(printf "%04d" $i)_cartable.pdf" > done > done > pdfunite build/* whole_cartable.pdf > _______________________________________________ > gull mailing list > gull@forum.linux-gull.ch > http://forum.linux-gull.ch/mailman/listinfo/gull -- Félix Hauri - <fe...@f-hauri.ch> - http://www.f-hauri.ch _______________________________________________ gull mailing list gull@forum.linux-gull.ch http://forum.linux-gull.ch/mailman/listinfo/gull