Skip to content

Instantly share code, notes, and snippets.

@tansaku
Created April 15, 2014 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tansaku/10749394 to your computer and use it in GitHub Desktop.
Save tansaku/10749394 to your computer and use it in GitHub Desktop.
trying to make watermark
[sam@SamHPUMBP:~/Documents/Github/saasbook/saasbook (master)]$ make pdf WATERMARK='Indra Nurdjaja\\inurjaya@gmail.com'
pdflatex saasbook_pdf
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
restricted \write18 enabled.
entering extended mode
(./saasbook_pdf.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 78 languages loaded.
(./textbook.cls
Document Class: textbook 2011/08/02 v0.9 Custom LaTeX document class by Armando
Fox
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2013/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/usr/local/texlive/2013/texmf-dist/tex/latex/psnfss/t1ptm.fd)
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/bk10.clo)) (./common.tex
(./macros.tex (/usr/local/texlive/2013/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/changepage/changepage.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/tools/tabularx.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/tools/array.sty))
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/usr/local/texlive/2013/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix
<2008/02/07> (tvz))
(/usr/local/texlive/2013/texmf-dist/tex/latex/tools/verbatim.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/amscls/amsthm.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/endnotes/endnotes.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/listings/listings.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/listings/lstmisc.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/listings/listings.cfg))
(./listingdefaults.tex
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/local/texlive/2013/texmf-dist/tex/latex/listings/lstlang1.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/listings/lstlang2.sty))
(/usr/local/texlive/2013/texmf-dist/tex/latex/rotating/rotating.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/sttools/floatpag.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/makeidx.sty)
Writing index file saasbook_pdf.idx
(/usr/local/texlive/2013/texmf-dist/tex/latex/idxlayout/idxlayout.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/local/texlive/2013/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2013/texmf-dist/tex/latex/tools/multicol.sty))
(/usr/local/texlive/2013/texmf-dist/tex/latex/tools/enumerate.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/fancybox/fancybox.sty
Style option: `fancybox' v1.4 <2010/05/15> (tvz)
) (/usr/local/texlive/2013/texmf-dist/tex/latex/multirow/multirow.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/local/texlive/2013/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/local/texlive/2013/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver (autodetected): hpdftex.
(/usr/local/texlive/2013/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2013/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(./macros/bookversion.tex) (./macros/chapterbib.tex
(/usr/local/texlive/2013/texmf-dist/tex/latex/natbib/natbib.sty))
(/usr/local/texlive/2013/texmf-dist/tex/latex/bibunits/bibunits.sty)
(./macros/fontfaces.tex) (./macros/quotation.tex) (./macros/sidebar.tex)
(./macros/codelisting.tex) (./macros/screencast.tex) (./macros/elaboration.tex)
(./macros/ebook.tex
(/usr/local/texlive/2013/texmf-dist/tex/latex/changebar/changebar.sty))
(./macros/figures.tex) (./macros/summarybox.tex) (./macros/icons.tex)
(./macros/fallaciespitfalls.tex) (./macros/exercise.tex)
(./macros/wikipedia.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/xstring/xstring.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/xstring/xstring.tex)))
(./macros/tbd.tex)) (./watermark.tex)
(/usr/local/texlive/2013/texmf-dist/tex/latex/draftwatermark/draftwatermark.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/everypage/everypage.sty)))
(/usr/local/texlive/2013/texmf-dist/tex/latex/minitoc/minitoc.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/minitoc/mtcmess.sty)
(./saasbook_pdf.mtc0)
(/usr/local/texlive/2013/texmf-dist/tex/latex/minitoc/english.mld)
(/usr/local/texlive/2013/texmf-dist/tex/latex/minitoc/english.mld))
(./saasbook_main.tex (./macros/pdfpagesize.tex)
(/usr/local/texlive/2013/texmf-dist/tex/latex/geometry/geometry.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/ms/ragged2e.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/ms/everysel.sty))
(./saasbook_pdf.aux (./ch_foreword/foreword.aux) (./ch_big_ideas/big_ideas.aux)
(./part1.aux) (./ch_arch/arch.aux) (./ch_ruby_intro/ruby_intro.aux)
(./ch_rails_intro/rails_intro.aux) (./ch_advanced_rails/advanced_rails.aux)
(./ch_javascript/javascript.aux) (./part2.aux) (./ch_bdd/bdd.aux)
(./ch_tdd/tdd.aux) (./ch_legacy/legacy.aux) (./ch_teams/teams.aux)
(./ch_designpatterns/designpatterns.aux) (./ch_operations/operations.aux)
(./ch_backwards_forwards/backwards_forwards.aux) (./ch_bookware/bookware.aux)
(./index_xrefs.aux))
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2013/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2013/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/oberdiek/grfext.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/local/texlive/2013/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./saasbook_pdf.out) (./saasbook_pdf.out)
Package minitoc(hints) Warning: W0030
(minitoc(hints)) --- The \part command is altered
(minitoc(hints)) after minitoc.
Package minitoc(hints) Warning: W0023
(minitoc(hints)) --- It may be the consequence
(minitoc(hints)) of loading the ``hyperref'' package.
Package minitoc(hints) Warning: W0028
(minitoc(hints)) --- The \chapter command is altered
(minitoc(hints)) after minitoc.
Package minitoc(hints) Warning: W0023
(minitoc(hints)) --- It may be the consequence
(minitoc(hints)) of loading the ``hyperref'' package.
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
ABD: EverySelectfont initializing macros (./saasbook_frontmatter.tex
! Undefined control sequence.
\watermarktext ->Indra Nurdjaja\inurjaya
@gmail.com
\@ishortstack ...n {\mb@l {##}\unskip \mb@r \cr #1
\crcr }\egroup
\@textcolor ...rotect \leavevmode {\color #1{#2}#3
}
\Gscale@box ...Gscale@y {#2}\setbox \z@ \hbox {{#3
}}\setbox \tw@ \hbox {\Gsc...
\Grot@box@std ...tangle {#1}\setbox \z@ \hbox {{#2
}}\Grot@x \z@ \Grot@y \z@ ...
\@imakepicbox ...t \hb@xt@ #1\unitlength {\mb@l #4
\mb@r }\mb@b \kern \z@ }
\put ...length \hb@xt@ \z@ {\kern #1\unitlength #3
\hss }\ignorespaces
\sc@wm@print ...veleft 1in \vbox {\hbox to \z@ {#1
\hss }}\vss } \dp \@tempbo...
\@begindvi ->\sc@everypage@hook
\sc@thispage@hook \gdef \sc@thispage@hook {}...
\sc@op@saved ...kip \lineskiplimit \z@ \@begindvi
\vskip \topmargin \moverig...
\@outputpage ->\sc@op@preamble \sc@op@saved
\sc@op@postamble
\@opcol ...lumn \@outputdblcol \else \@outputpage
\fi \global \@mparbottom \...
<output> ...specialoutput \else \@makecol \@opcol
\@startcolumn \@whilesw \i...
\newpage ...erypar {}\fi \par \vfil \penalty -\@M
\endtitlepage ...onecol \twocolumn \else \newpage
\fi \if@twoside \else \set...
\end ...use {@end@#1@hook}\csname end#1\endcsname
\@checkend {#1}\expandafte...
\HyOrg@maketitle ...s \vfil \null \end {titlepage}
\setcounter {footnote}{0}\...
\reserved@c ->\HyOrg@maketitle
\Hy@maketitle@end
<to be read again>
\input
l.5 \input
{frontmatter/titlepage}\flushpage
?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment