# Help with Weave.jl for Julia Markdown in VS

**URL:** <https://discourse.julialang.org/t/help-with-weave-jl-for-julia-markdown-in-vs/62508>\
**Category:** VS Code\
**Tags:** package, weave\
**Created:** [June 7, 2021, 11:24am UTC](https://discourse.julialang.org/t/help-with-weave-jl-for-julia-markdown-in-vs/62508 "2021-06-07T11:24:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChiaraS](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chiaras/32/25871_2.png) [@ChiaraS](https://discourse.julialang.org/u/ChiaraS)\
**Post date:** [June 7, 2021, 11:24am UTC](https://discourse.julialang.org/t/help-with-weave-jl-for-julia-markdown-in-vs/62508/1 "2021-06-07T11:24:32Z")

</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 documentation and this is what it says.

`filename = normpath(Weave.EXAMPLE_FOLDER, "FIR_design.jmd")`

Could somebody explain to me how to set it correctly for my windows system? Preferably with a simple example, since I am rather new to Julia and Visual Studio?  
Thank you in advance!

---

<div class="post-metadata">

**Author:** ![EvoArt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/evoart/32/25357_2.png) [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Post date:** [June 7, 2021, 12:50pm UTC](https://discourse.julialang.org/t/help-with-weave-jl-for-julia-markdown-in-vs/62508/2 "2021-06-07T12:50:09Z")

</div>

I don’t personally use `normpath()`

I tend to work in the directory that contains my jmd file, and which I also want to produce my pdf in. Then I use `weave("my_markdown_file.jmd", doctype = "md2pdf")` And I get the desired result.

When usng the filename argument, you dont have to use normpath. You can call `weave(filename = "C:\\Users\\user_name\\Documents\\my_folder\\my_markdown_file.jmd", doctype = "md2pdf")`

---

<div class="post-metadata">

**Author:** ![ChiaraS](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chiaras/32/25871_2.png) [@ChiaraS](https://discourse.julialang.org/u/ChiaraS)\
**Post date:** [June 7, 2021, 3:42pm UTC](https://discourse.julialang.org/t/help-with-weave-jl-for-julia-markdown-in-vs/62508/3 "2021-06-07T15:42:10Z")

</div>

Thank you a lot for your help. It´s much more understandable now

---

<div class="post-metadata">

**Author:** ![EvoArt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/evoart/32/25357_2.png) [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Post date:** [June 7, 2021, 9:07pm UTC](https://discourse.julialang.org/t/help-with-weave-jl-for-julia-markdown-in-vs/62508/4 "2021-06-07T21:07:53Z")

</div>

No worries. Welcome to Julia discourse!
