Sziasztok.
Adott egy PDF, melynek vannak mondjuk mm-ben megadott méretei.
Adott egy tex file, ami ezt beolvassa, majd a lap szélén vágóéleket hoz létre.
A problémám az, hogy a kimenet latex fordítót használva egyetlen üres oldal a vágóélekkel, gummi editorral meg minden tökéletes. Valamit elronotk a fordítással?
Íme a kód, ami beolvassa a kész anyagot:
\documentclass{minimal}
\usepackage{pdfpages,tikz}
\setlength{\paperwidth}{209.804mm+30mm}
\setlength{\paperheight}{296.926mm+30mm}
\begin{document}
\AddToShipoutPictureFG{\begin{tikzpicture}[overlay]
\draw ([yshift= 15mm] current page.south west) -- +(10mm,0);
\draw ([xshift= 15mm] current page.south west) -- +(0,10mm);
\draw ([yshift= 15mm] current page.south east) -- +(-10mm,0);
\draw ([xshift=-15mm] current page.south east) -- +(0,10mm);
\draw ([yshift=-15mm] current page.north west) -- +(10mm,0);
\draw ([xshift= 15mm] current page.north west) -- +(0,-10mm);
\draw ([yshift=-15mm] current page.north east) -- +(-10mm,0);
\draw ([xshift=-15mm] current page.north east) -- +(0,-10mm);
\node at ([yshift=-5mm] current page.north) {---jambarambarammmm---};
\end{tikzpicture}}
\includepdf[noautoscale,pages=1-]{./konyv_osszesfejezet.pdf} %igen, próbáltram teljes elérési útvonallal is
\end{document}
...szóval a gummi editorban adom ki szégyenletesen a fájl menüben a pdf exportot.
- 851 megtekintés
Hozzászólások
Lehet, hogy most (is) ez lenne az egyszerűbb megoldás :-)
Mármint ha a PDF is valami TeX fordítás eredménye.
Név : texlive-crop
Epocha : 6
Verzió : svn15878.1.5
Kiadás : 36.fc27.5
Arch : noarch
Méret : 17 k
Forrás : texlive-2016-36.20160520.fc27.5.src.rpm
Tároló : @System
Ezen tárolób : fedora
Összegzés : Support for cropmarks
URL : http://tug.org/texlive/
Licenc : LPPL
Leírás : A package providing corner marks for camera alignment as well
: as for trimming paper stacks, and additional page information
: on every page if required. Most macros are easily adaptable to
: personal preferences. An option is provided for selectively
: suppressing graphics or text, which may be useful for printing
: just colour graphics on a colour laser printer and the rest on
: a cheap mono laser printer. A page info line contains the time
: and a new cropmarks index and is printed at the top of the
: page. A configuration command is provided for the info line
: font. Options for better collaboration with dvips, pdftex and
: vtex are provided.
- A hozzászóláshoz be kell jelentkezni
a pdf is egy tex-fordítás eredménye.
- A hozzászóláshoz be kell jelentkezni