Questions tagged [perl]

{perl} is about questions related to the Perl language and TeX

Filter by
Sorted by
Tagged with
0 votes
0 answers
99 views

How to configure TexLive to use a full Perl distribution instead of the included minimal Perl setup?

How do you configure TexLive to use a full distribution of Perl, (like Strawberry Perl), instead of the minimal version that is included? Especially important is how to specify this if you have ...
user avatar
1 vote
1 answer
545 views

LaTeXindent fail in VSCode: Can't locate Log/Log4perl.pm

I'm using LaTeX Workshop on VSCode to build pdf using LaTeX and I'm getting this error in the Output console when I save the .tex file. Formatting with command latexindent -c,d:path_to_folder,d:...
user avatar
1 vote
0 answers
42 views

Xindy not working on non-root drive

I've just been using texlive for a few years on my Win10 computer and so far I wasn't facing any difficulties. However since I don't have enough space on the C: drive, I had to install it on another ...
user avatar
  • 11
2 votes
0 answers
213 views

GUI wizard installer on TeXLive 2021 auto-defaulting to main installer in Linux

I'm not sure why, but for some reason the -gui option is voiding with errors when installing TeXLive 2021 on Linux. Thus: clive@clivux:~/Downloads/install-tl-20210925$ sudo ./install-tl -gui=wizard -...
user avatar
0 votes
1 answer
235 views

Miktex with problem to compile makeglossaries

I'm using texmaker and trying to create a glossary from a glossary.tex file. but I'm getting the error: Sorry, but makeglossaries did not succeed for the following reason: MiKTeX could not find the ...
user avatar
4 votes
3 answers
210 views

How to extract equation-environments (or other blocks) inside a Latex document?

Situation: At Table of equations like a Glossary or memory help list user Alastor posted a Latex document, which contains several equation-environments. Assuming the real document from his teacher ...
user avatar
  • 2,142
0 votes
1 answer
176 views

VS Code latexmk version mismatch

I have trying to install latex in vscode. I have install Miktex, perl, Latex Workshop extension latest versions. But I can not run the .tex file. Facing version related error. File::Path version 2.08 ...
user avatar
0 votes
1 answer
238 views

Struggling with Biber, can't figure out how to install the Perl packages

When I run Biber, with the command biber filename, it gives me this error (my emphasis): Can't locate Biber.pm in @INC (you may need to install the Biber module) (@INC contains: /home/christiank/...
user avatar
  • 1
0 votes
0 answers
45 views

Regular expression (RE) in tlmgr search

https://www.tug.org/texlive/doc/tlmgr.html#search said that search search [option...] what search [option...] --file what search [option...] --all what By default, search the names, short ...
user avatar
  • 1,193
1 vote
1 answer
124 views

How to install perl-tk to run Texdoctk on macOS 11.2.3

I'm attempting to run texdoctk on my Mac but I've encountered the following error: The program texdoctk needs the package perl-tk, please install it! I've reinstalled MacTeX 2021 and attempted to ...
user avatar
1 vote
0 answers
16 views

Output of a perltex function as input to a latex function

I'm in trouble with a simple (in theory) but quite annoiying problem in calling the ifthenelse function when I use the ouput of another function defined in perl as input. I'm using the perltex and the ...
user avatar
4 votes
1 answer
1k views

latexindent: trouble installing File::HomeDir, Mac::SystemDirectory since macOS 11 Big Sur

I'm experimenting with latexindent on a fresh install of macOS 11 Big Sur and I'm having issues with File:HomeDir: running latexindent returns a whole list of errors, beginning with Can't locate File/...
user avatar
3 votes
0 answers
93 views

Error running install-tl "profile key for collection-basic must be 0 or 1, not: 1"

I'm getting a very weird error trying to build texlive from scratch inside a Docker using a custom profile, mind you this exact code used to work, but after some updates to the texlive installer I get ...
user avatar
  • 131
4 votes
2 answers
1k views

Can't locate Algorithm/Diff.pm in @INC (you may need to install the Algorithm::Diff module)

I'm having the same problem as described in the closed question "https://tex.stackexchange.com/questions/104350/problem-regarding-latexdiff-perl-and-miktex-2-9-on-win7". Following the ...
user avatar
0 votes
0 answers
126 views

What are %O and %S in platex -synctex=1 -halt-on-error -file-line-error %O %S

I installed LaTeX with brew: # macOS MacTex Install $ brew cask install mactex-no-gui # Updating the packages $ sudo tlmgr update --self && sudo tlmgr update --all $ latex --version pdfTeX 3....
user avatar
  • 621
3 votes
1 answer
1k views

TeX Live 2020 - tlmgr cannot load perl-tk although it is installed

I installed TeX Live 2020 on my Linux system. When I try to invoke tlmgr --gui I get the error message tlmgr: Cannot load Tk, thus the GUI cannot be started! The Perl/Tk module is not shipped with the ...
user avatar
  • 33
1 vote
1 answer
2k views

Sorry, but latexmk did not succeed for the following reason:MiKTeX could not find the script engine 'perl.exe' which is required to execute 'latexmk'

LaTeX workshop on vscode keeps showing this error: Sorry, but latexmk did not succeed for the following reason: MiKTeX could not find the script engine 'perl.exe' which is required to execute '...
user avatar
1 vote
1 answer
694 views

Glossaries Extra not generating Acronym List

I am trying to build a document using the glossaries-extra package. However, whenever I try build it with \makeglossaries and \printglossaries I get the following in my document: " This document is ...
user avatar
0 votes
0 answers
287 views

MiKTeX Portable not working out of the box

The error message I'm getting is MiKTeX could not find the script engine 'perl.exe', and I'm aware this means I need Perl installed. But if I search the TeX Live distribution path I have on disk, it ...
user avatar
1 vote
4 answers
2k views

Can't locate TeXLive/TLConfig.pm in @INC

When invoking tlgmr, especially in the course of a distribution upgrade, it fails very early with a PERL error Can't locate TeXLive/TLConfig.pm in @INC followed by a list for @INC in the following ...
user avatar
  • 828
0 votes
2 answers
216 views

Automated quote from price list

I achieved a very satisfying price list and now want to combine it with my Excel file. I have changed my Excel file to CSV and have 1 column for quote and one for optional extras (as in my example: ...
user avatar
  • 105
2 votes
1 answer
686 views

Adding entry .bib file breaks LaTeX Workshop in VS Code

When I add an entry to my .bib file and save it, I get an error on compilation that reads: Formatting failed. Please refer to LaTeX Workshop Output for details. Chasing the hint, I see in the ...
user avatar
0 votes
1 answer
253 views

Perltex Can't Locate Perl Modules

I am using Tex Live and Strawberry Perl installation on Windows 10. My ultimate goal was to get LaTeX to retrieve data from a spreadsheet, as shown in this old response. However, at this point I am ...
user avatar
3 votes
0 answers
391 views

latexdiff encoding issue

I got the exact same problem as described here and here: umlauts are translated into strange characters; the output file does not compile the output file is UCS2-Little-Endian encoded (according to ...
user avatar
  • 304
2 votes
1 answer
250 views

Compiling document with PerlTeX, then luaLaTeX - conditional \usepackage based on compilation tool

Slightly connected to my previous question (Output of PerlTex with current TeXlive on Windows), I have managed to generate .pdf files with PerlTeX (precisely, with option --latex=lualatex). Next step ...
user avatar
1 vote
1 answer
112 views

Output of PerlTex with current TeXlive on Windows

I am learning with PerlTeX on Windows in TeXworks. I have simple question, for which I wasnt able to find answer in package PerlTeX documentation: Is it possible to output PerlTeX compilation into ....
user avatar
0 votes
0 answers
236 views

"Error starting Perl backend"

I have Windows 10 and I am trying to install texlive-full-2019 for TeXmaker. I cd into the directory containing the installation files for texlive-full. When I start install-tl-windows.bat, I get the ...
user avatar
1 vote
1 answer
263 views

Latexindent with Homebrew Perl and Sublime Text

I'm trying to get the package BeautifyLatex working on Sublime Text 3. My initial attempts revealed that certain Perl modules were missing which prevented latexindent from working. Instead of fiddling ...
user avatar
  • 133
0 votes
0 answers
80 views

PerlTk with MacTex BasicTeX

I have the BasicTex version of MacTeX installed on my machine. I would like to use the gui for tlmgr, but when I try to run it, I'm informed I need perl/tk. After some Internet searching it seems like ...
user avatar
  • 133
0 votes
1 answer
169 views

xindy could not find file "lang/english/utf8-lang.xdy" despite being available

I get a strange error upon running perl.exe \path\to\xindy.pl -L english -C utf8 -I xindy -M "main" -t "main.alg" -o "main.acr" "main.acn" or equivalently, xindy.exe -L english -C utf8 -I xindy -...
user avatar
5 votes
1 answer
320 views

What is »thumbpdf« good for?

I have seen here that a new version of thumbpdf is available. But I don't understand the manual here: https://github.com/ho-tex/thumbpdf If I open any pdf I produced with pdftex, it will have ...
user avatar
  • 28.9k
28 votes
4 answers
15k views

latexindent: Can't locate Log/Log4perl.pm in @INC (you may need to install the Log::Log4perl module)

I have Strawberry Perl and MiKTeX v2.9 installed on Windows 10 with the latexindent package installed via the MiKTeX console. However, running latexindent.pl in the command prompt results in the ...
user avatar
  • 8,779
2 votes
1 answer
524 views

Vim, latexmk and accented filenames

My very first question on StackExchange. I'm using GVim on windows, trying to compile a minimal tex file with accented characters, e.g. "é 3.tex". Inside gvim, with pdflatex, no problem, but there is ...
user avatar
  • 43
1 vote
1 answer
302 views

How to tell texindy where to look for the script engine?

I decided to start using xindy. I'm using MikTex on a Windows machine so I realized I need to install Perl manually, because when running texindy (in TeXworks) it says: texindy.exe: The script engine ...
user avatar
  • 1,258
1 vote
0 answers
240 views

Link Portable Perl to makeglossaries

I am using MiKTeX with Texmaker on Windows, and I tried to run the command makeglossaries on Texmaker (which I edited in User Commands) but the Perl interpreter was not found. Due to very restrictive ...
user avatar
  • 51
0 votes
1 answer
1k views

Problem in using pdfcrop

I am writing a LaTeX document on my Windows machine and I want to crop a pdf using pdfcrop. From my research I could learn that, I also have to install perl. I have downloaded and installed 64-bit ...
user avatar
  • 491
1 vote
0 answers
93 views

Is it possible to install wrappers for scripts not available in the package distribution in a local texmf?

Is it possible to install wrappers for scripts not available in the package distribution in a local texmf ? I would like to be able to add some perl scripts (not present in the MiKTeX distribution) ...
user avatar
  • 137
2 votes
1 answer
337 views

Biber gets perl warning

I am running Arch Linux and have biber 2.7, perl 5.26.1 and TeXlive 2017 installed from the repositories. However when I compile the tex document \documentclass{memoir} \usepackage[backend=biber]{...
user avatar
14 votes
1 answer
230 views

What is the recommended way to protect a TeX Live file from updates with no changes or to auto-patch it on such updates?

Many package managers allow users to prevent certain packages from being updated. Often this is called 'pinning'. A pinned package is protected from automatic updates. This is useful, for example, if ...
user avatar
  • 184k
4 votes
1 answer
100 views

perltex fails when using fourier package macro expression as argument to perl macro

After some search for errors, I have defined the following little example to show my issue. The command perltex can nicely translate the following document: \documentclass{article} \usepackage{...
user avatar
0 votes
1 answer
76 views

Can the tlperl folder in a (Windows) texLive installation be deleted or is it needed for the compilation of documents?

I am currently looking for ways to minimise the size of my texLive installation. My question generally concerns all operating systems, but for now it would suffice for me to know this in the context ...
user avatar
  • 1
1 vote
0 answers
271 views

biber: undefined subroutine &encode::define_alias [closed]

After an update of the OS, I am getting this error: $ biber -v Undefined subroutine &Encode::define_alias called at /usr/lib/perl5/site_perl/Encode.pm line 102. Compilation failed in require at /...
user avatar
6 votes
2 answers
398 views

How can I avoid this regex error when attempting to use texdef?

When I try to use texdef, I get the following error, even though texdef is just the same as it was when TeX Live 2016 was frozen and, indeed, just the same as it has been for several years, since it ...
user avatar
  • 184k
1 vote
1 answer
705 views

Error with Perl interpreter and glossaries package on Windows

I'm a relatively new user of Latex. I'm using TeXStudio on a Windows 8.1 system writing a long document (document class book). I'm trying to make glossaries package work properly and after ~2-3h of ...
user avatar
0 votes
1 answer
179 views

latexmk error "Insecure dependency in eval"

latexmk has suddenly stopped working (version 1:4.41-1 under Ubuntu 16.04.1 with texlive-full from the Ubuntu repos) and "Perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-...
user avatar
  • 2,586
2 votes
1 answer
522 views

Fancytooltip error during fancy-preview

I wanted to try the fancytooltips package. I did the installation according to this page. I installed perl and the required Config::IniFiles library. I tried the installation both on Fedora using ...
user avatar
1 vote
0 answers
2k views

Cannot use latexmk on MiKTeX 2.9 [closed]

I'd like to use latexmk in order to compile my LaTeX documents and have Strawberry Perl v5.24.0 installed on my PC. Whenever I type in latexmk myFile.tex at the command prompt I'm getting the ...
user avatar
  • 11
1 vote
0 answers
159 views

Tikz plot divide by minimun

I want to normalize my plot by the y minimal value. So I want to divide y by y max. I have already done before in Gnuplot with a Perl sentence : ymin1 = `perl -e 'print sort { $a<=>$b } <&...
user avatar
  • 199
1 vote
0 answers
167 views

[fancy-preview]: Mouse-over bibliography citations using Perl from Windows Tex Live, and with bibtex [closed]

What does one need to do to get the fancy-preview script going with only a Windows Tex Live installation thus far. The basics have been discussed on tex.SE here and here. [Quick digression: we use ...
user avatar
  • 1,258
3 votes
1 answer
1k views

Bug in TexDef: Unescaped left brace in regex is deprecated [closed]

I've been encountering some warnings when using texdef lately. Of course, the command itself works brilliantly. Running the command : texdef TeX produces this error-message: Unescaped left brace in ...
user avatar
  • 5,932