adam.baker
  • Member for 8 years, 4 months
  • Last seen this week
Xindy doesn't sort keywords properly
6 votes

It turns out that changing the keyword sorting order involves defining a new language. It's not sufficient to define new letter groups in a .xdy file. (Once you define the new language, however, you ...

View answer
How to use background image in LaTeX?
4 votes

Here is a solution that uses the (relatively) new \AddToHook macro. \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \AddToHook{shipout/background}{% \put (0in,-\paperheight){\...

View answer
What causes siunitx and ot-tableau to be incompatible?
Accepted answer
3 votes

It's quite likely that it was tabu that was causing the problem. I've updated the package to avoid tabu, and your MNWE is now an MWE. :-) I've submitted the update to CTAN, and it's also on GitHub now....

View answer
Issues with leipzig and glossaries used together
3 votes

At least as of the June 16, 2017 release of leipzig, this no longer seems to be a problem. You just need to use the glosses package option. (This is explained in the “Multiple glossaries” section of ...

View answer
How to use multiple location classes in xindy?
3 votes

I couldn't find anything in the xindy docs that suggests that you can specify optional elements, so it seems like the easiest thing is just to add these location classes to the end of the xdy you gave ...

View answer
Index that picks up on example numbers, not page numbers
3 votes

I wanted to post a solution that amounts to the same thing, but which may be a bit simpler. It uses the index package. You can instruct index to use a specific macro (below, \PageExample) to generate ...

View answer
Which is the encoding of the default .xdy file
2 votes

It's not obvious from the docs, but the files in xindy/modules/lang are generated from source files (ending in .pl.in), which are not included in the distribution. Specifying an alternative alphabet ...

View answer
How to use Miktex's Xindy package?
2 votes

As noted in this answer, xindy has been included with MikTeX since June 2015. As long as MiKTeX 2.9\miktex\bin is included in your path, you'll have xindy and texindy available. Here's a MWE: xindy-...

View answer
Example numbers in right-to-left environment with ExPex
Accepted answer
2 votes

I was able to get the proper behavior by editing \ex@c and \glw@begingl@a. In both cases I was able to figure out some alternate code appropriate to the RTL context. My modifications to \ex@c: % \...

View answer
Xindy and custom Hyperref index entries
Accepted answer
2 votes

The solution I came up with is to teach xindy to recognize hyperlink commands as types of page references. (The code that follows doesn't able page range references, but I simply didn't include that ...

View answer
Specify link targets for index entries made with hyperref
Accepted answer
2 votes

Here is the solution, based on this answer. \documentclass{book} \usepackage{expex,lipsum,index} \newindex[PageExample]{my-index}{idx}{ind}{My Custom Index} \usepackage[hyperindex=false]{hyperref} % ...

View answer
Biblatex: Avoid abbreviations for "editor" or "translator" (modifying historian bibstyle)
Accepted answer
2 votes

There is an option for not using abbreviations when you load the package: \usepackage[abbreviate=false]{biblatex}

View answer
Quotes face the wrong way with xepersian and csquotes
1 votes

There may be a more general solution, but I was able to solve this with a custom quotation style—just by reversing the left and right quotation marks. \documentclass{minimal} \usepackage{xepersian} \...

View answer
Issue with xindy for package glossaries
1 votes

This error also occurs if the first argument in an \indexentry (in the .idx file) is blank. I ran into this with some automatically generated indices.

View answer
\includepdf only shows first page, despite having specifed the second page
1 votes

I was able to solve the problem by installing the graphics-def package. Following @moewe's comment, I tried to find out why I had an old version of tex\latex\graphics-def\xetex.def. This answer ...

View answer
Automatically setting the label width in a description environment, for each page
1 votes

Here is a working solution. After the first run things aren't aligned. The second time through they are. \documentclass[11pt]{article} \usepackage{enumitem,lipsum,atbegshi,ifthen} \parindent=0pt \...

View answer
Paragraph delimiters that disappear at the tops and bottoms of pages (like \vspace)
1 votes

Here's a MWE with the delimiter disappearing at the end of a page. The macro definition follows this link, which was suggested in the comments (thanks Gustavo Mezzetti!). \documentclass[11pt]{article}...

View answer
Biblatex doesn't produce spaces between citations with footcite or footcites
1 votes

The resolution to this issue, based on comments to the original question, was to stop using historian, which is no longer developed, and to switch to a customized verbose-ibid.

View answer
Shaded cells option in ot-tableau
0 votes

This was an error caused by an incompatibility of colortbl and tabu. The current version (soon to be available on CTAN, and also on GitHub now) shades cells correctly. There is a trade-off (because of ...

View answer
How can I make this table prettier?
0 votes

There is an article that nicely discusses how to make attractive tables using LaTeX, “Tables in LATEX2e: Packages and Methods.” Drawing on the advice given in that article, I would recommend removing ...

View answer
Glossaries/Polyglossia error that occurs when Farsi is the default language
Accepted answer
0 votes

Ulrike's answer certainly addresses the problem, but adds the complication that glossaries prints a Farsi number in the .glo file (۱۲۳۴۵۶۷۸۹۰ instead of 1234567890), which confuses xindy. (I searched ...

View answer
How can I include a PNG image using XeTeX?
-1 votes

A PNG image is a raster image, which has no physical dimensions. If you image is 100 pixels by 100 pixels, you can print that out in thumbnail size or as a full page. Since XeTeX is putting the ...

View answer