# \#weave

**URL:** https://discourse.julialang.org/tag/weave/516.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Weave.jl report generation fails in PackageCompiler.jl App](https://discourse.julialang.org/t/weave-jl-report-generation-fails-in-packagecompiler-jl-app/130841)

<div class="topic-metadata">

**Author:** [@apurvdarji](https://discourse.julialang.org/u/apurvdarji)\
**Replies:** 0\
**Last updated:** [July 18, 2025, 9:29am UTC](https://discourse.julialang.org/t/weave-jl-report-generation-fails-in-packagecompiler-jl-app/130841 "2025-07-18T09:29:00Z")

</div>

I’m encountering an issue when generating a report from a compiled application that uses Weave.jl, which I built with PackageCompiler.jl. Initially, I received the following error: ┌ Warning: Error generating report! │…

---

## [Generate PDF document showing the equations in a package](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 2\
**Last updated:** [January 30, 2025, 6:57pm UTC](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064 "2025-01-30T18:57:04Z")

</div>

I have a small package with equations and tables copied from a book. I want to figure out a way to generate a PDF file rendering all the equations in mathy form. This will serve as a quality control that the equations be…

---

## [Using notebooks or Julia markdown with Documenter.jl](https://discourse.julialang.org/t/using-notebooks-or-julia-markdown-with-documenter-jl/119024)

<div class="topic-metadata">

**Author:** [@msw](https://discourse.julialang.org/u/msw)\
**Replies:** 4\
**Last updated:** [September 4, 2024, 6:30pm UTC](https://discourse.julialang.org/t/using-notebooks-or-julia-markdown-with-documenter-jl/119024 "2024-09-04T18:30:05Z")

</div>

I would like to use notebooks or Julia markdown (jmd) with Documenter.jl similarly to mkdocs-jupyter, but I cannot find any tutorials or examples on how to do so. My first idea was to use Weave.jl to generate markdown f…

---

## [Julia code not being auto-indented .jmd files using Weave.jl in VSCODE](https://discourse.julialang.org/t/julia-code-not-being-auto-indented-jmd-files-using-weave-jl-in-vscode/111098)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 0\
**Last updated:** [March 3, 2024, 4:39pm UTC](https://discourse.julialang.org/t/julia-code-not-being-auto-indented-jmd-files-using-weave-jl-in-vscode/111098 "2024-03-03T16:39:38Z")

</div>

Dear All, I am using the package Weave.jl in VSCODE (filetype: .jmd). When I write julia code within the julia code block \`\`\`julia \`\`\` the code is not indented properly, e.g., if I start a for loop, the code looks li…

---

## [How to print out Latex document as pdf?](https://discourse.julialang.org/t/how-to-print-out-latex-document-as-pdf/110786)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 12\
**Last updated:** [February 28, 2024, 8:43am UTC](https://discourse.julialang.org/t/how-to-print-out-latex-document-as-pdf/110786 "2024-02-28T08:43:24Z")

</div>

I have this code and is working fine for my desired output as you can see below. using Latexify, ParameterizedFunctions, Weave f = @ode\_def positiveFeedback begin dx = v\*y^n/(k^n+y^n) - x dy = x/(k\_2+x) - y end…

---

## [Unicode characters in Julia Markdown not exported to pdf](https://discourse.julialang.org/t/unicode-characters-in-julia-markdown-not-exported-to-pdf/110528)

<div class="topic-metadata">

**Author:** [@nvah](https://discourse.julialang.org/u/nvah)\
**Replies:** 8\
**Last updated:** [February 22, 2024, 8:46am UTC](https://discourse.julialang.org/t/unicode-characters-in-julia-markdown-not-exported-to-pdf/110528 "2024-02-22T08:46:25Z")

</div>

Hi there, I’m relatively new to Julia and I am working in VS Code on a Mac OS. When I try to export my .jmd file which contains greek letters (\\alpha, \\varepsilon etc.), I get the following error message: Info: Weaving…

---

## [How can I control the LaTeX settings of Weave output?](https://discourse.julialang.org/t/how-can-i-control-the-latex-settings-of-weave-output/105692)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [November 6, 2023, 8:21am UTC](https://discourse.julialang.org/t/how-can-i-control-the-latex-settings-of-weave-output/105692 "2023-11-06T08:21:12Z")

</div>

How can I configure the LaTeX output of Weave.jl such as packages used, typefaces, etc.? Basically, can I pass LaTeX preamble to Weave?

---

## [Is there a built-in command to weave and tangle current file in Julia in VS Code?](https://discourse.julialang.org/t/is-there-a-built-in-command-to-weave-and-tangle-current-file-in-julia-in-vs-code/105564)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 3\
**Last updated:** [October 31, 2023, 4:03pm UTC](https://discourse.julialang.org/t/is-there-a-built-in-command-to-weave-and-tangle-current-file-in-julia-in-vs-code/105564 "2023-10-31T16:03:28Z")

</div>

Is there a palette command in Julia in VS Code to weave and tange the current document? Or should one always run a script like this one? using Weave filename = normpath("./", "file.jmd") weave(filename; doctype="md2pdf"…

---

## [How can I add Latex directly into Weave.jl .jmd file?](https://discourse.julialang.org/t/how-can-i-add-latex-directly-into-weave-jl-jmd-file/105266)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 0\
**Last updated:** [October 21, 2023, 12:03pm UTC](https://discourse.julialang.org/t/how-can-i-add-latex-directly-into-weave-jl-jmd-file/105266 "2023-10-21T12:03:57Z")

</div>

Hi! I am trying to reference a figure I made using \\cref{fig:myfig} but it keeps on formatting my string no matter what I do… Anyone knows how? Kind regards

---

## [How to control options for displaying table in Weave.jl?](https://discourse.julialang.org/t/how-to-control-options-for-displaying-table-in-weave-jl/105256)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 0\
**Last updated:** [October 21, 2023, 1:17am UTC](https://discourse.julialang.org/t/how-to-control-options-for-displaying-table-in-weave-jl/105256 "2023-10-21T01:17:34Z")

</div>

Hello! I’ve been playing a bit with Weave.jl tonight and found it very fun to use! I tried to do a table though, and I must admit: I did struggle quite a bit. Basically it does work if one does; using DataFrames DataF…

---

## [Weave doctype = "md2html" without building figure sub-directory?](https://discourse.julialang.org/t/weave-doctype-md2html-without-building-figure-sub-directory/103552)

<div class="topic-metadata">

**Author:** [@matnbo](https://discourse.julialang.org/u/matnbo)\
**Replies:** 0\
**Last updated:** [September 5, 2023, 7:42pm UTC](https://discourse.julialang.org/t/weave-doctype-md2html-without-building-figure-sub-directory/103552 "2023-09-05T19:42:36Z")

</div>

When using function weave of Weave.jl to build an Html file from a Julia markdown file, such as: weave(“mypage.jmd”; out\_path = my\_out\_path, doctype = “md2html”) the function automtically creates a sub-directory (in …

---

## [First steps with Weave.jl: looking for learning resources](https://discourse.julialang.org/t/first-steps-with-weave-jl-looking-for-learning-resources/102836)

<div class="topic-metadata">

**Author:** [@Hugo](https://discourse.julialang.org/u/Hugo)\
**Replies:** 1\
**Last updated:** [August 16, 2023, 8:20pm UTC](https://discourse.julialang.org/t/first-steps-with-weave-jl-looking-for-learning-resources/102836 "2023-08-16T20:20:28Z")

</div>

After many attempts, I have given up using Quarto with Julia. At the moment, it’s simply not the tool for me. Having said that, I am have decided to give Weave.jl a go. In many aspects, it reminds me of R's Knitr. But I…

---

## [Help with Weave.jl](https://discourse.julialang.org/t/help-with-weave-jl/97177)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 4\
**Last updated:** [April 6, 2023, 2:42pm UTC](https://discourse.julialang.org/t/help-with-weave-jl/97177 "2023-04-06T14:42:51Z")

</div>

I’m trying to test out Weave.jl and it works fine when converting to .html, but I can’t get it to convert to .pdf. My project directory looks like this: WeaveTest/ -src/ --main.jl --test.jmd In main.jl, I am calling we…

---

## [Weave.jl with texminted escapes LaTeX code](https://discourse.julialang.org/t/weave-jl-with-texminted-escapes-latex-code/91772)

<div class="topic-metadata">

**Author:** [@B1ochem1st](https://discourse.julialang.org/u/B1ochem1st)\
**Replies:** 2\
**Last updated:** [February 9, 2023, 2:14pm UTC](https://discourse.julialang.org/t/weave-jl-with-texminted-escapes-latex-code/91772 "2023-02-09T14:14:00Z")

</div>

Hello, I am trying to start using Julia + LaTeX. I am familiar with R solution for integrating statistics into document typesetting with Sweave and have stumbled upon Weave.jl. For some reason, however, I am not getting…

---

## [How to publish a pdf with Weave](https://discourse.julialang.org/t/how-to-publish-a-pdf-with-weave/92337)

<div class="topic-metadata">

**Author:** [@ceysa75](https://discourse.julialang.org/u/ceysa75)\
**Replies:** 3\
**Last updated:** [December 31, 2022, 2:17pm UTC](https://discourse.julialang.org/t/how-to-publish-a-pdf-with-weave/92337 "2022-12-31T14:17:14Z")

</div>

Hi all, I am trying to generate a pdf document from my jmd file as follows: weave("myTest.jmd"; doctype = "md2pdf") However, for some reason it exits with an error (whereas a html can be generated without any issues). …

---

## [Fail to render LATEX output using Weave](https://discourse.julialang.org/t/fail-to-render-latex-output-using-weave/75670)

<div class="topic-metadata">

**Author:** [@lobshi](https://discourse.julialang.org/u/lobshi)\
**Replies:** 1\
**Last updated:** [December 5, 2022, 9:17pm UTC](https://discourse.julialang.org/t/fail-to-render-latex-output-using-weave/75670 "2022-12-05T21:17:54Z")

</div>

I am using macOS and VScode. I find Weave.jl fail to render LATEX output. Example code: # Demo \*\*Everything\*\* works fine, \_except\_ for LATEX elements. I want beta in \`LATEX\`: 1. $\\beta$ 2. \`\`\\beta\`\` 3. $$\\beta$$ 4. \`\`…

---

## [Preparing tutorials and books](https://discourse.julialang.org/t/preparing-tutorials-and-books/59298)

<div class="topic-metadata">

**Author:** [@vector](https://discourse.julialang.org/u/vector)\
**Replies:** 11\
**Last updated:** [September 20, 2022, 7:12pm UTC](https://discourse.julialang.org/t/preparing-tutorials-and-books/59298 "2022-09-20T19:12:45Z")

</div>

Hi. I am not sure whther this is the right category for posting my query. I cannot find the appropriate category. What software or platform do you use for writing Julia languge tutorials and books? Is it the good old …

---

## [Using Distributed.jl from within Weave.jl?](https://discourse.julialang.org/t/using-distributed-jl-from-within-weave-jl/87238)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 3\
**Last updated:** [September 14, 2022, 7:03pm UTC](https://discourse.julialang.org/t/using-distributed-jl-from-within-weave-jl/87238 "2022-09-14T19:03:38Z")

</div>

I’m using Distributed from within my Weave.jl document because I have a machine which has a big store of data, and I’m asking it to process that data and return me some summary/filtered version of it. When I select bits…

---

## [Using @everywhere include() from Distributed.jl?](https://discourse.julialang.org/t/using-everywhere-include-from-distributed-jl/87237)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 4\
**Last updated:** [September 13, 2022, 9:28pm UTC](https://discourse.julialang.org/t/using-everywhere-include-from-distributed-jl/87237 "2022-09-13T21:28:51Z")

</div>

I’ve got a Weave document (.jmd) and I’m using @everywhere include("./utilities.jl") There’s an error that says the remote machine is trying to load a file not in the current directory, but the same directory as on my …

---

## [Weave.jl just hanging... was working earlier today](https://discourse.julialang.org/t/weave-jl-just-hanging-was-working-earlier-today/83975)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 1\
**Last updated:** [July 10, 2022, 10:04pm UTC](https://discourse.julialang.org/t/weave-jl-just-hanging-was-working-earlier-today/83975 "2022-07-10T22:04:45Z")

</div>

Earlier today weave was happily making output .html files. Now it just hangs at the end of each chunk and waits until i Ctrl-c it goes to the next chunk and hangs there… It actually runs to completion if I include\_weave…

---

## [Easily run code in .jmd file (Weave.jl)](https://discourse.julialang.org/t/easily-run-code-in-jmd-file-weave-jl/61575)

<div class="topic-metadata">

**Author:** [@Antomek](https://discourse.julialang.org/u/Antomek)\
**Replies:** 1\
**Last updated:** [February 27, 2022, 4:47pm UTC](https://discourse.julialang.org/t/easily-run-code-in-jmd-file-weave-jl/61575 "2022-02-27T16:47:19Z")

</div>

Hello, Is there an easy way to run the code chunks from a .jmd file in the REPL? I am using VS Code, and like using Weave.jl to properly document my simulations. However, it would be nice if running code was easier fr…

---

## [How to render ggplot2 plots in html through Weave and RCall?](https://discourse.julialang.org/t/how-to-render-ggplot2-plots-in-html-through-weave-and-rcall/74913)

<div class="topic-metadata">

**Author:** [@tp2750](https://discourse.julialang.org/u/tp2750)\
**Replies:** 2\
**Last updated:** [January 23, 2022, 1:14pm UTC](https://discourse.julialang.org/t/how-to-render-ggplot2-plots-in-html-through-weave-and-rcall/74913 "2022-01-23T13:14:45Z")

</div>

How do I include plots made with ggplot2 (through RCall) in html reports through Weave? I try this (which works in a Jupyter notebook): using RCall, DataFrames d = DataFrame(x = \[1,2,3\], y = \[4,5,6\]) @rput d @rlibrary …

---

## [Weave: how to get different output for notebook vs html](https://discourse.julialang.org/t/weave-how-to-get-different-output-for-notebook-vs-html/74187)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 1\
**Last updated:** [January 10, 2022, 12:18pm UTC](https://discourse.julialang.org/t/weave-how-to-get-different-output-for-notebook-vs-html/74187 "2022-01-10T12:18:01Z")

</div>

I am using Weave to generate various literate outputs from julia code. Depending on the output i want slightly different code to run. Interact.jl doesn’t work in HTML output, but does work in jupyter. So for my intera…

---

## [Latex macros in Weave.jl generated Jupyter notebooks](https://discourse.julialang.org/t/latex-macros-in-weave-jl-generated-jupyter-notebooks/71272)

<div class="topic-metadata">

**Author:** [@dlfivefifty](https://discourse.julialang.org/u/dlfivefifty)\
**Replies:** 0\
**Last updated:** [November 10, 2021, 5:53pm UTC](https://discourse.julialang.org/t/latex-macros-in-weave-jl-generated-jupyter-notebooks/71272 "2021-11-10T17:53:01Z")

</div>

How do I add latex macros when I use Weave.notebook ? I tried putting them in between dollar signs but that would only work inside the same dollar signs, the next latex expression wouldn’t know about the macros. For We…

---

## [LaTeX and Markdown in the same Weave Chunk](https://discourse.julialang.org/t/latex-and-markdown-in-the-same-weave-chunk/70640)

<div class="topic-metadata">

**Author:** [@Derek\_Vetsch](https://discourse.julialang.org/u/Derek_Vetsch)\
**Replies:** 0\
**Last updated:** [October 29, 2021, 8:31pm UTC](https://discourse.julialang.org/t/latex-and-markdown-in-the-same-weave-chunk/70640 "2021-10-29T20:31:01Z")

</div>

Is it possible to mix LaTeX and Markdown in the same chunk? I tried something like this but when I weave it it looks as if I printed this in the REPL. I know if you just put everything in its own chunk that works fine bu…

---

## [Markdown Preview using Weave.jl](https://discourse.julialang.org/t/markdown-preview-using-weave-jl/50601)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 5\
**Last updated:** [September 9, 2021, 1:35am UTC](https://discourse.julialang.org/t/markdown-preview-using-weave-jl/50601 "2021-09-09T01:35:08Z")

</div>

Is there a way to use weave.jl to show a preview of a Markdown in pdf or HTML, before it’s converted? I thought I saw a picture like this using atom, in the documentation.

---

## [Weave.jl generating tables for the pdf doctype](https://discourse.julialang.org/t/weave-jl-generating-tables-for-the-pdf-doctype/64716)

<div class="topic-metadata">

**Author:** [@Marco-Congedo](https://discourse.julialang.org/u/Marco-Congedo)\
**Replies:** 0\
**Last updated:** [July 15, 2021, 8:14pm UTC](https://discourse.julialang.org/t/weave-jl-generating-tables-for-the-pdf-doctype/64716 "2021-07-15T20:14:40Z")

</div>

I am having an hard time generating tables with Weave.jl using the pdf doctype. For the html doctype i can generate decent tables using PrettyTables.jl. While most options of PrettyTables do not work in Weave, i can at l…

---

## [How to Embed Gifs into Weave HTML Documents?](https://discourse.julialang.org/t/how-to-embed-gifs-into-weave-html-documents/64211)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 3\
**Last updated:** [July 15, 2021, 12:07am UTC](https://discourse.julialang.org/t/how-to-embed-gifs-into-weave-html-documents/64211 "2021-07-15T00:07:10Z")

</div>

Hi all, How do I embed gifs into HTML documents outputted from weave? Say I have the following Julia Markdown file here: --- title : Javis with Weave, Earth Venus Cosmic Dance author : Ved Mahajan --- \`\`\`julia using …

---

## [Weave.jl: order of text and plots](https://discourse.julialang.org/t/weave-jl-order-of-text-and-plots/64656)

<div class="topic-metadata">

**Author:** [@Marco-Congedo](https://discourse.julialang.org/u/Marco-Congedo)\
**Replies:** 4\
**Last updated:** [July 14, 2021, 9:51pm UTC](https://discourse.julialang.org/t/weave-jl-order-of-text-and-plots/64656 "2021-07-14T21:51:28Z")

</div>

Weaving a .jmd file like this within a \`\`\`julia code block: println("line 1") println("line 2") display(plot(rand(10))) println("line 3") println("line 4") gives this both in html and pdf output: Is there a way t…

---

## [Help with Weave.jl for Julia Markdown in VS](https://discourse.julialang.org/t/help-with-weave-jl-for-julia-markdown-in-vs/62508)

<div class="topic-metadata">

**Author:** [@ChiaraS](https://discourse.julialang.org/u/ChiaraS)\
**Replies:** 3\
**Last updated:** [June 7, 2021, 9:07pm UTC](https://discourse.julialang.org/t/help-with-weave-jl-for-julia-markdown-in-vs/62508 "2021-06-07T21:07:53Z")

</div>

Hello everyone, Im trying to markdown my Julia code for a paper in Visual Studio. But I cant seem to get the weave.jl package properly working. I am lost at how to correctly set the normpath. I have looked up the docume…

[Next page](https://discourse.julialang.org/tag/weave/516.md?match_all_tags=true&page=1&tags%5B%5D=weave)
