parent
a77ea4f21d
commit
9cc2e7cb2a
Binary file not shown.
Binary file not shown.
@ -0,0 +1,42 @@
|
|||||||
|
|
||||||
|
% forksand-letterhead-notepad.tex
|
||||||
|
% Create thumbnail images of PDF pages
|
||||||
|
%
|
||||||
|
% Fork Sand Letterhead for Notepads
|
||||||
|
%
|
||||||
|
% Copyright (C) 2018, Fork Sand, Inc.
|
||||||
|
%
|
||||||
|
% Document template:
|
||||||
|
% Copyright (C) 2018, Fork Sand, Inc.
|
||||||
|
% Copyright (C) 2017, Jeff Moe
|
||||||
|
% Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016, 2017 Aleph Objects, Inc.
|
||||||
|
% Copyright (C) 2009, 2010 Jeff Moe
|
||||||
|
%
|
||||||
|
% This document is licensed under the Creative Commons Attribution 4.0
|
||||||
|
% International Public License (CC BY-SA 4.0) by Fork Sand, Inc.
|
||||||
|
%
|
||||||
|
|
||||||
|
\documentclass[twoside]{minimal}
|
||||||
|
% A4? Size Paper
|
||||||
|
%\usepackage[paperwidth=22.86cm, paperheight=30.48cm,dvips=false,pdftex=false,vtex=false]{geometry}
|
||||||
|
% Letter Size Paper
|
||||||
|
\usepackage[paperwidth=21.59cm, paperheight=27.94cm,dvips=false,pdftex=false,vtex=false]{geometry}
|
||||||
|
\usepackage[final]{pdfpages}
|
||||||
|
\usepackage{pdflscape}
|
||||||
|
\usepackage{thumbpdf}
|
||||||
|
\begin{document}
|
||||||
|
% Works, but needs to be moved to top, not centered
|
||||||
|
%\includepdf[nup=1x2,pages={1,1},landscape]{forksand-letterhead.pdf}
|
||||||
|
% Same as above, ok, with defaults
|
||||||
|
%\includepdf[nup=1x2,pages={1,1},landscape=true,noautoscale=false,fitpaper=false]{forksand-letterhead.pdf}
|
||||||
|
% Good, new way to do pages.
|
||||||
|
%\includepdf[nup=1x2,pages={-},landscape=true,noautoscale=false,fitpaper=false,doublepages=true]{forksand-letterhead.pdf}
|
||||||
|
\includepdf[nup=2x2,pages={1,1,1,1},landscape=false,noautoscale=false,fitpaper=true,offset=0mm 0mm]{forksand-letterhead.pdf}
|
||||||
|
|
||||||
|
|
||||||
|
% foo
|
||||||
|
%\includepdf[nup=1x2,pages={1,1},landscape=false,noautoscale=false,fitpaper=true]{forksand-letterhead.pdf}
|
||||||
|
% ok, but small centered, Portrait, should be landscape.
|
||||||
|
%\includepdf[nup=2x1,pages={1,1},landscape=false,noautoscale=false,fitpaper=true]{forksand-letterhead.pdf}
|
||||||
|
\end{document}
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,42 @@
|
|||||||
|
|
||||||
|
% forksand-letterhead-notepad.tex
|
||||||
|
% Create thumbnail images of PDF pages
|
||||||
|
%
|
||||||
|
% Fork Sand Letterhead for Notepads
|
||||||
|
%
|
||||||
|
% Copyright (C) 2018, Fork Sand, Inc.
|
||||||
|
%
|
||||||
|
% Document template:
|
||||||
|
% Copyright (C) 2018, Fork Sand, Inc.
|
||||||
|
% Copyright (C) 2017, Jeff Moe
|
||||||
|
% Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016, 2017 Aleph Objects, Inc.
|
||||||
|
% Copyright (C) 2009, 2010 Jeff Moe
|
||||||
|
%
|
||||||
|
% This document is licensed under the Creative Commons Attribution 4.0
|
||||||
|
% International Public License (CC BY-SA 4.0) by Fork Sand, Inc.
|
||||||
|
%
|
||||||
|
|
||||||
|
\documentclass[twoside]{minimal}
|
||||||
|
% A4? Size Paper
|
||||||
|
%\usepackage[paperwidth=22.86cm, paperheight=30.48cm,dvips=false,pdftex=false,vtex=false]{geometry}
|
||||||
|
% Letter Size Paper
|
||||||
|
\usepackage[paperwidth=21.59cm, paperheight=27.94cm,dvips=false,pdftex=false,vtex=false]{geometry}
|
||||||
|
\usepackage[final]{pdfpages}
|
||||||
|
\usepackage{pdflscape}
|
||||||
|
\usepackage{thumbpdf}
|
||||||
|
\begin{document}
|
||||||
|
% Works, but needs to be moved to top, not centered
|
||||||
|
%\includepdf[nup=1x2,pages={1,1},landscape]{forksand-letterhead.pdf}
|
||||||
|
% Same as above, ok, with defaults
|
||||||
|
%\includepdf[nup=1x2,pages={1,1},landscape=true,noautoscale=false,fitpaper=false]{forksand-letterhead.pdf}
|
||||||
|
% Good, new way to do pages.
|
||||||
|
%\includepdf[nup=1x2,pages={-},landscape=true,noautoscale=false,fitpaper=false,doublepages=true]{forksand-letterhead.pdf}
|
||||||
|
\includepdf[nup=1x2,pages={-},landscape=true,noautoscale=false,fitpaper=false,doublepages=true,offset=-22mm 0mm]{forksand-letterhead.pdf}
|
||||||
|
|
||||||
|
|
||||||
|
% foo
|
||||||
|
%\includepdf[nup=1x2,pages={1,1},landscape=false,noautoscale=false,fitpaper=true]{forksand-letterhead.pdf}
|
||||||
|
% ok, but small centered, Portrait, should be landscape.
|
||||||
|
%\includepdf[nup=2x1,pages={1,1},landscape=false,noautoscale=false,fitpaper=true]{forksand-letterhead.pdf}
|
||||||
|
\end{document}
|
||||||
|
|
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# Take four pages of PDF, and put on a single page
|
||||||
|
xelatex \
|
||||||
|
forksand-notepad.tex
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
# Make single page Letterhead four pages
|
||||||
|
pdfjoin \
|
||||||
|
-o forksand-letterhead-2x.pdf \
|
||||||
|
forksand-letterhead.pdf \
|
||||||
|
forksand-letterhead.pdf
|
||||||
|
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
pdfjam \
|
||||||
|
--paper letter \
|
||||||
|
--suffix notepad \
|
||||||
|
--no-landscape \
|
||||||
|
--no-twoside \
|
||||||
|
--nup 2x1 \
|
||||||
|
--scale 0.5 \
|
||||||
|
forksand-letterhead.pdf
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
--outfile foo.pdf \
|
||||||
|
--no-landscape \
|
||||||
|
--landscape \
|
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# Take four pages of PDF, and put on a single page
|
||||||
|
xelatex \
|
||||||
|
forksand-notepad-4x.tex
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
pdfjam \
|
||||||
|
--paper letter \
|
||||||
|
--suffix notepad \
|
||||||
|
--no-landscape \
|
||||||
|
--no-twoside \
|
||||||
|
--nup 2x1 \
|
||||||
|
--scale 0.5 \
|
||||||
|
forksand-letterhead.pdf
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
--outfile foo.pdf \
|
||||||
|
--no-landscape \
|
||||||
|
--landscape \
|
Loading…
Reference in new issue