Jump to content

TobiW

Member
  • Content Count

    2
  • Joined

  • Last visited

About TobiW

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I found a solution myself: pdfjam itself calls another program which wasn’t found. So to solve this I added export PATH="/opt/local/bin:/opt/local/sbin:/Library/TeX/texbin/:$PATH" at the beginning of the script.
  2. Hi, I build a shell script using pdftk and pdfjam to arrange a PDF file as 2 pages on 1 (same page on left and right of the new page): #! bin/bash fullfile="$1" outfile=${fullfile/.pdf/ (2 auf 1).pdf} /opt/local/bin/pdftk A="$fullfile" B="$fullfile" shuffle A1-end B1-end output ~/.temp/out.pdf /Library/TeX/texbin/pdfjam --nup 2x1 ~/.temp/out.pdf --landscape --a4paper --outfile "$outfile" rm ~/.temp/out.pdf It works fine if I call ist from the Terminal like this: sh 2on1_test.sh ~/Desktop/2-auf-1/a3h.pdf But it doesn't work as part of my file action in Alfred. I s
×
×
  • Create New...