Skip to content

Commit

Permalink
Merge pull request #101 from dalibo/98_dia
Browse files Browse the repository at this point in the history
FIX #98 : add dia
  • Loading branch information
daamien authored Aug 22, 2019
2 parents 1cb4820 + 8708593 commit 7f666b9
Show file tree
Hide file tree
Showing 5 changed files with 2,043 additions and 4 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changelog
===============================================================================

19.11 - WIP
19.08 - WIP
-------------------------------------------------------------------------------

__Stack__
Expand All @@ -10,8 +10,9 @@ __Stack__

__Changes__



* Freeze pip versions (daamien)
* Add pandoc-codeblock-include filter (daamien)
* Add dia (daamien)

<https://github.com/dalibo/pandocker/milestone/8>

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ RUN set -x && \
xzdec \
# reveal (see issue #18)
netbase \
# dia
dia \
# fonts
fonts-lato \
fonts-liberation \
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,22 @@ $ docker run [...] --pdf-engine=xelatex --template=eisvogel foo.md -o foo.pdf
**Warning:** you need to remove the `-u` option when using [eisvogel].

[eisvogel]: https://github.com/Wandmalfarbe/pandoc-latex-template

## Additional tools

The docker image embeds additional software related to editing and publishing:

* [dia] a simple tool to design diagrams
* [poppler-utils] a collection of tools built to manage PDF and extract content
* [rsync] for deployment

[dia]: http://dia-installer.de/
[poppler-utils]: https://en.wikipedia.org/wiki/Poppler_(software)#poppler-utils
[rsync]: https://rsync.samba.org/documentation.html

These tools can be used by modifying the entrypoint of the image. For instance,
you can convert a `dia` source file into an SVG image like this:

``` console
$ docker run [..] --entrypoint dia dalibo/pandocker foo.dia -e foo.svg
```
Loading

0 comments on commit 7f666b9

Please sign in to comment.