Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [filehook]

The filehook package provides hooks (macros which can be filled with package code) for the points where files are loaded. It is a base package used by various other packages but can also be used by document (user) code directly.

Filter by
Sorted by
Tagged with
1 vote
1 answer
70 views

\begin and \end in file hooks causing errors

With my package jwjournal, the whole document is put into an environment named jwjournal which does some regex replacement to the text. However, if the text is input via \input or \include, then the ...
Jinwen's user avatar
  • 8,578
4 votes
1 answer
436 views

filehook warning with some packages (currfile, standalone)

I noticed that when either of one the two packages currfile and standalone are loaded, there is a warning issued (using pdflatex or lualatex, at least): Macro \InputIfFileExists got redefined after ...
FlorianL's user avatar
  • 1,659
4 votes
2 answers
1k views

filehook error with memoir after update texlive 2019 in Oct 15

After the new LaTeX2e <2019-10-01> version, I got this error: ! Package filehook Error: Detected 'scrlfile' package with unknown definition o f \InputIfFileExists. It seems related with ...
tatojo's user avatar
  • 1,341
19 votes
3 answers
5k views

Problem with chemmacros, beamer and filehook-scrlfile.sty

I am using chemmacros with beamer and it produces the following error 2017/08/28 basic chemmacros module (/usr/local/texlive/2019/texmf-dist/tex/latex/koma-script/scrlfile.sty Package: scrlfile ...
Leeser's user avatar
  • 2,752
1 vote
1 answer
41 views

\AtEndOfEveryFile is executed in \begin{itemize}

I was quite surprised that the \AtEndOfEveryFile hook defined by the filehook package is executed in \begin{itemize}. Is this behaviour intended? If not, how and where do I file a bug report? \...
jakun's user avatar
  • 6,031
1 vote
1 answer
237 views

Filehook, with more included files

Based on my previous questions, I now have the following code (snippet): \usepackage{currfile} \usepackage{filehook} \usepackage{environ} \usepackage{amsmath} \def\Introduction{Introduction} \...
JT_NL's user avatar
  • 2,163