<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 19, 2020 at 7:55 PM Joel C. Salomon <<a href="mailto:joelcsalomon@gmail.com">joelcsalomon@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Wed, Jan 15, 2020 at 3:50 AM Lars Madsen <<a href="mailto:daleif@math.au.dk" target="_blank">daleif@math.au.dk</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
(1) Please provide a full example others can test</div></div></blockquote><div>I will attempt to make a minimal complete example, in case what I tried was supposed to work. But I have some egg on my face: the “old code” never actually got tested. The previous release of the books was before I figured out how to use the marks, and then I copied code that worked in another project into this one, without re-testing it. (The other book did not use a different font for headers, so I never encountered this at all.)</div></div></div>
</blockquote></div><br clear="all"><div>Okay, more testing needed. When I boiled this down to a minimal case:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><code><pre>\documentclass{memoir}
\usepackage{lipsum}
\makepagestyle{headings}
\makepsmarks{headings}{\def\chaptermark##1{\markboth{\thetitle}{##1}}}
\makeevenhead{headings}{\rmfamily \thepage \quad \ttfamily \leftmark}{}{}
\makeoddhead{headings}{}{}{\ttfamily \rightmark \quad \rmfamily \thepage}
\makeevenfoot{headings}{}{}{}
\makeoddfoot{headings}{}{}{}
\title{Foo Bar}
\begin{document}
\mainmatter
\pagestyle{headings}
\chapter{Bas Quux}
\lipsum[1-15]
\end{document}</pre></code></blockquote><div>it worked either this way or the “correct” way of moving the font selection into the \markboth command. When I added back the fontspec code for choosing the heading fonts, it still worked both ways. I’ll keep adding things back and try to make this break the way it broke for my whole project.<br></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><p>—Joel C. Salomon</p></div></div></div></div>