Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appendix support #27

Open
tgherzog opened this issue Oct 19, 2020 · 0 comments
Open

Appendix support #27

tgherzog opened this issue Oct 19, 2020 · 0 comments

Comments

@tgherzog
Copy link

I'm trying to use your terrific package to generate a book with an Appendix, using this bookdown feature to number the Appendices separately (A, B, etc). My testing stub is below.

The trouble is that the appendices are numbered incorrectly in the TOC dropdown, although their section titles are correct on the page.

image

I'm using the latest version of msmbstyle 0.0.15 installed from github this morning.

---
site: bookdown::bookdown_site
title: "Foobar: A Novel"
author: "Tim Herzog"
date: "`r Sys.Date()`"
output:
  bookdown::pdf_book:
    includes:
      in_header: preamble.tex
    latex_engine: xelatex
    # citation_package: natbib
    keep_tex: no
    toc: no
    title: no
  bookdown::html_book:
    toc: true
    number_sections: true
  msmbstyle::msmb_html_book:
    toc: true
    number_sections: true
documentclass: book
classoption:
 - openright
 - oneside
# bibliography: [book.bib, packages.bib]
# biblio-style: apalike
# link-citations: yes
---

# Introduction

Yada yada yada

# Chapter Two #

Dark and stormy night

# (APPENDIX) Appendix {-}

# List of Preferred Holloween Candies

* Recess peanut butter cups
* Snickers
* M&Ms

# Shopping List

* Toilet paper
* Paint brushes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant