-
Notifications
You must be signed in to change notification settings - Fork 370
Open
Labels
crossrefdocxIssues with the docx formatIssues with the docx formatenhancementNew feature or requestNew feature or requesttablesIssues with Tables including the gt integrationIssues with Tables including the gt integrationtriaged-toIssues that were not self-assigned, signals that an issue was assigned to someone.Issues that were not self-assigned, signals that an issue was assigned to someone.
Milestone
Description
Discussed in #9650
Originally posted by KipBalkcom-USDA May 13, 2024
Description
There appears to be a format change from the previous version of Quarto I was using (1.3.???) compared with the latest version (1.4.554). As suggested in the discussion, I removed the reference document and the cross reference label. The rendered table format is what I expected, but I obviously want to be able to use cross referencing the automatically number tables and I don't want to manually format the table captions. Hopefully, this issue can eventually be resolved.
Current software:
Windows 10
Quarto 1.4.554
Word Microsoft 365
---
title: "Reproducible Table in Quarto"
engine: jupyter
format: docx
---
```{python}
#| tbl-cap: Years and locations.
#| echo: FALSE
import pandas as pd
from tabulate import tabulate
from IPython.display import Markdown
# define values
field_ops = (pd.DataFrame({
"Year": ['2020', '2021'],
"Location": ["Loc1", "Loc2"]}))
Markdown(tabulate(
field_ops, headers="keys", showindex=False, tablefmt="pipe"))
```
olivroy
Metadata
Metadata
Assignees
Labels
crossrefdocxIssues with the docx formatIssues with the docx formatenhancementNew feature or requestNew feature or requesttablesIssues with Tables including the gt integrationIssues with Tables including the gt integrationtriaged-toIssues that were not self-assigned, signals that an issue was assigned to someone.Issues that were not self-assigned, signals that an issue was assigned to someone.