Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic: Crossref Overhaul #4944

Open
15 of 62 tasks
allenmanning opened this issue Mar 24, 2023 · 17 comments · Fixed by #6620
Open
15 of 62 tasks

Epic: Crossref Overhaul #4944

allenmanning opened this issue Mar 24, 2023 · 17 comments · Fixed by #6620
Assignees
Labels
crossref epic An issue that contains other issues
Milestone

Comments

@allenmanning
Copy link
Contributor

allenmanning commented Mar 24, 2023

ASAP

Later

Uncategorized

Outstanding Tasks

  • Are we testing Epub crossrefs right now?
    • run output through epubcheck
  • Check the crossref label
  • Check the issues that refer to this
  • Consistency of CSS class names: "fig" vs "figure", etc.

Wontfix

Needs project overhaul (so will be worked on after that epic)

@cscheid
Copy link
Collaborator

cscheid commented Jun 27, 2023

I'm starting to check off issues that are resolved on the branch feature/float-crossref. For quarto users reading this, please don't take the checked-off boxes in here to mean that this work is ready to use. (feature/float-crossref is specifically not in a usable state right now.)

@mcanouil
Copy link
Collaborator

mcanouil commented Jul 7, 2023

(edited by cscheid to move issue to main comment)

1 similar comment
@mcanouil
Copy link
Collaborator

mcanouil commented Jul 7, 2023

(edited by cscheid to move issue to main comment)

@bryanhanson
Copy link

I don't see it explicitly here, so for completeness make videos cross-referable, discussed here.

From my perspective, the format that would be consistent would be @vid-my-video or something similar.

@cscheid
Copy link
Collaborator

cscheid commented Jul 14, 2023

@bryanhanson You will implement the category yourself. It's under "Customizable categories for Float and Block crossreferences"

@bryanhanson
Copy link

@cscheid sorry I don't understand. Do you want me to add it there? I can't edit that task list. Or are you saying when completed I'll be able to define the particular type of cross-ref myself? Or something else?

@mcanouil
Copy link
Collaborator

mcanouil commented Jul 15, 2023

@bryanhanson to rephrase:

  • @cscheid is working on redesigning the whole cross-reference feature to work on possibly everything by allowing the user to define its own "structure".
  • @cscheid only showed what's the future of Quarto holds, you can't use that example yourself now (it's going to be documented in the documentation when ready).
  • this issue is to track that work. @cscheid mentioned it because if you want to know when the above feature will be usable in 1.4 pre-release, then you can "watch" this issue, i.e., closing this issue (or part of it) will tell you it's in the pre-release.
  • currently what you want to do is not possible and the only thing you can do is to wait until the work is "ready".

@cscheid
Copy link
Collaborator

cscheid commented Sep 15, 2023

@bryanhanson As of the latest commit on main, what you're suggesting is possible. We still have to write (a lot of) documentation for the features, but see https://github.com/quarto-dev/quarto-cli/blob/main/tests/docs/crossrefs/v1.4/custom-categories/diagrams.qmd for a minimal example.

@cscheid
Copy link
Collaborator

cscheid commented Dec 1, 2023

Done in v1.4

@bcdavasconcelos
Copy link

Not sure whether/where to post this: The Typst output doesn't have any defined Amsthm cross-reference environments in version 1.4.537. (This causes rendering to fail). Hope this helps.

@mcanouil
Copy link
Collaborator

mcanouil commented Jan 8, 2024

It does not really without a reproducible example.

Could you open a new issue with a reproducible example?
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks.

You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````).

````qmd
---
title: "Reproducible Quarto Document"
format: html
engine: knitr
---

This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.

```{r}
plot(cars)
```

![A placeholder image](https://placehold.co/600x400.png)

The end.
````

@bcdavasconcelos
Copy link

My pleasure, @mcanouil. See #8167.

@cscheid
Copy link
Collaborator

cscheid commented Jun 17, 2024

See #10020

@acxz
Copy link

acxz commented Jul 22, 2024

@cscheid I noticed from the OP that certain docx cross reference features are slated as won't fix.

Would it be possible to revisit this? Specifically creating lof and lot in docx similar to toc? (I realize this may need to be a pandoc issue instead see: jgm/pandoc#8245)
See: #2464 for more conversation regarding this. Let me know if I should create a specific issue to track this or if the discussion is enough, considering it is already being tracked in the OP.

@cscheid
Copy link
Collaborator

cscheid commented Jul 23, 2024

Would it be possible to revisit this?

Not at the near future, sorry.

@olivroy
Copy link

olivroy commented Oct 2, 2024

FWIW, the lot / lof , issue has been fixed in pandoc jgm/pandoc#10029 and will be present in pandoc 3.5. So, it may be possible for Quarto to implement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crossref epic An issue that contains other issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants