<div dir="ltr">Consider minimal document<div><br></div><div>%%%%%</div><div><div>\documentclass[12pt]{memoir}</div><div>\usepackage{xr-hyper}<br></div><div>\usepackage{hyperref}</div><div>\usepackage{bookmark}</div><div>\usepackage{nameref}</div><div>\externaldocument[Alpha-]{Alpha}[***some url***]</div><div>\begin{document}<br></div><div>\ref{Alpha-three}....\nameref{Alpha-three}<br></div><div>\end{document}<br></div><div>%%%</div><div><br></div><div>1) pdflatex processes it normally. However the same document with {memoir} replaced by {article} stumbles on \ref</div><div><br></div><div>







<p class="gmail-p1"><span class="gmail-s1">Undefined control sequence.</span></p>
<p class="gmail-p1"><span class="gmail-s1"><argument> \M@TitleReference</span></p>
<p class="gmail-p1"><span class="gmail-s1">                             {0.3}{Three}</span></p>
<p class="gmail-p1"><span class="gmail-s1">l.9 ...}[........]</span></p></div><div><br></div><div>2) even with {memoir} htlatex stumbles upon \externaldocument (missing \begin{document})</div><div><br></div><div><br></div><div>My idea is to produce using htlatex cross-referenced html pages. Problem 1) I discovered occasionally. Any suggestions?</div><div><br></div><div>Thank you in advance. Victor</div><div><br></div><br><div class="gmail_signature"><div dir="ltr"><br>Victor Ivrii</div></div>
</div></div>