FS#54367 - [texlive-bin] compile chktex with pcre support

Attached to Project: Arch Linux
Opened by Johannes Wienke (languitar) - Thursday, 08 June 2017, 14:58 GMT
Last edited by Antonio Rojas (arojas) - Monday, 29 May 2023, 12:34 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

chktex is currently only compiled with posix regular expressions. For user warnings in chktex, pcre provides more features. Therefore, compiling chktex with pcre support would improve the situation.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 29 May 2023, 12:34 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Not configurable
Comment by Antonio Rojas (arojas) - Monday, 29 May 2023, 12:34 GMT
texlive's version of chktex doesn't allow to configure this without patching:

dnl For TeX Live we always use Posix extended regular expressions
AC_DEFINE([TEX_LIVE], 1, [Define to 1 for a TeX Live build.])
AC_DEFINE([HAVE_PCRE], 0, [Whether PCRE can be used for user warnings.])
AC_DEFINE([HAVE_POSIX_ERE], 1, [Whether POSIX ERE can be used for user warnings.])

Loading...