Skip to content

Commit

Permalink
update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
scheidan committed Jan 6, 2022
1 parent d71b574 commit 41f5a5c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@



A simple tool to merge pdf files on Linux, OS X and Windows.
A simple package to merge pdf files on Linux, OS X and Windows.

## Usage

Expand All @@ -13,17 +13,17 @@ A simple tool to merge pdf files on Linux, OS X and Windows.
```Julia
merge_pdfs(["file_1.pdf", "file_1.pdf", "file_2.pdf"], "merged.pdf")
```
Note, files can be merged multiple times.
Note, the same files can be merged multiple times.

Use the `cleanup` option to only keep `merged.pdf`:
Use the `cleanup` option to delete the single files after merging:
```Julia
merge_pdfs(["file_1.pdf", "file_1.pdf", "file_2.pdf"], "merged.pdf", cleanup=true)
```

### Append to a file

Appending with `append_pdf!` is particularly useful to create a single pdf
containing many plots on separate pages:
that contains multiple plots on separate pages:
```Julia
using Plots

Expand All @@ -39,5 +39,5 @@ All five plots are contained in `allplots.pdf` and the temporary file is deleted
## Acknowledgments

All the heavy lifting is done by
[`Poppler`](https://poppler.freedesktop.org/). Thanks to all maintainers
[`Poppler`](https://poppler.freedesktop.org/). Thanks to the maintainers
of `Poppler` and [`Poppler_jll.jl`](https://github.com/JuliaBinaryWrappers/Poppler_jll.jl)!

0 comments on commit 41f5a5c

Please sign in to comment.