Allow environment variable interpolation in pdf-engine...
in defaults files. Note that pdf-engine can take an absolute path, so this is useful. See #8061.
This commit is contained in:
parent
0b2adf9617
commit
b0195b7ef4
1 changed files with 3 additions and 0 deletions
|
@ -214,6 +214,7 @@ resolveVarsInOpt
|
|||
, optCSL = oCSL
|
||||
, optBibliography = oBibliography
|
||||
, optCitationAbbreviations = oCitationAbbreviations
|
||||
, optPdfEngine = oPdfEngine
|
||||
}
|
||||
= do
|
||||
oTemplate' <- mapM resolveVars oTemplate
|
||||
|
@ -238,6 +239,7 @@ resolveVarsInOpt
|
|||
oCSL' <- mapM resolveVars oCSL
|
||||
oBibliography' <- mapM resolveVars oBibliography
|
||||
oCitationAbbreviations' <- mapM resolveVars oCitationAbbreviations
|
||||
oPdfEngine' <- mapM resolveVars oPdfEngine
|
||||
return opt{ optTemplate = oTemplate'
|
||||
, optMetadataFiles = oMetadataFiles'
|
||||
, optOutputFile = oOutputFile'
|
||||
|
@ -260,6 +262,7 @@ resolveVarsInOpt
|
|||
, optCSL = oCSL'
|
||||
, optBibliography = oBibliography'
|
||||
, optCitationAbbreviations = oCitationAbbreviations'
|
||||
, optPdfEngine = oPdfEngine'
|
||||
}
|
||||
|
||||
where
|
||||
|
|
Loading…
Add table
Reference in a new issue