Use TEXMF_OUTPUT_DIRECTORY
to set \markdownOptionOutputDir
#405
Labels
defaults
Related to default option values and renderer prototypes
quality of life
Related to quality-of-life improvements to the interface
Milestone
As discussed on our matrix.org, in KPathsea from TeX Live 2024, the option
--output-directory
from engine invocation is available inTEXMF_OUTPUT_DIRECTORY
environmental variable. We can use this to set\markdownOptionOutputDir
based on--output-directory
. After we have added support for TeX Live 2024 (pretest) in #404, we should:\markdownOptionOutputDir
based onTEXMF_OUTPUT_DIRECTORY
if it's set or fall back to current working directory otherwise.\markdownOptionOutputDir
and make a comment that says that we have to drop support for TeX Live 2024 after we remove it in the next major release.Here is a more detailed plan of action:
lt3luabridge
library before defining theoutputDir
plain TeX option.\sys_if_shell_unrestricted:TF
to decide whether we should try to determineTEXMF_OUTPUT_DIRECTORY
.\luabridge_now:n { print(os.getenv("TEXMF_OUTPUT_DIRECTORY") or ".") }
to determineTEXMF_OUTPUT_DIRECTORY
.\luabridge_now:n
in\l_tmpa_tl
and use a new variant\@@_add_plain_tex_option:nnV
to set the default value from\l_tmpa_tl
.\markdownOptionOutputDir
as deprecated in technical documentation.The text was updated successfully, but these errors were encountered: