Questions tagged [scripts]
{scripts} is for questions involving external scripts (small programs in source code form) related to (La)TeX.
201 questions
2
votes
1
answer
73
views
Native digits in babel without maparabic/mapdigits
I am just a small feature away from a release, but badly stuck with a babel conversion problem. I want to get the native digits of the "main" language wherever TeX provides numbers. For ...
0
votes
1
answer
103
views
Issue compiling document with Amharic using Lualatex + babel
Update:
Thanks a lot for your patience and help solving the issue with Santali script.
However, the problem remains with the Amharic script, while I have been using a similar code for a dozen of LtR ...
3
votes
2
answers
215
views
How to check, in bash script, if latexmk did call lualatex or not? [closed]
Is there an easy way to check (in bash script) if latexmk did run lualatex or not? (because it detected that pdf needs to be updated).
The reason I am asking, is that the script uses a job name (...
4
votes
1
answer
143
views
What exactly does kpse.set_program_name() do and how should it be set?
LuaTeX's manual says
10.7.1 set_program_name and new
The way the library looks up variables is driven by the texmf.cmf file where the currently set program name acts as filter. ...
Before the search
...
4
votes
1
answer
387
views
Magic code to convert posix scripts into windows executables
The TeXLive source code might be overwhelming to the average user, as myself, so I'd like to get some indication about how the TeXLive team converts the several scripts written for Unixes into Windows ...
0
votes
1
answer
658
views
Is it possible to save a notepad text (.txt) file to a Latex (.tex) file?
I am trying to compile and test a file in Latex/Domino using a text file in Notepad that has a script/code in it. Is it possible to convert the notepad txt file to tex somehow? Could a txt file be ...
0
votes
1
answer
181
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
63
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
238
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
131
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
128
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 ...
1
vote
1
answer
119
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 ...
0
votes
1
answer
123
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
166
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
152
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 ...