Generaltexcount -auxdir location not working

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
jl2014
Posts: 1
Joined: Fri Apr 22, 2016 3:47 am

texcount -auxdir location not working

Post by jl2014 »

Hi,
This is my first time posting to a forum so please forgive me if I have made a mistake and posted this under the incorrect section or labelled it the incorrect topic.

I am currently using texMaker on OSX and compiling my files to a subfolder named build using pdflatex. I have texcount.pl script within my working directory and need to include the bibliography word count. For example, I run the following command:

./texcount.pl -1 -sum -inc -incbib -dir -auxdir=build -out=word.count main.tex

However, the -auxdir parameter returns an error:
ERROR: File main.bbl not found in path [ARRAY(0x7febc54432c8)].

I have specified the -dir command with -auxdir so that texcount searches for the .bbl file using [$workdir.$auxdir] in the perl script. I have attempted to try other possible inputs with no luck at all. I am not fluent in Perl at all (in fact, looking within the texcount.pl script was my first encounter). So I'm all out of ideas of how to go about fixing this issue. Could anyone offer some insight?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply