<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
OK, I had already changed the TeXShop Preferences button to read Pages Flow Left to Right.
<div class=""><br class="">
</div>
<div class="">You said to then write one of the two magic lines at the top of one of my documents.  I interpreted that to mean that I should type it at the top of the governing .tex file.</div>
<div class="">(This book project has a master file and many individual text files which are input by the master).</div>
<div class="">I tried each of the two “magic lines”, both before and immediately after the line </div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>% !TEX TS-program=latex</div>
<div class="">which I have used to specify the engine being used.</div>
<div class="">Neither line had any effect on the layout,  Also, changing "Pages Flow Left to Right" to   “Pages Flow Right to Left” (using the buttons on the TeXShop Preferences pane)</div>
<div class="">made no difference.</div>
<div class=""><br class="">
</div>
<div class="">In all these cases, what I get is </div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>first, a single page  (the title page)</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>then, a double page consisting of  page 1 (the first page of the table of contents as generated via the .toc file) on the left, and a blank page on the right</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>then, double pages, grouped correctly in consecutive pairs, but with the earlier page on the right and the later page on the left </div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>(so the firs of these has page 3 on the left and page 2 on the right)</div>
<div class="">Actually, <i class="">before</i><span style="font-style: normal;" class=""> all</span> this changed, the double page following the (single) title page had the blank page on the left and page 1 (first tor page) on the right, </div>
<div class="">which is what I expected.</div>
<div class="">This left-right reversal continues through all 546 pages of the pdf file.</div>
<div class=""><br class="">
</div>
<div class="">So my problem is not  the distinction between a first single page and then double pages, but the internal order in each double page.</div>
<div class=""><br class="">
</div>
<div class="">I wonder whether the problem is the document class specification?   Mine is</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span><span style="color: rgb(78, 75, 35); font-size: 12px;" class="">\documentclass[11pt, openright]{memoir}</span></div>
<div class=""><font color="#4e4b23" class="">I thought maybe the “openright”part was an error, but I think that just says whether a new chapter (or new part) begins on the right or left—when I changed it to open left the length of the pdf went from 546 to 555
 pages. </font></div>
<div class=""><font color="#4e4b23" class=""><br class="">
</font></div>
<div class=""><font color="#4e4b23" class="">Or am I entering this data in the wrong place?</font></div>
<div class=""><font color="#4e4b23" class=""><br class="">
</font></div>
<div class=""><font color="#4e4b23" class="">ZN<br class="">
</font>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Aug 2, 2022, at 21:31, Richard Koch <<a href="mailto:koch@uoregon.edu" class="">koch@uoregon.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Zbigniew,<br class="">
<br class="">
Let us do this slowly. In Preferences under the Preview tab, there is an item giving the choice<br class="">
<br class="">
       Pages Flow Left to Right<br class="">
       Pages Flow Right to Left<br class="">
<br class="">
The first of these is the correct choice for almost all languages, since we write from left to right. The main exceptions are authors using Hebrew, Arabic or Persian because they write right to left. So select Pages Flow Left to Right.<br class="">
<br class="">
-----------------------<br class="">
<br class="">
The next choice is the important one for you The name of this choice is "DisplayAsBook" and the value can be YES or NO. The default is YES, which gives one single page at the top, and then pairs of pages afterward. The other choice is NO, which gives double
 pages all the way down.<br class="">
<br class="">
Before selecting a choice, you can test which one you want. At the top of one of your documents, write one of the two magic lines<br class="">
<br class="">
% !TEX bookDisplay<br class="">
% !TEX standard Display<br class="">
<br class="">
Try this. If you use the first one, you'll get one page on top and then double pages. If you use the second one, you will get double pages all the way down.<br class="">
<br class="">
Usually people want the top one because books are designed so there are an odd number of preliminary pages until the main text starts. So if you start with a single isolated page, then when you come to the main material in the book, the pairs of pages will
 agree with the pairs you see when you open the book.<br class="">
<br class="">
But if for some strange reason this is not what you want, and only then, you can change the default without using these magic lines. I seriously doubt that you'll want to do that after you try these experiments, so I'll omit describing the Terminal actions
 unless you request them.<br class="">
<br class="">
Dick Koch<br class="">
----------- Please Consult the Following Before Posting -----------<br class="">
TeX FAQ: <a href="https://www.tug.org/mactex/faq/index.html" class="">https://www.tug.org/mactex/faq/index.html</a><br class="">
List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/TeX/" class="">
https://sites.esm.psu.edu/~gray/TeX/</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" class="">http://dir.gmane.org/gmane.comp.tex.macosx</a><br class="">
               <a href="https://email.esm.psu.edu/pipermail/macosx-tex/" class="">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br class="">
TeX on Mac OS X Website: <a href="https://www.tug.org/mactex/index.html" class="">
https://www.tug.org/mactex/index.html</a><br class="">
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" class="">
https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br class="">
<br class="">
Caution: This message originated from outside of the Tufts University organization. Please exercise caution when clicking links or opening attachments. When in doubt, email the TTS Service Desk at
<a href="mailto:it@tufts.edu" class="">it@tufts.edu</a><mailto:%<a href="mailto:20it@tufts.edu.com" class="">20it@tufts.edu.com</a>> or call them directly at 617-627-3376.<br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>