Latest news 2021-06-05: New blog post: Dickimaw Books Site Account.

Bug Tracker

ID 33🔗
Date: 2013-07-25 11:09:23
Status Closed (Fixed)
Category makeglossaries (Perl)
Version 3.07
Summary $istfile double-quote checking needs modification for xdy (xindy) files - Solution Provided
OS GNU/Linux 3.8.0-26-generic Ubuntu

Sign in to subscribe to notifications about this report.

Description

In the makeglossaries Perl script, after reading the aux file, a regular expression substitution exists to remove double-quotes from within $istfile. However, it is only for $istfiles which use the .ist extension. If using xindy, the $istfile will have a .xdy extension. This causes the regexp to find no matches, thus leaving the double-quotes and subsequently producing errors. The regexp needs to be modified to also handle .xdy files. The solution is as follows. Replace the line:
$istfile=~s/^"(.*)"\.ist$/$1.ist/;
with the following line:
$istfile=~s/^"(.*)"\.(ist|xdy)$/$1.$2/;
This will correctly handle both .ist and .xdy extensions, and will finally allow those using xindy to use pathnames with spaces.

MWE

No mwe.tex

Evaluation

Thanks. This has now be fixed in makeglossaries v2.12. (Distributed with glossaries v4.03)

Comments

0 comments.


Add Comment

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.

Comment:

You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=33