mirror of
https://github.com/ldericher/autodoc.git
synced 2025-12-06 15:43:01 +00:00
various small fixes
- pdftools: `mkpdfa` invocation - pdftools: `PDFA_def.ps` location - use sRGB by default for better compatibility
This commit is contained in:
parent
2298ab3365
commit
778e2d79d7
3 changed files with 8 additions and 5 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
% Define an ICC profile :
|
||||
-/ICCProfile (srgb.icc) % Customise
|
||||
+/ICCProfile (/usr/local/share/autodoc/compatibleWithAdobeRGB1998.icc) % Customise
|
||||
+/ICCProfile (/usr/local/share/autodoc/sRGB.icc) % Customise
|
||||
def
|
||||
|
||||
[/_objdef {icc_PDFA} /type /stream /OBJ pdfmark
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ pdftools_mkpdfa = gs \
|
|||
-dPDFACompatibilityPolicy=1 \
|
||||
--permit-file-read=/usr/local/share/autodoc/ \
|
||||
-sOutputFile=$(3) \
|
||||
/opt/pdfa/PDFA_def.ps \
|
||||
/usr/local/share/autodoc/PDFA_def.ps \
|
||||
$(2)
|
||||
|
||||
############
|
||||
|
|
@ -35,12 +35,12 @@ pdftools_mkpdfa = gs \
|
|||
|
||||
# convert PDF to PDF/A-2B
|
||||
%_pdfa2.pdf: %.pdf
|
||||
$(call convert_pdfa,2,$<,$@)
|
||||
$(call pdftools_mkpdfa,2,$<,$@)
|
||||
|
||||
# convert PDF to PDF/A-3B
|
||||
%_pdfa3.pdf: %.pdf
|
||||
$(call convert_pdfa,3,$<,$@)
|
||||
$(call pdftools_mkpdfa,3,$<,$@)
|
||||
|
||||
# convert PDF to PDF/A (default variant 3B)
|
||||
%_pdfa.pdf: %.pdf
|
||||
$(call convert_pdfa,3,$<,$@)
|
||||
$(call pdftools_mkpdfa,3,$<,$@)
|
||||
|
|
|
|||
BIN
src/usr/local/share/autodoc/sRGB.icc
(Stored with Git LFS)
Normal file
BIN
src/usr/local/share/autodoc/sRGB.icc
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in a new issue