Giter Club home page Giter Club logo

Comments (13)

jadebarclay avatar jadebarclay commented on July 24, 2024 1

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.

ulyngs avatar ulyngs commented on July 24, 2024 1

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.

ulyngs avatar ulyngs commented on July 24, 2024

Can you give a reproducible example and a couple of screenshots, then I'll have a look? :)

from oxforddown.

jadebarclay avatar jadebarclay commented on July 24, 2024

Thank you.
I've made almost no changes to the raw oxforddown template.
Here goes....

image
image

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.

jadebarclay avatar jadebarclay commented on July 24, 2024

What I'm trying to do:

  1. Single line spacing on the second page
  2. 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.

ulyngs avatar ulyngs commented on July 24, 2024

Can you provide me some raw markdown content I can copy-paste into a chapter to reproduce this issue myself? :)

from oxforddown.

jadebarclay avatar jadebarclay commented on July 24, 2024

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.

ulyngs avatar ulyngs commented on July 24, 2024

Thanks!

Do you get the issue both when compiling the entire thesis and when you knit a single chapter?

from oxforddown.

jadebarclay avatar jadebarclay commented on July 24, 2024

I haven't tried to knit a single chapter... let me check

from oxforddown.

ulyngs avatar ulyngs commented on July 24, 2024

Ah wait I think just knitting a single chapter doesn't include a minitoc, nevermind!

from oxforddown.

jadebarclay avatar jadebarclay commented on July 24, 2024

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.

ulyngs avatar ulyngs commented on July 24, 2024

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

image

from oxforddown.

ulyngs avatar ulyngs commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.