bugfix: hyperlinks now work in pdf/a output
This commit is contained in:
parent
8e2291dafa
commit
3d580f1c7f
1 changed files with 3 additions and 4 deletions
|
@ -47,6 +47,7 @@ compile_md = pandoc \
|
|||
--variable colorlinks:true \
|
||||
--variable csquotes:true \
|
||||
--variable lang:de-DE \
|
||||
--variable hyperrefoptions:pdfa \
|
||||
--output $(3)
|
||||
|
||||
GSFLAGS := \
|
||||
|
@ -64,8 +65,7 @@ postprocess_pdf = gs \
|
|||
-dCompatibilityLevel=1.7 \
|
||||
-dPDFSETTINGS=/ebook \
|
||||
-sOutputFile=$(2) \
|
||||
$(1) \
|
||||
2>/dev/null
|
||||
$(1)
|
||||
|
||||
convert_pdfa = /opt/pdfa/bin/gs-919-linux_x86_64 \
|
||||
$(GSFLAGS) \
|
||||
|
@ -74,8 +74,7 @@ convert_pdfa = /opt/pdfa/bin/gs-919-linux_x86_64 \
|
|||
-dPDFACompatibilityPolicy=1 \
|
||||
-sOutputFile=$(2) \
|
||||
/opt/pdfa/PDFA_def.ps \
|
||||
$(1) \
|
||||
2>/dev/null
|
||||
$(1)
|
||||
|
||||
md2pdf = $(call compile_md,pdf,$(1),-) | $(call postprocess_pdf,-,$(2))
|
||||
|
||||
|
|
Loading…
Reference in a new issue