<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Alain,
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 17 Feb 2017, at 12:16, Alain Schremmer <<a href="mailto:schremmer.alain@gmail.com" class="">schremmer.alain@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
I was curious and tried to run your code but got an error:</div>
</div>
</blockquote>
<div><br class="">
</div>
<div><br class="">
</div>
<div>Did you remove all the blank lines that are seen in the email?</div>
<div><br class="">
</div>
<div>This tends to happen when a message is submitted from a PC, (with <CR><LF> )</div>
<div>and read on a Mac/Unix .</div>
<div>Both characters can be translated into <LF> which causes the blank line</div>
<div>resulting in \par within TeX source.</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div class=""><br class="">
</div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div class="">Runaway argument?</div>
<div class="">{\tikz [remember picture,overlay]{</div>
<div class="">./MarginRules.tex:10: Paragraph ended before \AddEverypageHook was complete.</div>
<div class=""><to be read again> </div>
<div class=""> \par </div>
<div class="">l.10 </div>
<div class=""> </div>
<div class="">? </div>
<div class="">Process aborted</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">Now I am even more curious! </div>
<div class=""><br class="">
</div>
<div class="">Regards</div>
<div class="">--schremmer</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<div class="">On , at 2017 Feb 16,9:54 AM, Tim Brophy wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite" class="">
<div class="">I received the following on Stack Exchange and it does what I want with a little tweaking. Thanks for the suggestions.<br class="">
<br class="">
Tim<br class="">
<br class="">
\documentclass{report}<br class="">
\usepackage{everypage}<br class="">
\usepackage{tikzpagenodes}<br class="">
\usetikzlibrary{calc}<br class="">
\usepackage{lipsum}% MWE only<br class="">
<br class="">
<br class="">
<br class="">
\AddEverypageHook{\tikz[remember picture,overlay]{%<br class="">
<br class="">
<br class="">
\ifodd\value{page}\draw ($(current page text area.north west)+(-0.5\marginparsep,0pt)$)<br class="">
<br class="">
-- <br class="">
($(current page text area.south west)+(-0.5\marginparsep,0pt)$)<br class="">
;<br class="">
<br class="">
\else\draw ($(current page text area.north east)+(0.5\marginparsep,0pt)$)<br class="">
<br class="">
-- <br class="">
($(current page text area.south east)+(0.5\marginparsep,0pt)$)<br class="">
;<br class="">
<br class="">
\fi}}<br class="">
<br class="">
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div><br class="">
</div>
<div>I'd gess that this is what is really meant:</div>
<div><br class="">
</div>
<div>
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="">
<div class="">
<div class=""></div>
</div>
</div>
</div>
</div>
<blockquote type="cite" class="">
<div>
<div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="">
<div class="">
<div class="">\AddEverypageHook{\tikz[remember picture,overlay]{%<br class="">
\ifodd\value{page}\draw ($(current page text area.north west)+(-0.5\marginparsep,0pt)$)<br class="">
-- <br class="">
($(current page text area.south west)+(-0.5\marginparsep,0pt)$)<br class="">
;<br class="">
\else\draw ($(current page text area.north east)+(0.5\marginparsep,0pt)$)<br class="">
-- <br class="">
($(current page text area.south east)+(0.5\marginparsep,0pt)$)<br class="">
;<br class="">
\fi}}<br class="">
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div class="">
<div class="">
<blockquote type="cite" class="">
<div class="">\begin{document}<br class="">
\lipsum [1-16]<br class="">
\end{document}<br class="">
<blockquote type="cite" class="">On 16 Feb 2017, at 14:36, <a href="mailto:b.a.lee@rocketmail.com" class="">
b.a.lee@rocketmail.com</a> wrote:<br class="">
</blockquote>
<blockquote type="cite" class=""><br class="">
</blockquote>
<blockquote type="cite" class="">Sorry, I mean \vrule. <br class="">
</blockquote>
<blockquote type="cite" class=""><br class="">
</blockquote>
<blockquote type="cite" class="">Sent from Yahoo Mail on Android<br class="">
</blockquote>
<blockquote type="cite" class=""><br class="">
</blockquote>
<blockquote type="cite" class="">On Thu, 16 Feb 2017 at 0:16, Alain Schremmer<br class="">
</blockquote>
<blockquote type="cite" class=""><<a href="mailto:schremmer.alain@gmail.com" class="">schremmer.alain@gmail.com</a>> wrote:<br class="">
</blockquote>
<blockquote type="cite" class="">Just a thought: have you looked at tcolorbox? (e.g. Border Line Option Keys)<br class="">
</blockquote>
<blockquote type="cite" class="">--schremmer</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
<div apple-content-edited="true" class="">
<div style="font-family: Arial, sans-serif; orphans: 2; widows: 2; " class=""><span class="Apple-style-span" style="font-size: 9px;"><b class=""><span style="font-size: 9pt;" class=""><br class="Apple-interchange-newline">
Dr Ross Moore</span></b></span></div>
<div style="font-family: Arial, sans-serif; orphans: 2; widows: 2;" class="">
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt; margin-bottom: 3.75pt;" class="">
<font color="#000000" class=""><span style="font-size: 9pt;" class=""><b class="">Mathematics Dept </b><b class="">|</b> Level 2, S2.638 AHH<br class="">
Macquarie University, NSW 2109, Australia</span><span style="font-family: 'Times New Roman', serif; font-size: 12pt;" class=""></span></font></p>
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt; line-height: 11.25pt; margin-bottom: 3.75pt;" class="">
<b class=""><span style="font-size: 9pt;" class=""><font color="#000000" class="">T:</font></span></b><span style="font-size: 9pt;" class=""><font color="#000000" class=""> +61 2 9850 <b class="">8955 | F:</b> </font><a href="tel:%2B61%202%209850%209695" value="+61298509695" target="_blank" class=""><font color="#000000" class="">+61
2 9850 8114</font></a><br class="">
<font color="#000000" class=""><b class="">M:</b><a href="tel:%2B61%20409%20125%20670" value="+61409125670" target="_blank" class="">+61 407 288 255</a><b class=""> | </b>E: </font><a href="mailto:rick.minter@mq.edu.au" target="_blank" class=""><font color="#000000" class="">ross.moore@mq.edu.au</font><font color="#1155cc" class=""><span style="color: black;" class=""></span></font></a><font color="#1155cc" class=""><span style="color: black;" class=""></span></font><span style="color: black;" class=""></span><br class="">
</span></p>
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt; line-height: 11.25pt; margin-bottom: 3.75pt;" class="">
<span style="font-size: 9pt;" class=""><span style="color: black;" class=""><a title="Macquarie University" href="http://mq.edu.au/" target="_blank" class="">http://www.maths.mq.edu.au</a></span></span></p>
<p style="color: rgb(0, 0, 0); font-family: Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="http://mq.edu.au/" target="_blank" class=""><br class="Apple-interchange-newline">
<span><img height="58" width="260" apple-inline="yes" id="91F792C8-7B56-45B0-99FA-D8B8A58FE6E2" apple-width="yes" apple-height="yes" src="cid:image001.png@01D030BE.D37A46F0" class=""></span></a></p>
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt;" class="">
<a href="http://mq.edu.au/" target="_blank" class=""><span style="color: rgb(119, 119, 119); font-size: 7pt;" class=""><br class="Apple-interchange-newline">
CRICOS Provider Number 00002J. Think before you print. <br class="">
Please consider the environment before printing this email.</span><span style="font-family: 'Times New Roman', serif; font-size: 12pt;" class=""></span></a></p>
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt;" class="">
<a href="http://mq.edu.au/" target="_blank" class=""><span style="color: rgb(119, 119, 119); font-size: 7pt;" class="">This message is intended for the addressee named and may <br class="">
contain confidential information. If you are not the intended <br class="">
recipient, please delete it and notify the sender. Views expressed <br class="">
in this message are those of the individual sender, and are not <br class="">
necessarily the views of Macquarie University.</span></a></p>
</div>
</div>
<br class="">
</div>
</body>
</html>