HajTex_living_with_keycloak/docker/features/shell-escape
2024-12-30 02:50:43 +01:00
..
5.2.1/overleaf/services/clsi/app/js Backup 30.12.2024 2024-12-30 02:50:43 +01:00
_intern Backup 30.12.2024 2024-12-30 02:50:43 +01:00
_prep Backup 30.12.2024 2024-12-30 02:50:43 +01:00
dev_tools Backup 30.12.2024 2024-12-30 02:50:43 +01:00
disable_feature.sh Backup 30.12.2024 2024-12-30 02:50:43 +01:00
enable_feature.sh Backup 30.12.2024 2024-12-30 02:50:43 +01:00
README.md Backup 30.12.2024 2024-12-30 02:50:43 +01:00

Source: HajTex Project

Enable Shell Escape

This adjustments changes the options passed to the LaTeX compiler to include -shell-escape.

This allows packages like minted, svg, graphviz, pgfplots and similar to run shell commands during the compiling process.

Caution

This feature allows arbitrary shell commands to be executed on the machine compiling the LaTeX documents. Obviously, this poses a heavy security risk. It should only be used in combination with features like feature/sandboxed-compiles that create a sandboxed environment around the compiler, to avoid users from taking over the server!

Config options

This feature cannot be configured or disabled through config options.

Installing

To enable this feature, no other changes are required. Make sure that appropriate protection against unauthorized access is in place!

Uninstalling

To remove this feature, just remove the respective commit from your build. No changes on the database or related code are required. Keep in mind that user's projects might fail to compile though, if they require shell-escape to be enabled.