Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [perl]

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

0
votes
0answers
21 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
0answers
34 views

Can I infer the name of the format file if it is missing?

This answer adds a custom dependency to create a format file .fmt from an .ltx file when it's missing. It assumes that the preamble is separated from the main .tex file in a file with the same ...
0
votes
1answer
79 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
74 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 ...
7
votes
1answer
2k 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
200 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
127 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
69 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
319 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 ...
0
votes
0answers
76 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
210 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]{...
13
votes
0answers
155 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 ...
2
votes
1answer
36 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
59 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
175 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
291 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
496 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
80 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-...
1
vote
1answer
273 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
105 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
108 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
0answers
849 views

Bug in TexDef: Unescaped left brace in regex is deprecated

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
56 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
902 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
501 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
105 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
1k 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
555 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
426 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
410 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
505 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
208 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
3k 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
88 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
169 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
470 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 ...
24
votes
1answer
30k 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
82 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
609 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
837 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} ...
1
vote
1answer
6k views

Can't create glossary with glossaries package,Perl Strawberry, error: makeglossaries:Need exactly one file argument [duplicate]

New to Stack Exchange, and using TeX for a week.. Trying to make glossaries work for a larger document, but this even fails with the first example document provided by the glossaries package.. I have:...
3
votes
1answer
592 views

Running latex through perl batch file

I am interested in running multiple latex files in a directory from perl. I will have as many as 100 .tex files to run at once, and I was wondering if someone could suggest a perl script or package ...
8
votes
1answer
23k views

Perl Interpreter could not be found [duplicate]

I downloaded MikTeX and got TeXworks. I try to follow the manual and create an example document. But I get an error message in the "Console output" window: "Latexmk.exe: The Perl intetpreter could not ...
3
votes
1answer
815 views

Difference between fancytooltips and fancy-preview

I read the documentation for both fancytooltips and fancy-preview here, and I don't really understand what their differences are, or when I should prefer one over the other. I see that fancytooltips ...
1
vote
1answer
3k views

Problem regarding Latexdiff, Perl and MikTex 2.9 on Win7 [closed]

I try to implement this interesting solution for latexdiff and multiple files. There are other questions regarding missing perl scripts but I cannot relate them or their solutions to my problem (i.e. ...
4
votes
1answer
6k views

Specify Perl location for makeglossaries

I am using the glossaries package to typeset some glossaries, on a MikTeX+TexnicCenter (Windows) setup. There are administrative restrictions on the machine which means that I cannot install Perl, ...
5
votes
2answers
6k views

error “latexdiff: The Perl Script could not be found.” [duplicate]

I have MikTeX 2.9 installation and Strawberry Perl 5.10.1.5. All the latexdiff, latexdiff-fast, latexidff-so paths seem to be present in the scripts.ini file and their .exe files in the miktex/bin/...