MakeIndex, Nomenclature, Glossaries and AcronymsMakeindex arguments

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
wooosh
Posts: 4
Joined: Wed Nov 27, 2013 2:52 pm

Makeindex arguments

Post by wooosh »

Hi,

I'm having some problems with configuring makeindex in TeXnicCenter to work with custom input and output directories.
My project's directory structure looks like this:
./
./build/ %temporary files
./sources/ %source files
./output/ %resulting pdf

I have learned that the latest makeindex does not allow absolute paths as arguments. But all attempts that don't use absolute paths don't work:
1.)
"..\build\%tm".nlo -s nomencl.ist -o "..\build\%tm".nls
Gives me: Can't create output index file ..\build\template.nls

2.)
"%w\..\build\%tm".nlo -s nomencl.ist -o "%w\..\build\%tm".nls
Does not replace the %w with the current working directory

It does work, if I copy template.lno to my \sources dir and change the arguments to
"%tm".nlo -s nomencl.ist -o "%tm".nls

Any help would be appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Makeindex arguments

Post by localghost »

Perhaps you need to use slashes (/) instead of backslashes (\) in the path specification (even on Wind0ws).


Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
wooosh
Posts: 4
Joined: Wed Nov 27, 2013 2:52 pm

Re: Makeindex arguments

Post by wooosh »

Nope, doesn't change anything.
wooosh
Posts: 4
Joined: Wed Nov 27, 2013 2:52 pm

Re: Makeindex arguments

Post by wooosh »

bump

Any more hints?
wooosh
Posts: 4
Joined: Wed Nov 27, 2013 2:52 pm

Makeindex arguments

Post by wooosh »

Solution:
I called makeindex from my /sources subdirectory. If I call it from my project's root folder everything works just fine.
X-Post
Post Reply