Skip to content
Discussion options

You must be logged in to vote

One approach I think of is the use an include at the start of each chapter, like:

{{< include colorize-chapter.qmd >}}
# Introduction

This is a book created from markdown and executable code.

See @knuth84 for additional discussion of literate programming.

which points to a file containing a raw latex block, like:

```{=latex}
\stepcounter{chapshift}
```

Would that work?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MichelDSchmid
Comment options

Answer selected by MichelDSchmid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants