-
DescriptionI ran into troubles when rendering to html or typst format document from a quarto file that has tables, supplementary tables, figures, and supplementary figures. Multiple issues showed up, so I created a github repository to reproduce these issues (https://github.com/davidzgli/manuscript-example). When rendering the index.qmd file to html, I get the following error:
Some issues were also encountered when rendering the index.qmd file to typst document. The issues are documented at https://github.com/davidzgli/manuscript-example/blob/main/issues.qmd. I am on macOS Sonoma 14.6.1 with quarto 1.5.56. Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
@davidzgli Could you try to make your example smaller by removing all pieces not necessary? |
Beta Was this translation helpful? Give feedback.
-
Yes, this example is enough. Sorry for making the example too
complicated. I was planning to use one example to demonstrate multiple
issues. It turned out to be a bad idea.
…On Thu, Sep 12, 2024 at 12:30 PM Mickaël Canouil ***@***.***> wrote:
Sorry, I don't understand.
Are you saying the issue is "only" the space after the reference in Typst?
If so, I assume the following is quite enough:
---title: "crossref figure panel"format: typst---
```{r}#| label: fig-mtcars-combinedplot(1)```
***@***.***A
—
Reply to this email directly, view it on GitHub
<#10755 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQTOJRO7H75RXJILZXAJBTZWG6STAVCNFSM6AAAAABN4UF2RKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRSHA2DOMQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Thank you. It works. I have many figures in the manuscript I am working
on, and every figure has multiple panels. The proper cross-reference to
the individual panels is crucial.
…On Thu, Sep 12, 2024 at 5:23 PM Mickaël Canouil ***@***.***> wrote:
If you really want to use patchwork and not get proper/cleaner sub-figures
cross-reference, you need to use: ***@***.***`\`{=typst}A,
note the `\`{=typst} to ensure the reference stops there.
—
Reply to this email directly, view it on GitHub
<#10755 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQTOJS2BFFTF2TJYZF53M3ZWIA4DAVCNFSM6AAAAABN4UF2RKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRTGA4DQMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
If you really want to use patchwork and not get proper/cleaner sub-figures cross-reference, you need to use:
[@fig-mtcars-combined]`\`{=typst}A
, note the`\`{=typst}
to ensure the reference stops there.