| 1 |
# The pdfprivacy package |
| 2 |
|
| 3 |
[](https://www.ctan.org/pkg/pdfprivacy) |
| 4 |
[](https://www.ctan.org/license/lppl1.3c) |
| 5 |
|
| 6 |
Creating pdfs with pdfLaTeX populates several pdf meta-data fields such as date/time of creation/modification, information about the latex installation (e.g., pdfTeX version), and the relative paths of included pdfs. |
| 7 |
The pdfprivacy package provides support for emptying several of these pdf meta-data fields as well as suppressing some pdfTeX meta-data entries in the resulting pdf. |
| 8 |
|
| 9 |
## Installation |
| 10 |
|
| 11 |
To install run the following: |
| 12 |
|
| 13 |
> latex pdfprivacy.ins |
| 14 |
|
| 15 |
This will generate the `pdfprivacy.sty` file. |
| 16 |
Put this file in a directory searched by LaTeX (e.g., ~/texmf or texmf-local) or in the folder of your .tex file in which you want to use it. |
| 17 |
|
| 18 |
## Usage |
| 19 |
|
| 20 |
Include `\usepackage{pdfprivacy}` in your .tex file. |
| 21 |
For more detailed usage information, check the documentation. |
| 22 |
|
| 23 |
## Documentation |
| 24 |
|
| 25 |
To generate the documentation run: |
| 26 |
|
| 27 |
> pdflatex pdfprivacy.dtx |
| 28 |
|
| 29 |
## Testing |
| 30 |
|
| 31 |
To run the package test suite from the repository root, use the script that matches your shell: |
| 32 |
|
| 33 |
> pwsh ./tests/runPackageTests.ps1 |
| 34 |
|
| 35 |
> bash ./tests/runPackageTests.sh |
| 36 |
|
| 37 |
## License |
| 38 |
|
| 39 |
This package is available under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version. |
| 40 |
|
| 41 |
This work consists of the files pdfprivacy.dtx and pdfprivacy.ins and the derived file pdfprivacy.sty. |