Skip to content

Commit 3cdff0b

Browse files
committed
make some edits to doc
1 parent 72f1a77 commit 3cdff0b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/authoring/diagrams.qmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,15 +201,15 @@ format:
201201
Valid values for `mermaid-format` include `js`, `png`, and `svg`,
202202

203203
::: callout-warning
204-
## SVG Format Limitations with PDF Output
204+
## SVG Format Limitations with PDF Output through LaTeX
205205

206-
When rendering to PDF or LaTeX-based formats, `mermaid-format: svg` requires additional tooling and may have rendering issues:
206+
When rendering to LaTeX-based formats, `mermaid-format: svg` requires additional tooling and may have rendering issues:
207207

208-
- **Requires installation:** `rsvg-convert` must be available in your system PATH
208+
- **Requires installation:** `rsvg-convert` must be available in your system PATH for Quarto to convert SVG to PDF to include in LaTeX.
209209
- **Potential rendering issues:** Text clipping in diagrams with multi-line labels
210-
- **Recommended:** Use default `mermaid-format: png` for PDF output
210+
- **Recommended:** Keep default `mermaid-format: png` for PDF output with LaTeX.
211211

212-
For installation instructions, see [SVG Images](/docs/output-formats/pdf-basics.qmd#svg-images).
212+
For more details, including installation instructions, see [SVG Images](/docs/output-formats/pdf-basics.qmd#svg-images).
213213
:::
214214

215215
## Mermaid Themes {#mermaid-theming}

docs/output-formats/pdf-basics.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ You can learn more about installing `librsvg`{spellcheck="false"} (which provide
223223
- On MacOS, use Homebrew: `brew install librsvg`{spellcheck="false"}
224224
- On Linux, tarballs available at: <https://download.gnome.org/sources/librsvg/>
225225
- On Windows, install using chocolatey: `choco install rsvg-convert`{spellcheck="false"} or using Scoop:
226+
226227
````powershell
227228
# scoop bucket add r-bucket https://github.com/cderv/r-bucket.git
228229
scoop install rsvg-convert

0 commit comments

Comments
 (0)