Skip to content
Discussion options

You must be logged in to vote

Thanks for the question. It's a totally reasonable request and part of #4944 that we hadn't gotten around to. I added the feature just now, currently only tested in LaTeX and HTML. Once the test suite passes, this will be in our 1.4 pre-release.

We're still working on documentation, but here's how a minimal example will look:

---
title: Proposed syntax for custom crossrefs
format: pdf
keep-tex: true
crossref:
  custom:
    - kind: float
      reference-prefix: Diagram
      caption-prefix: Diagram
      key: dia
      latex-env: diagram
      latex-list-of-file-extension: lod
    - kind: float
      reference-prefix: Table S
      space-before-numbering: false
      caption-prefix: Tabl…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@mcanouil
Comment options

mcanouil Dec 8, 2023
Collaborator

@Crismoc
Comment options

@mcanouil
Comment options

@cscheid
Comment options

@Crismoc
Comment options

Answer selected by grasshoppermouse
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants