[cstex] Vkladani PDF dokumentu do pdfTeXoveho dokumentu a veci s tim souvisejici

Petr Mikulik mikulik at physics.muni.cz
Fri Oct 16 11:33:58 CEST 2009


> Bohužel se mi nedaří dostat z Excelu tabulku "bez bílých okrajů", které tvoří
> "papír" na němž je tabulka umístěna, takže musím bílé okraje z výsledného PDF
> dokumentu pracně odřezávat (protože jinak je bílý okraj součástí vloženého obr
> ázku). K ořezávání používám licencovaný nástroj - nějaký PDFTool, který umí s
> PDF dokumenty dělat různé kejkle...

Lze pouzit program pdfcrop, je soucasti texlive.

$ pdfcrop
PDFCROP 1.5, 2004/06/24 - Copyright (c) 2002, 2004 by Heiko Oberdiek.
Syntax:   pdfcrop [options] <input[.pdf]> [output file]
Function: Margins are calculated and removed for each page in the file.
Options:                                                    (defaults:)
  --help              print usage
  --(no)verbose       verbose printing                      (false)
  --(no)debug         debug informations                    (false)
  --gscmd <name>      call of ghostscript                   (gs)
  --pdftexcmd <name>  call of pdfTeX                        (pdftex)
  --margins "<left> <top> <right> <bottom>"                 (0 0 0 0)
                      add extra margins, unit is bp. If only one number is
                      given, then it is used for all margins, in the case
                      of two numbers they are also used for right and 
bottom.
  --(no)clip          clipping support, if margins are set  (false)
  --(no)hires         using `%%HiResBoundingBox'            (false)
                      instead of `%%BoundingBox'
  --papersize <foo>   parameter for gs's -sPAPERSIZE=<foo>,
                      use only with older gs versions <7.32 ()
Examples:
  pdfcrop --margins 10 input.pdf output.pdf
  pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf

---
PM


More information about the csTeX mailing list