|
118 | 118 | -- File: '<test_file_basename>' -- |
119 | 119 | |
120 | 120 | -- Fig references: |
121 | | - * Line 2 ('<test_file_basename>:2'): `\@ref(fig:plot1)` → `@fig-plot1` |
| 121 | + * Line 2 ('<test_file_basename>:2'): `\@ref(fig:plot1)` -> `@fig-plot1` |
122 | 122 | i Note: Also ensure the corresponding code chunk has `#| label: fig-plot1` |
123 | 123 | |
124 | 124 | -- Eq references: |
125 | | - * Line 4 ('<test_file_basename>:4'): `\@ref(eq:mean)` → `@eq-mean` |
| 125 | + * Line 4 ('<test_file_basename>:4'): `\@ref(eq:mean)` -> `@eq-mean` |
126 | 126 | |
127 | 127 | -- Tab references: |
128 | | - * Line 3 ('<test_file_basename>:3'): `\@ref(tab:data)` → `@tbl-data` |
| 128 | + * Line 3 ('<test_file_basename>:3'): `\@ref(tab:data)` -> `@tbl-data` |
129 | 129 | i Note: Also ensure the corresponding table has tbl prefxed id, either `{#tbl-data}` or `label="tbl-data"` in the r cell. |
130 | 130 | |
131 | 131 | -- Sec references: |
132 | | - * Line 5 ('<test_file_basename>:5'): `\@ref(methods)` → `@sec-methods` |
| 132 | + * Line 5 ('<test_file_basename>:5'): `\@ref(methods)` -> `@sec-methods` |
133 | 133 | i Note: Also ensure the corresponding header has `{#sec-methods}` |
134 | 134 | |
135 | 135 | i Summary of conversion requirements: |
|
139 | 139 | * 1 Tab reference |
140 | 140 | ! Section reference detected - requires manual header updates: |
141 | 141 | Bookdown automatically generates IDs from headers like: |
142 | | - `# Hello World` → auto-generated ID: `hello-world` |
| 142 | + `# Hello World` -> auto-generated ID: `hello-world` |
143 | 143 | referenced with `\@ref(hello-world)` |
144 | 144 | |
145 | 145 | Quarto requires explicit header IDs: |
146 | | - `# Hello World {#sec-hello-world}` → explicit ID: `sec-hello-world ` |
| 146 | + `# Hello World {#sec-hello-world}` -> explicit ID: `sec-hello-world ` |
147 | 147 | referenced with `@sec-hello-world` |
148 | 148 | |
149 | 149 | ! Figure reference detected - requires manual figure labeling: |
150 | 150 | Bookdown automatically generates figure IDs from code chunk labels: |
151 | 151 | ```{r mylabel, fig.cap='My Figure'} |
152 | 152 | plot(mtcars) |
153 | | - ``` → auto-generated ID: `fig:mylabel` |
| 153 | + ``` -> auto-generated ID: `fig:mylabel` |
154 | 154 | referenced with `\@ref(fig:mylabel)` |
155 | 155 | |
156 | 156 | Quarto requires explicit figure IDs with fig prefix: |
|
170 | 170 | cell label: |
171 | 171 | ```{r mylabel} |
172 | 172 | kable(mtcars, caption = 'My Table') |
173 | | - ``` → auto-generated ID: `tab:mylabel` |
| 173 | + ``` -> auto-generated ID: `tab:mylabel` |
174 | 174 | referenced with `\@ref(tab:mylabel)` |
175 | 175 | |
176 | 176 | Quarto requires explicit table IDs with tbl prefix in R code chunks: |
|
225 | 225 | -- File: '<test_file_basename>' -- |
226 | 226 | |
227 | 227 | -- Fig references: |
228 | | - * Line 2 ('<test_file_basename>:2'): `\@ref(fig:plot1)` → `@fig-plot1` |
| 228 | + * Line 2 ('<test_file_basename>:2'): `\@ref(fig:plot1)` -> `@fig-plot1` |
229 | 229 | i Note: Also ensure the corresponding code chunk has `#| label: fig-plot1` |
230 | 230 | |
231 | 231 | i Summary of conversion requirements: |
|
234 | 234 | Bookdown automatically generates figure IDs from code chunk labels: |
235 | 235 | ```{r mylabel, fig.cap='My Figure'} |
236 | 236 | plot(mtcars) |
237 | | - ``` → auto-generated ID: `fig:mylabel` |
| 237 | + ``` -> auto-generated ID: `fig:mylabel` |
238 | 238 | referenced with `\@ref(fig:mylabel)` |
239 | 239 | |
240 | 240 | Quarto requires explicit figure IDs with fig prefix: |
|
281 | 281 | -- File: '<test_file_basename>' -- |
282 | 282 | |
283 | 283 | -- Tab references: |
284 | | - * Line 2 ('<test_file_basename>:2'): `\@ref(tab:data)` → `@tbl-data` |
| 284 | + * Line 2 ('<test_file_basename>:2'): `\@ref(tab:data)` -> `@tbl-data` |
285 | 285 | i Note: Also ensure the corresponding table has tbl prefxed id, either `{#tbl-data}` or `label="tbl-data"` in the r cell. |
286 | 286 | |
287 | 287 | i Summary of conversion requirements: |
|
291 | 291 | cell label: |
292 | 292 | ```{r mylabel} |
293 | 293 | kable(mtcars, caption = 'My Table') |
294 | | - ``` → auto-generated ID: `tab:mylabel` |
| 294 | + ``` -> auto-generated ID: `tab:mylabel` |
295 | 295 | referenced with `\@ref(tab:mylabel)` |
296 | 296 | |
297 | 297 | Quarto requires explicit table IDs with tbl prefix in R code chunks: |
|
338 | 338 | -- File: '<test_file_basename>' -- |
339 | 339 | |
340 | 340 | -- Numbered Equation references: |
341 | | - * Line 4 ('<test_file_basename>:4'): `(\#eq:binom)` → `{#eq-binom}` |
| 341 | + * Line 4 ('<test_file_basename>:4'): `(\#eq:binom)` -> `{#eq-binom}` |
342 | 342 | ! Requires manual conversion: Equation structure must be changed |
343 | 343 | |
344 | 344 | i Summary of conversion requirements: |
|
389 | 389 | -- File: '<test_file_basename>' -- |
390 | 390 | |
391 | 391 | -- Cnj references (NOT SUPPORTED IN QUARTO): |
392 | | - * Line 2 ('<test_file_basename>:2'): `\@ref(cnj:guess)` → `NOT SUPPORTED IN |
| 392 | + * Line 2 ('<test_file_basename>:2'): `\@ref(cnj:guess)` -> `NOT SUPPORTED IN |
393 | 393 | QUARTO` |
394 | 394 | x Not supported in Quarto: Consider custom cross-references (<https://quarto.org/docs/authoring/cross-references-custom.html>) or supported theorem types. |
395 | 395 | |
|
398 | 398 | x Cross-references to types not supported in Quarto |
399 | 399 | |
400 | 400 | The following bookdown cross-reference types are not supported in Quarto: |
401 | | - • Conjecture (cnj) |
402 | | - • Hypothesis (hyp) |
| 401 | + * Conjecture (cnj) |
| 402 | + * Hypothesis (hyp) |
403 | 403 | |
404 | 404 | Consider these alternatives: |
405 | | - • Convert to regular text without cross-references |
406 | | - • Use supported theorem types (theorem, lemma, corollary, etc.) |
407 | | - • Create custom callout blocks with manual numbering |
| 405 | + * Convert to regular text without cross-references |
| 406 | + * Use supported theorem types (theorem, lemma, corollary, etc.) |
| 407 | + * Create custom callout blocks with manual numbering |
408 | 408 | |
409 | 409 |
|
410 | 410 | # detects theorem block with label correctly |
|
441 | 441 | |
442 | 442 | -- Lemma Block Labeled references: |
443 | 443 | * Line 2 ('<test_file_basename>:2'): `` ```{lemma label="important", |
444 | | - name="Helper Lemma"} `` → `:::{#lemma-important}` |
| 444 | + name="Helper Lemma"} `` -> `:::{#lemma-important}` |
445 | 445 | |
446 | 446 | -- Lem references: |
447 | | - * Line 5 ('<test_file_basename>:5'): `\@ref(lem:important)` → `@lem-important` |
| 447 | + * Line 5 ('<test_file_basename>:5'): `\@ref(lem:important)` -> `@lem-important` |
448 | 448 | |
449 | 449 | i Summary of conversion requirements: |
450 | 450 | * 1 Lem reference |
|
488 | 488 | |
489 | 489 | -- Theorem Block Unlabeled references: |
490 | 490 | * Line 2 ('<test_file_basename>:2'): `` ```{theorem name="Pythagorean theorem"} |
491 | | - `` → `Manual conversion required: Use ::: {#thm-<id>} syntax. See |
| 491 | + `` -> `Manual conversion required: Use ::: {#thm-<id>} syntax. See |
492 | 492 | https://quarto.org/docs/authoring/cross-references.html#theorems-and-proofs` |
493 | 493 | |
494 | 494 | i Summary of conversion requirements: |
|
534 | 534 | |
535 | 535 | -- Theorem Div references: |
536 | 536 | * Line 2 ('<test_file_basename>:2'): `::: {.theorem #pyth-new name="Pythagorean |
537 | | - theorem"}` → `:::{#thm-pyth-new}` |
| 537 | + theorem"}` -> `:::{#thm-pyth-new}` |
538 | 538 | |
539 | 539 | -- Thm references: |
540 | | - * Line 7 ('<test_file_basename>:7'): `\@ref(thm:pyth-new)` → `@thm-pyth-new` |
| 540 | + * Line 7 ('<test_file_basename>:7'): `\@ref(thm:pyth-new)` -> `@thm-pyth-new` |
541 | 541 | |
542 | 542 | i Summary of conversion requirements: |
543 | 543 | * 1 Theorem Div reference |
|
0 commit comments