-
DescriptionI am trying to create a manuscript project with a main.qmd and other sections as using my 01-intro.qmd might look something like this I have tried to include this YAML in all stand alone qmd files which form the part of main.qmd I have my main.qmd as follows This results in something like This is not intended. This was not the case working with quarto 1.6.43. Also Since that version I have two more issues One is in inclusion of some custom tables. Please note the unintended behavior. Second issue is more critical The cross ref doesnt seem to realise "_" in labels. I have verified this using The crossref style (@fig-mean_educ) doesnt work because of "_" it seems. This again was not an issue in earlier version of quarto. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
|
Important Accessibility: To improve accessibility, please add alternative text to your screenshots. This helps all users, including those using screen readers, to understand the context of the images. A brief description can make a big difference! See Good Alt Text, Bad Alt Text — Making Your Content Perceivable. Important Accessibility: For better accessibility, please ensure link text is descriptive and meaningful rather than using generic terms such as "here". This helps all users understand the link's destination. See Writing meaningful link text (WCAG). |
Beta Was this translation helpful? Give feedback.
-
Just add spaces. ❯ git diff .\main.qmd
diff --git a/main.qmd b/main.qmd
index 229ec52..817a849 100644
--- a/main.qmd
+++ b/main.qmd
@@ -18,15 +18,19 @@ linestretch: 1.1
---
# Introduction
+
{{< include 01-intro.qmd >}}
# Tables
+
{{< include 02-tables.qmd >}}
# Model
+
{{< include 03-model.qmd >}}
# Figures
+
{{< include 04-figures.qmd >}}
# References {.unnumbered}You currenly get this results because you are missing spaces after your headers, and also in some files after your YAML block. Check for spaces around block in your source, and re-render again. |
Beta Was this translation helpful? Give feedback.
-
|
Note that the use of underscores in cross-reference can lead to issues in LaTeX and that is also documented in a callout at https://quarto.org/docs/authoring/cross-references.html#overview (This is not a new addition by the way) |
Beta Was this translation helpful? Give feedback.
-
|
Regarding the "need" to have multiple bibliographies defines in each documents (see end of #13616).
|
Beta Was this translation helpful? Give feedback.
-
|
The first issue is sorted. adding space solves the problem. Also the solution of adding bib file in _quarto.yml was brilliant. However the issue of tables as mentioned is still not settled here is the original table as produced using quarto on 6th of July 2025 (using code in 02-tables.qmd) I have updated my main.qmd. It now includes only the problem causing element (02-tables.qmd). The actual expected output is given above. |
Beta Was this translation helpful? Give feedback.
-
|
sorted. Thanks for all the help |
Beta Was this translation helpful? Give feedback.






To complete the reply from Christophe, the required empty lines surrounding the include shortcode is explicitly documented in an important (red) call-out at the very beginning of the documentation for that shortcode: https://quarto.org/docs/authoring/includes.html