Page numbers not showing in place
Melvin Bolton
melvinbolton at bigpond.com
Tue Nov 30 07:08:15 UTC 2021
Hello Paul
Thank you for your response. I've cut the Lyx document down to the few
first pages, and am also attaching the pdf output from it. You will see
one entry in the preamble that reverses the odd/even pages. Without
this, the right side (recto) pages show the left page margins, but the
numbering problem remains, with or without that entry in the preamble.
Melvin
On 30/11/2021 10:44, Paul A. Rubin wrote:
> On 11/29/21 7:00 PM, Melvin Bolton wrote:
>> I have in the past completed a lengthy book, using Lyx, without
>> needing to trouble anybody for help, but I'm now baffled by what
>> should be a simple, basic task and I have no idea what to try next.
>>
>> My problem is that the pagestyle settings that should place page
>> numbers in the footer, are showing them in the output only on the
>> first page of each chapter, which the User Guide says is treated by
>> Lyx as a special environment.
>> I began with KOMA-Script ( scrbook) with pagestyle set to 'plain' as
>> I'd done previously. This places page numbers in the outer end of the
>> footer as I prefer them. When I found them only appearing on the
>> first page of each chapter I searched online and tried pasting a few
>> commands in the preamble but nothing helped and mostly I got
>> compilation errors. I've cleared the preamble.
>>
>> I tried Lyx Standard Class (Book) with pagestyle set to 'plain',
>> which centred the page numbers as it should, but still only on first
>> pages of chapters. Neither was there any improvement after I tried
>> pagestyle set to 'fancy' and tried to customize that. It's as though
>> chapter footers are not accessible, except for first page.
>>
>> In my document, immediately before the first chapter, I have the
>> following ERT: \mainmatter\pagestyle{plain} \setcounter{page}{1}
>>
>> The frontmatter is fine because I have don't want page numbers there
>> and have pagestyle set to 'empty.' That, at least, has worked; there
>> were Roman numerals there to begin with.
>> Finally, I did a reinstallation of Lyx (ver. 2.3.6.1) in case of
>> corruption, (apparently not) and I'm now out of ideas.
>>
>> I shall be truly grateful for any help, but I will need precise
>> instruction if I am to paste commands correctly into the preamble. I
>> really am an old novice.
>>
>> Thank you
>>
>> Melvin
>>
> I think we will need a minimal example (MWE) of this to diagnose. The
> LyX file should be self-contained if possible, so you try cutting out
> illustrations and other external matter. If the contents is not for
> our eyes, feel free to substitute "blah blah blah" or whatever, so
> long as when you compile the MWE the page numbers remain buggered.
>
> Paul
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Output MWE_with_reverse.pdf
Type: application/pdf
Size: 138567 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20211130/be2d7589/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lyx file MWE with reverse.lyx
Type: application/lyx
Size: 11471 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20211130/be2d7589/attachment-0001.bin>
More information about the lyx-users
mailing list