Bug Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

ID 47🔗
Date: 2013-12-01 00:12:04
Status Closed (Fixed)
Category glossaries
Version 4.01
Summary a problem with glossaries, xindy and xelatex

Sign in to subscribe to notifications about this report.

Description

when I compile the file ex1.tex and ex2.tex (*attached file*), I face the below mentiond error msg and my glossaries don't created,
" ! LaTeX Error: Unknown option `sort' for package `glossaries'."
my procedure for creating glossaries:

1) run xelatex on my file
2) run below commands:

xindy -L persian-variant1 -C utf8 -I xindy -M %.xdy -t %.glg -o %.gls %.glo
xindy -L persian-variant1 -C utf8 -I xindy -M %.xdy -t %.blg -o %.bls %.blo
3) run xelatex on my file
4) run xelatex on my file

MWE

Download (1.56K)

\documentclass{report}

\usepackage[sanitize={name=false,description=false,sort=false,symbol=false},nomain,xindy,acronym,acronymlists={main,tem}]{glossaries}

\usepackage{xepersian}


\newglossarystyle{mylistFa}{
	\glossarystyle{list}
	\renewenvironment{theglossary}{}{}
	\renewcommand*{\glossaryheader}{}
	\renewcommand*{\glsgroupheading}[1]{\section*{  \glsgetgrouptitle{##1}} }
	\renewcommand*{\glsgroupskip}{}
	\renewcommand*{\glossaryentryfield}[5]     {\noindent \Glsentryname{##1} \dotfill \space \Glsentryplural{##1} \\}
	\renewcommand*{\glossarysubentryfield}[6]{\glossaryentryfield{##2}{##3}{##4}{##5}{##6}}
}%

\newglossarystyle{mylistEn}{
	\glossarystyle{list}
	\renewenvironment{theglossary}{}{}
	\renewcommand*{\glossaryheader}{}
	\renewcommand*{\glsgroupheading}[1]{\vskip 12mm\begin{LTR} \section*{\lr{\glsgetgrouptitle{##1}}} \end{LTR}}
	\renewcommand*{\glsgroupskip}{}
	\renewcommand*{\glossaryentryfield}[5] {\noindent \Glsentryplural{##1}  \dotfill \space  \Glsentryname{##1} \vskip 0mm}
	\renewcommand*{\glossarysubentryfield}[6]{\glossaryentryfield{##2}{##3}{##4}{##5}{##6}}
}%

\newglossary[glg]{english}{gls}{glo}{واژه‌نامه انگلیسی به فارسی}
\newglossary[blg]{persian}{bls}{blo}{واژه‌نامه فارسی به انگلیسی}

\makeglossaries
\glsdisablehyper

\newglossaryentry{Absorption}
{name={Absorption}, 
plural={جذب},
description={}
}

\begin{document}
این یک مثال است و 
\glspl{Absorption}.

\glossarystyle{mylistFa}
\printglossary[type=persian]

\glossarystyle{mylistEn}
\printglossary[type=english]

\end{document}


Evaluation

Use sanitizesort instead. The sanitize option was deprecated as of version 4.0. (sanitize still ought to work for backward compatibility, so this is a bug and will be fixed in the next version.)

Update 2013-12-05

This bug is now fixed in v4.02.

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=47