Open sagirumati opened 3 months ago
Please we do need for you to fill properly and completely the issue template with all the requested information and properly formatted.
In its current state, we can't use your report or help you.
You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````
).
See https://quarto.org/bug-reports.html#small-is-beautiful-aim-for-a-single-document-with-10-lines.
If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
R | Python |
---|---|
`````md ````qmd --- title: "Reproducible Quarto Document" format: html engine: knitr --- This is a reproducible Quarto document. ```{r} x <- c(1, 2, 3, 4, 5) y <- c(1, 4, 9, 16, 25) plot(x, y) ``` ![An image](https://placehold.co/600x400.png) The end. ```` ````` | `````md ````qmd --- title: "Reproducible Quarto Document" format: html engine: jupyter --- This is a reproducible Quarto document. ```{python} import matplotlib.pyplot as plt x = [1, 2, 3, 4, 5] y = [1, 4, 9, 16, 25] plt.plot(x, y) plt.show() ``` ![An image](https://placehold.co/600x400.png) The end. ```` ````` |
Additionally and if not already given, please share the output of quarto check
within a code blocks (i.e., using three backticks ```txt
), see https://quarto.org/bug-reports.html#check.
Bug description
The following are rendered to Figures 1 and 2 ...., Equations 1 and 2 ..., and Tables 1 and 2 ... respectively if the format is
pdf
.Figures [-@fig-fig1] and [-@fig-fig2] ......
Equations [-@eq-eq1] and [-@eq-eq2] .......
Tables [-@tbl-tab1] and [-@tbl-tab2] ......
However, if the format is
docx
, they are rendered to: Figures Figure 1 and Figure 2 ...., Equations Equation 1 and Equation 2 ..., and Tables Table 1 and Table 2 ... .It is obvious that
[-@fig-fig1]
,[-@eq-eq1]
, and[-@tbl-tab1]
do not work indocx
format.Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Your environment
No response
Quarto check output
No response