\def\published{n}
\documentclass[12pt,reqno]{amsart}
\def\draft{n}
\usepackage{
  fullpage,graphicx,dbnsymb,amsmath,amssymb,floatflt,picins,
  multicol,mathtools,stmaryrd,xcolor
}
%\usepackage[breaklinks]{hyperref}
\usepackage{hyperref}

% Following http://tex.stackexchange.com/a/847/22475:
\usepackage{hyperref}\hypersetup{colorlinks,
   linkcolor={green!50!black},
   citecolor={green!50!black},
   urlcolor=blue
}

\usepackage[all]{xy}
%\usepackage{tocloft}
%\usepackage{minitoc}

\if\draft y
  \usepackage[color]{showkeys}
  \usepackage{everypage,draftwatermark}
  \SetWatermarkScale{4}
  \SetWatermarkLightness{0.9}
\fi

\input macros.tex
\input defs.tex

\setlength{\marginparwidth}{0.8in}

\begin{document}
\newdimen\captionwidth\captionwidth=\hsize
\setcounter{secnumdepth}{4}

\title[Finite Type Invariants of w-Knotted Objects]{Finite Type Invariants
  of w-Knotted Objects I: w-Knots and the Alexander Polynomial}

\author{Dror~Bar-Natan}
\address{
  Department of Mathematics\\
  University of Toronto\\
  Toronto Ontario M5S 2E4\\
  Canada\\
}
\email{drorbn@math.toronto.edu}
\urladdr{http://www.math.toronto.edu/~drorbn}

\author{Zsuzsanna Dancso}
\address{Mathematical Sciences Institute\\
  Australian National University\\
  Canberra, ACT, 2601}
\email{zsuzsanna.dancso@anu.edu.au}
\urladdr{http://www.math.toronto.edu/zsuzsi}

\date{first edition Sep.\ 27, 2013, this edition Oct.~2,~2017. The
\arXiv{1309.7155} edition may be older}

\subjclass{57M25}
\keywords{
  virtual knots,
  w-braids,
  w-knots,
  w-tangles,
  knotted graphs,
  finite type invariants,
  Alexander polynomial,
  Kashiwara-Vergne,
  associators,
  free Lie algebras%
}

\thanks{This work was partially supported by NSERC grant RGPIN 262178.
  Electronic version, videos (wClips) and related files at~\cite{WKO},
  \url{http://www.math.toronto.edu/~drorbn/papers/WKO/}.
}

\begin{abstract}
  \input abstract.tex
\end{abstract}

\maketitle

{\small \tableofcontents}
%{\small \begin{multicols}{2} \tableofcontents \end{multicols}}
%{\small \twocolumn \tableofcontents \onecolumn}

\input intro.tex
\input braids.tex
\input knots.tex
\input odds.tex
\input glossary.tex
\input refs.tex

\if\draft y
  \clearpage
  Everything below is to be blanked out before the completion of this paper.
  \input recycling.tex 
  \input ToDo.tex
\fi

\end{document}
\endinput

