fix LaTeX object in logo

This commit is contained in:
Marc Wäckerlin
2025-11-11 10:53:12 +01:00
parent a4480da3b9
commit dd330d412c
34 changed files with 330 additions and 96 deletions
+21
View File
@@ -0,0 +1,21 @@
use strict;
use warnings;
use Cwd qw(abs_path);
use File::Basename qw(dirname);
use File::Spec;
BEGIN {
return if $ENV{'BCQ_TEXINPUTS_SET'};
my $repo_root = dirname(abs_path(__FILE__));
my $examples_dir = File::Spec->catdir($repo_root, 'examples');
my $existing = $ENV{'TEXINPUTS'};
if (defined $existing && length $existing) {
$ENV{'TEXINPUTS'} = join(':', $repo_root, $examples_dir, $existing);
} else {
$ENV{'TEXINPUTS'} = join(':', $repo_root, $examples_dir, '');
}
$ENV{'BCQ_TEXINPUTS_SET'} = 1;
}