Comments (13)
That worked! I was just setting up the TOC before writing it. :)
Thanks so much ๐
Any tips for setting the manual page break inside the minitoc?
from oxforddown.
it's certainly possible, but I haven't had the need to do this myself: https://tex.stackexchange.com/questions/587801/how-to-insert-a-page-break-in-a-minitoc-but-not-in-toc
from oxforddown.
Can you give a reproducible example and a couple of screenshots, then I'll have a look? :)
from oxforddown.
Thank you.
I've made almost no changes to the raw oxforddown template.
Here goes....
output:
#bookdown::html_document2: default
#bookdown::word_document2: default
bookdown::pdf_document2:
template: templates/brief_template.tex
citation_package: biblatex
bib-humanities: true
documentclass: book
#bibliography: [bibliography/references.bib, bibliography/additional-references.bib]
---
# Results {#results}
\chaptermark{Results}
\minitoc <!-- this will include a mini table of contents-->
## Descriptive Stats {#descr}
.
.
.
from oxforddown.
What I'm trying to do:
- Single line spacing on the second page
- Insert a manual page break before item 3.6 (optional, but preferred)
I've been toying with splitting the content of chapter 3 into two chapters to work around this. But I'd really rather not do that!
Thanks so much for looking into this :)
from oxforddown.
Can you provide me some raw markdown content I can copy-paste into a chapter to reproduce this issue myself? :)
from oxforddown.
Here's the whole 03-results.Rmd
---
output:
#bookdown::html_document2: default
#bookdown::word_document2: default
bookdown::pdf_document2:
template: templates/brief_template.tex
citation_package: biblatex
bib-humanities: true
documentclass: book
#bibliography: [bibliography/references.bib, bibliography/additional-references.bib]
---
# Results {#results}
\chaptermark{Results}
\minitoc <!-- this will include a mini table of contents-->
## Descriptive Stats {#descr}
#### Entire Sample
#### Patient Sample
#### Clinican Sample
#### Patient Subgroups
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
from oxforddown.
Thanks!
Do you get the issue both when compiling the entire thesis and when you knit a single chapter?
from oxforddown.
I haven't tried to knit a single chapter... let me check
from oxforddown.
Ah wait I think just knitting a single chapter doesn't include a minitoc, nevermind!
from oxforddown.
Yeah, I can't get the minitoc to show up on a single chapter. If I add the scripts_and_filters/knit-functions.R
to yaml/knit, it just makes the entire thesis.
from oxforddown.
Is there a particular need for you to only have the headings in there and nothing else?
The issue disappears for me when I start filling in even just some minimal content to make the situation a bit more realistic, like so:
---
output:
#bookdown::html_document2: default
#bookdown::word_document2: default
bookdown::pdf_document2:
template: templates/brief_template.tex
citation_package: biblatex
bib-humanities: true
documentclass: book
#bibliography: [bibliography/references.bib, bibliography/additional-references.bib]
---
# Results {#results}
\minitoc <!-- this will include a mini table of contents-->
Here's an intro.
It's really great.
## Descriptive Stats {#descr}
There's mores tuff here.
### Entire Sample
### Patient Sample
### Clinican Sample
### Patient Subgroups
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
Lorem ipsum.
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
More lorem ipsum.
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
Much more lorem
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
Some more lorem ipsum.
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
## sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
And yet more lorem lirum larum.
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
### sdfklsdfjds sdfljksdl sdlfkjsljf sdlkfjsdldkjf
from oxforddown.
I'm gonna close this for now; if you later on face a practical need to insert a line break in the minitoc and can't get the online latex instructions to work with oxforddown
, just open a new issue :)
from oxforddown.
Related Issues (20)
- "Render" output HOT 2
- Problem with number of authors and the et al. abbreviation HOT 1
- Figure caption placement HOT 2
- package โxelatexโ is not available for this version of R HOT 1
- Linespacing varies amongst pages HOT 8
- Table of contents preventing the LaTeX from compiling for PDF output HOT 5
- if show-abstract-in-toc: true, Abstract TOC hyperlink is to Acknowledgements HOT 1
- Cannot find font information and ways to change it HOT 1
- remove the page breaks for each chapter HOT 1
- Issues with pandoc-citeproc in oxforddown HOT 2
- Compilation problems HOT 4
- Adapting headings to local language
- Cannot Knit
- how create numbered examples HOT 1
- Note below figure in graphic environment
- Minitocs shift pages through the space they take up but don't adjust for this
- Missing Book Title in Bibliography Citations (citing book section)
- How to change font style
- cleaning auxiliary files when knitting single chapter HOT 2
- fresh downloaded oxforddown not building HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oxforddown.