Skip to content

FR: customization options for cross references in book project #2356

Closed

Description

@cscheid

Discussed in #2345

Originally posted by rgaiacs September 7, 2022
It's common for academic articles to have "supplementary material"/"supporting information" that publishers process as a different document. The main article will reference the supplementary material, for example

Table S1 has additional statistics

Will be great for Quarto to support more customization for cross reference.

Minimal Working Example

Download all files

_quarto.yml:

project:
  type: book

book:
  title: "MWE"
  author: "Raniere Silva"
  chapters:
    - index.qmd
  appendices:
    - data.qmd

crossref:
  appendix-title: "Supporting Information"

format:
  docx:
    toc: false
    number-sections: false

index.qmd:

# Material and Methods

Some text, see @tbl-iris in @sec-data for details.

data.qmd:

# Data Processing {#sec-data}

```{r}
#| label: tbl-iris
#| tbl-cap: Iris

iris |>
  head() |>
  knitr::kable()
```

Observed Output

Screenshot from 2022-09-08 09-31-12

Expected Output

  • Tables and Figures be numbered with S as prefix.

Screenshot from 2022-09-08 09-36-20

Activity

  1. added this to the v1.2 milestone on Sep 8, 2022
  2. changed the title [-]Advance cross reference for book project[/-] [+]FR: customization options for cross references in book project[/+] on Sep 8, 2022
  3. modified the milestones: v1.2, v1.3 on Sep 23, 2022
  4. self-assigned this
    on Nov 15, 2022
  5. modified the milestones: v1.3, v1.4 on Feb 28, 2023
  6. cscheid commented on Oct 22, 2023

    @cscheid
    MemberAuthor

    "Table S1" is now supported, since #7320.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions