TransWikia.com

Custom Precompiler For Certain Extensions Only

TeX - LaTeX Asked on January 14, 2021

Is there a way to configure the Texstudio build process so that a custom precompile command is run only for files with a certain extension? In other words, if the extension is .gtex I want the build process to be:

foo.gtex –precompile–> foo.tex –xelatex–> foo.pdf

But if it’s just .tex it should be:

foo.tex –xelatex–> foo.pdf

I’ve successfully set up the command run the precompiler in the configuration screen and it works, but it tries to run the precompiler on every build, not just .gtex files.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP