Questions tagged [scripts]
{scripts} is for questions involving external scripts (small programs in source code form) related to (La)TeX.
196
questions
0
votes
1
answer
59
views
Compilation error: Input index file not found, and biber failed
I am trying to compile a LaTeX document using a Windows batch file that includes creating an index and glossary. However, I encounter the following error messages:
Compiling test.tex...
Input index ...
0
votes
1
answer
17
views
vscode to rename pdf files after compilation according to patterns
In Linux, I created a Makefile to rename my output pdf files according to the patterns required by my projects. Those patterns are filled from variables fetched from the tex source files themselves.
...
1
vote
0
answers
81
views
How to install getnonfreefonts on Windows with MiKTeX?
I was trying to install a non-free font for LaTeX. The website https://www.tug.org/fonts/getnonfreefonts/ tells me that I should use a script install-getnonfreefonts.
When I've launched it with texlua ...
1
vote
0
answers
91
views
How to change the tooltip unmarked annotations to marked annotations using PDF scripting
I'am working on my tooltip package custom-tooltip.sty. Please see below of custom-tooltip.sty
\NeedsTeXFormat{LaTeX2e}[2020/02/20]
\ProvidesPackage{custom-tooltip}[2020/11/30 custom-tooltip Package]
%...
1
vote
0
answers
48
views
Xsim Exercise without numbering
I use xsim to create exams and it works very well. I kove the way it handles exercises and solutions. Now I'm starting to create a script and I was wondering if there is a way to hide the numbering ...
0
votes
1
answer
65
views
passing source to latex on command line
In a shell script, I'm doing things like
pdflatex <<- EOT
\def\something{a}
\documentclass{article}
\begin{document}
\something
\end{document}
EOT
which works as expected. However, when ...
1
vote
0
answers
85
views
How to write an Script for TexStudio to auto switch into English language inside of math mode?
Switching from local keyboard language to English then backing to local keyboard language outside of math mode is common in non-English latex users.
How to write an Script for TexStudio to auto ...
0
votes
1
answer
74
views
Post build processes with shell script and write18
I would like to start a shell script from LaTeX. In the shell script I need to wait until the .pdf file is generated and afterwards I want to do some stuff with this file.
So I created a MWE Test.tex ...
0
votes
0
answers
118
views
Implement a word blacklist in latex
I'm working on a colaborative project where we're trying to align around terminology.
We have a list of 'banned phrases' that some authors use coloquially, but that we want to make sure we don't use ...
1
vote
0
answers
99
views
Is It Possible to Match This Handwritten Brooklyn Font with LaTeX?
I would like to match, if possible, the following handwritten font:
I was hoping that Latex offers it, but I could not locate it.
QUESTION: Is this particular font available with Latex; perhaps via a ...
0
votes
0
answers
104
views
Latexmk execute script to build dependencies
for my thesis i need the results of some external scripts to be integrated in my document.
It should look like this:
latexmk -pdf
=> external script starts
wait until script is finished
do the ...
4
votes
1
answer
178
views
Understanding implicit error on a recursive function
I was originally following the idea from Garrick Peschke
To import all .tex files inside a folder, but I want my Lua function to also search inside subfolders.
Unfortunately I can't make the Lua ...
1
vote
1
answer
218
views
Detect draft mode from Lua in LuaLaTex
I'm working with a document for which I need to generate some data from a Lua script each time the PDF is produced. However, the generation of this data might be a slow, so I would like the script ...
1
vote
0
answers
167
views
Is it possible to run a script in e.g. Python in a LaTeX .cls?
For a package I'm writing, it would be very handy to use some programmed scripts, for example written in Python. Is there a way how I could add these to my .cls file?
And if not, what is the usual way ...
1
vote
1
answer
467
views
VS Code - LaTeX-Workshop - Recipe with `for` script
Hello There
Currently creating compilation recipes for LaTeX-Workshop extension in visual studio code, how to create a tool that rename files using for and mv or some other method?
The script using a ...