Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Equation labels not properly handled when pandoc 2.0 is used with gitbook output #504

@dataopt

Description

@dataopt

Here is a minimal example for a minimal book with the following index.Rmd

---
title: "A Book"
author: "Frida Gomam"
site: bookdown::bookdown_site
documentclass: book
output:
  bookdown::gitbook:
    split_by: section
  bookdown::pdf_book: default
---

# Test labels {-}

Second equation label is not replaced with proper tag when using pandoc 2.0

\begin{equation}
x \in \mathbb{R} (\#eq:real)
\end{equation}
Hello
\begin{equation}
y \in \mathbb{Z} (\#eq:integer)
\end{equation}

Screenshot of the generated gitbook:
screen shot 2017-12-26 at 4 55 46 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions