Questions tagged [perl]

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

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

How to install perl-tk for Mac OSX?

I am getting these errors: tlmgr: Cannot load Tk, thus the GUI cannot be started! when I try to use sudo tlmgr --gui. I understand that I need to install perl-tk. However, how can I do this in Mac? ...
2
votes
1answer
59 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 ...
0
votes
1answer
44 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 ...
2
votes
0answers
54 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 ...
2
votes
1answer
117 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 ...
1
vote
1answer
40 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 ....
0
votes
0answers
68 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 ...
1
vote
1answer
78 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 ...
0
votes
0answers
43 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 ...
0
votes
1answer
99 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 -...
4
votes
1answer
124 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 ...
14
votes
2answers
5k 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 ...
2
votes
1answer
324 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 ...
0
votes
1answer
196 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 ...
1
vote
0answers
106 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 ...
0
votes
1answer
468 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 ...
1
vote
0answers
86 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) ...
2
votes
1answer
257 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]{...
14
votes
1answer
183 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 ...
4
votes
1answer
60 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{...
0
votes
1answer
71 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 ...
1
vote
0answers
210 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 /...
6
votes
2answers
339 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 ...
1
vote
1answer
615 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 ...
0
votes
1answer
120 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-...
2
votes
1answer
324 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 ...
1
vote
0answers
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 ...
1
vote
0answers
117 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 } <&...
1
vote
0answers
114 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 ...
3
votes
1answer
925 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 ...
0
votes
1answer
72 views

Keywords in Perl-POD breaking listing

I'm trying to include a perl-script with pod. It seems liks the listings-package does not detect the pod-documentation part as comment which breaks the rest of the listing. How to fix this behaviour? ...
1
vote
0answers
1k views

Latexdiff not working in Windows (Unescaped left brace in regex)

Because the miktex repo is down today, I tried installed the latexdiff package manually. I am using windows 10 by the way. Here are the steps I followed. Installed strawberry perl from http://...
1
vote
0answers
540 views

Biber and Perl bug: Unescaped left brace in regex is deprecated, passed through in regex [closed]

I'm trying to run Biber. However, I get this error in the log file: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\ding{ <-- HERE ([2-9AF][0-9A-...
4
votes
0answers
141 views

Biber can't call method “get_field” on an undefined value [closed]

Is this a bug, has the behaviour changed (i.e. it is a new 'feature') or is the end user simply an idiot? When I try to run Biber on code which compiled just fine until quite recently (i.e. prior to ...
6
votes
1answer
2k views

Which Perl to install for Xindy with MiKTeX (on Windows)?

Please, read the question before marking it as duplicate. Since June 2015, xindy is finally included in the MiKTeX distribution for Windows. Unfortunately, this does not mean that you can use xindy ...
5
votes
1answer
605 views

TeX Live Manager broken. How can I unbreak it or diagnose the problem?

I am running upstream's TeX Live 2015 on GNU/Linux. TeX Live Manager was successfully used to update the installation at, I think, around 17.00 on 26 June. Perl packages were updated as part of a ...
2
votes
1answer
454 views

Perl, Python, Lua or just Latex/Xetex [closed]

Recently I finished my thesis in LyX and this was my first steps into latex (even indirect steps). Even though LyX does a lot of thing automatically, when you want to do something yourself, then ...
0
votes
0answers
478 views

Error installing PDFBox library for pax package

On Ubuntu 14.04, I followed https://tex.stackexchange.com/a/44104/861. First install pax package. $ sudo tlmgr install pax Then run /usr/local/texlive/2014/texmf-dist/scripts/pax/pdfannotextractor....
4
votes
2answers
631 views

minted Perl with dollar symbol

I'm using minted to display some Perl, however the "unmatched" '$' in it is breaking compilation. Escaping it with a '\' results in the \ being displayed with the rest of the code block. Is there a ...
2
votes
1answer
242 views

Automatic report generation from bibtex with Perl

I like to benefit from my existing myarticles.bib file to create a different report automatically something like in following picture (I prepared this template with tikz). What is it best way to do ...
6
votes
3answers
4k views

TeX Live manager: perl.exe stopped working

I saw the same question here, and question was about TeXLive manager error perl.exe stopped working. However, many of answers was about this error during installation. I decided to create one more ...
3
votes
1answer
97 views

Package listings and Perl here documents with apostrophes

I sometimes write ordinary English prose in my here documents in a Perl usage sub, for example --[no]alias [don't] use the alias list in the ini file (default noalias) The problem is the a ...
1
vote
0answers
173 views

Really lots of multiple indices with imakeidx - ind files not being created

I am writing my thesis in law and need to create about 21 different indices (lists of treaties, lists of statutes, lists of cases from different jurisdictions, etc). I am using the package imakidx ...
7
votes
1answer
487 views

How can I build an arara rule for running perl scripts

I want to write an arara rule for perl scripts, especially for fancy-preview. (Another test-script: latexcount.) Edit: In the Command-Line perl fancy-preview jobname.tex works! I have installed ...
0
votes
1answer
2k views

Sublime Text LatexTools fail

I am using Sublime Text 2 with LatexTools on OS X 10.6. When I build, I get "TraditionalBuilder: Invoking latexmk... done." Yet Skim does not open the PDF. The problem might be related to the result ...
26
votes
1answer
34k views

MiKTeX and Perl scripts (and one Python script)

Again and again here on TeX.SX users of MiKTeX ask a question having a problem with a package or included program, where it turns out, that a Perl script is involved, in particular glossaries (because ...
2
votes
0answers
94 views

Makeglossaries - cannot compile glossary list [duplicate]

I am trying to get the glossaries package to work. I have created a minimal .tex file to test it. I am using TeXworks. My .tex file currently looks like this: \documentclass{amsart} \usepackage{...
8
votes
3answers
691 views

is there a minimal converter of well-defined latex to xhtml?

is there a good clean minimal converter of well-defined latex code into html (preferably perl)? I have played with htlatex and latex2html, but they are too ambitious and too complex in their goals ...
4
votes
1answer
2k views

Perl File Missing from TeX Live on Windows (TeXcount)

Trying to run TeXcount on Windows 7 with TeX Live results in >texcount Can't locate Win32/Console/ANSI.pm in @INC (@INC contains: C:/texlive/2013/tlpkg/tlperl/lib c:/texlive/2013/tlpkg/tlperl/lib ....
4
votes
1answer
922 views

How can I get identifier style to apply to '%' (in a Perl listing)?

When using Perl variable names with sigils with listings, the $ and @ sigils somehow get coloured in identifierstyle, but the % sigil remains unstyled. Therefore, this code: \documentclass{article} ...