Skip to content

Commit

Permalink
Merge pull request #999 from JuliaDocs/fe/filepath-windows-tex
Browse files Browse the repository at this point in the history
Fix filepath in tex file on Windows. Release 0.22.3.
  • Loading branch information
fredrikekre authored Apr 12, 2019
2 parents f09537d + 7f3f42d commit 50dbc78
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Documenter.jl changelog

## Version `v0.22.3`

* ![Bugfix][badge-bugfix] Fixed filepaths for images included in the .tex file for PDF output on Windows. ([#999][github-999])

## Version `v0.22.2`

* ![Bugfix][badge-bugfix] Error reporting for meta-blocks now handles missing files gracefully instead of throwing. ([#996][github-996])
Expand Down Expand Up @@ -294,6 +298,7 @@
[github-994]: https://github.com/JuliaDocs/Documenter.jl/pull/994
[github-995]: https://github.com/JuliaDocs/Documenter.jl/pull/995
[github-996]: https://github.com/JuliaDocs/Documenter.jl/pull/996
[github-999]: https://github.com/JuliaDocs/Documenter.jl/pull/999

[documenterlatex]: https://github.com/JuliaDocs/DocumenterLaTeX.jl
[documentermarkdown]: https://github.com/JuliaDocs/DocumenterMarkdown.jl
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Documenter"
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
version = "0.22.2"
version = "0.22.3"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
1 change: 1 addition & 0 deletions src/Writers/LaTeXWriter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ function latexinline(io::IO, md::Markdown.Image)
else
normpath(joinpath(dirname(io.filename), md.url))
end
url = replace(url, "\\" => "/") # use / on Windows too.
wrapinline(io, "includegraphics") do
_print(io, url)
end
Expand Down

0 comments on commit 50dbc78

Please sign in to comment.