Solved, Page numbers not showing in place
Daniel
xracoonx at gmx.de
Wed Dec 1 06:49:09 UTC 2021
On 2021-12-01 03:34, Melvin Bolton wrote:
> Thank you to everybody who offered suggestions and tried to help with
> the problem described below. It steered me towards the ERT that I had
> placed immediately before the first chapter. What finally did the trick
> was to repeat the ERT \pagestyle {plain} in the text, after the last
> word (as printed in output) of Chapter 1, page 1. After that, the page
> numbers appeared on every page footer in all 18 chapters, centred in
> Standard Class, and in the outers when I switched back to Koma.
>
> Perhaps this simply countered an earlier error of some sort. I don't
> know but I hope this snippet will prove helpful to others at some point.
>
> Thank you again
>
> Melvin
Great that it worked!
Just for completeness, I attach your test document with the changes I
mentioned earlier.
Best,
Daniel
-------------- next part --------------
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrbook
\begin_preamble
% Options for packages loaded elsewhere
\let\tmp\oddsidemargin
\let\oddsidemargin\evensidemargin
\let\evensidemargin\tmp
\reversemarginpar
\end_preamble
\options openany
\use_default_options false
\begin_modules
fixltx2e
\end_modules
\maintain_unincluded_children false
\language english
\language_package none
\inputencoding utf8
\fontencoding global
\font_roman "lmodern" "default"
\font_sans "default" "default"
\font_typewriter "lmodern" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype true
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks false
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref section
\pdf_pdfusetitle false
\pdf_quoted_options "hidelinks,pdfcreator={LaTeX via pandoc}"
\papersize custom
\use_geometry false
\use_package amsmath 2
\use_package amssymb 2
\use_package cancel 0
\use_package esint 1
\use_package mathdots 0
\use_package mathtools 0
\use_package mhchem 0
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 12.9cm
\paperheight 19.8cm
\secnumdepth -1
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style british
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle plain
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
pagestyle{empty}
\backslash
frontmatter
\end_layout
\end_inset
\begin_inset VSpace bigskip*
\end_inset
\end_layout
\begin_layout Standard
\align center
\series bold
\size giant
Title
\size huge
\begin_inset VSpace 2cm*
\end_inset
\end_layout
\begin_layout Standard
\align center
\size largest
Author
\end_layout
\begin_layout Standard
\align center
\begin_inset VSpace vfill*
\end_inset
\end_layout
\begin_layout Subsection*
\begin_inset Newpage pagebreak
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace vfill*
\end_inset
\end_layout
\begin_layout Standard
copyright details
\end_layout
\begin_layout Standard
\begin_inset VSpace smallskip*
\end_inset
\begin_inset VSpace smallskip*
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace medskip*
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace smallskip*
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Newpage pagebreak
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace defskip*
\end_inset
\end_layout
\begin_layout Standard
\align center
\size large
\begin_inset VSpace defskip*
\end_inset
\size larger
dedication as standard
\end_layout
\begin_layout Standard
\begin_inset Newpage pagebreak
\end_inset
\end_layout
\begin_layout Quote
\noindent
\align center
\size large
quotation as standard
\end_layout
\begin_layout Quote
\begin_inset VSpace defskip*
\end_inset
\end_layout
\begin_layout Standard
\noindent
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
mainmatter
\backslash
pagestyle{plain}
\end_layout
\end_inset
\end_layout
\begin_layout Chapter
ONE
\end_layout
\begin_layout Standard
Russel Strickland had never known real poverty, and never in the thirty
years of his adult life had he recognized a clear distinction between work
and play, he simply took daily life as he found it.
It might be enjoyable, interesting, frustrating or merely tiring, but the
hours spent producing money were not otherwise distinguishable from time
spent serving any other purpose.
Sometimes there was money in what he did and sometimes not.
That was how it had always been and he considered himself lucky in comparison
with those who spent so much of their lives waiting for weekends.
The task that was occupying him that morning was thoroughly engrossing
but he was not deriving any pleasure from it.
Nor would it earn him a cent.
\end_layout
\begin_layout Standard
Hunched over the lifeless body, he muttered something to himself, and with
scarcely a turn of his head, reached for a little sponge and dabbed at
the blood that was pooling in the abdominal cavity.
Stomach, pancreas and intestines had already been removed.
Wiping his latex-gloved fingers less than thoroughly he then straightened
up and turned to pick up a camera from a glass-topped table just a few
steps behind him.
The flash of a single exposure was an instant of brilliant light and deep
shadow throughout the entire room.
There were bookshelves, fridges, a workbench with an assortment of jars
and other glassware on top, and something that looked like a dining-room
sideboard upon which only a microscope could easily be identified.
Possibly, if the whole room had been included in the picture, a sofa could
have been made out in the deepest shadow.
Clearly, it was not a room to be described in rental-home terms, even without
the dead chimpanzee.
\end_layout
\begin_layout Standard
Setting aside the camera, he peered closely at the animal's ovaries, snipping
them free and cupping each whitish little almond in the palm of his hand
for a more detailed inspection.
Evidently satisfied with what he saw, he cut away the hanging fringes of
tissue and gently lowered both ovaries together into a shallow bowl of
water.
Now standing at the sink, he carefully tipped off the bloodied liquid and
poured more water over them from a plastic bottle.
He did this repeatedly until the water ran clear.
Finally, he placed the dripping little organs in a plastic bag, knotted
the top and packed them away in what appeared to be a well-insulated lunch-box.
It was shortly after that when he heard the front door being opened and
the sound of familiar footsteps in the little hall.
\end_layout
\begin_layout Standard
The dark-haired woman who appeared was about his own age with a complexion
that some would have said was too pale.
He glanced up and nodded an easy greeting.
\end_layout
\begin_layout Standard
She was frowning at the entrails in the bucket on the floor.
`Find anything?' she asked conversationally.
\end_layout
\begin_layout Standard
His expression said he had not.
`No, just the head wound, and I still wouldn't have thought it was enough
to kill her.
Probably just a bit of a squabble.
At the gross level she seems to have been in good health.
Heart and lungs looked fine.'
\end_layout
\begin_layout Standard
`Poor old Bess.
That's really sad.'
\end_layout
\begin_layout Standard
`Not even old.
She was in her prime.
Anyway, there's no point in my doing much more of this and I'm not taking
tissue samples; a full pathology report will cost a mint even at mate's
rates.'
\end_layout
\begin_layout Standard
She sighed.
`Do you need any help?'
\end_layout
\begin_layout Standard
`No, it's OK, Love.
I'll just finish up and then I can get her outside on the trolley.
I might need some help with the digging though; the ground's rock-hard
over there.
What time will Nick be back?'
\end_layout
\begin_layout Standard
`He has nothing after school this afternoon so I don't think he'll be late.'
\end_layout
\begin_layout Standard
`Good.
I'll crowbar and he can shovel.'
\end_layout
\begin_layout Standard
She smiled.
`You might find he can out-do you with a crowbar.'
\end_layout
\begin_layout Standard
`You could well be right.
We'll see how we go.'
\end_layout
\begin_layout Standard
She was now looking more closely at the opened body, her hands clasped under
her chin as if to keep them out of the way.
`I see you've already collected the ovaries.'
\end_layout
\begin_layout Standard
He indicated the lunch-box.
`Just given them a saline wash.
I'll get them to the Borradaile as soon as I'm done here.
Time is a merciless thing, as they say, especially to bagged ovaries.' He
was removing the liver and small spleen, both of which appeared to be perfectly
normal.
\end_layout
\begin_layout Standard
`Worth a try, I suppose, but only out of interest.
Using her eggs for IVF won't be any help to me.
Losing Bess is a real setback at a bad time.
I've got paperwork piling up, too.' She raised an arm to exaggerate the
size of the pile and sighed again.
`Well you know where I'll be,' she said resignedly, and she left him alone.
\end_layout
\begin_layout Standard
As his wife took her leave, Strickland was deftly freeing a remaining kidney
from its bed in the rear wall of the cavity.
Again, he could see nothing amiss.
\emph on
Enough,
\emph default
he said to himself and began the task of clearing up.
Within the hour he was washed and changed and interrupting the state of
quiet concentration that Lynda had just managed to reach at her desk.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
AND SO ON BUT NO PAGE NUMBERS OUTPUT UNTIL FIRST PAGE OF CHAP 2
\end_layout
\begin_layout Chapter
TWO
\end_layout
\begin_layout Standard
Jim Bracewell, Russel's father-in-law, had grown up as poor as the proverbial
church mouse but back in those days life had been hard for most people,
and the generation before them had had it even worse.
When Jim's own father had been in his early seventies he had ended up deliverin
g pamphlets, on foot and in all weathers, because he came cheaper than the
postal service.
He had coped with it for a few months but then died from pneumonia.
Jim had now reached his seventies in quite good physical shape but poverty
had left its mark on his psyche.
People react differently to life's experiences; some might become wasteful
and extravagant upon escaping from poverty but Jim had remained no less
careful with his money and he wasted nothing.
That is not to say he was miserly but he needed to see value for what he
spent.
He also preferred a bird in the hand to any number in the bush, and had
never needed religion to recruit him to the work ethic.
Jim Bracewell was a man who called a spade a spade but never a shovel of
any sort because he had always known the difference.
\end_layout
\end_body
\end_document
More information about the lyx-users
mailing list