For a long time I have been really frustrated at the sort options in InDesigns index panel.

We do a lot of really complicated books with huge indexes, and mainly these books are in Danish. As you might know, the Danish alphabet is identical to the English, but with three additional letters: Æ, Ø and Å.

You can change the sort options in the index panel.

You can change the sort options in the index panel

Changing the sort order to Danish/Norwegian.

Changing the sort order to Danish/Norwegian

The InDesign index only alphabetises from A to Z, but the Sort Options was made to change this. The sort options window lets you prioritise the order of how InDesign should alphabetise, and it works perfectly - for the first letter alone.

I have created a small list of words, using these special characters, and listed them as InDesign would sort them with Danish/Norwegian alphabetising:

  • ÆA
  • ÆÅ
  • ÆB
  • ØA
  • ØÅ
  • ØB
  • ÅA
  • ÅÅ
  • ÅB

Note that the first letter are alphabetised correctly, but the following letters are "ignored", or at least treated as another letter. Æ's and Å's are treated as A's and Ø's are treated as O's.

The correct order would instead be:

  • ÆA
  • ÆB
  • ÆÅ
  • ØA
  • ØB
  • ØÅ
  • ÅA
  • ÅB
  • ÅÅ

I reported the issue as a bug to Adobe and got a kind e-mail reply with an easy fix. Besides changing the sort options to "Danish/Norwegian", changing the documents default language would do the trick.

Make sure you don't have anything selected at all, then launch your character panel (CMD/CTRL+T) and select "Danish" from the language drop down.

Changing the document default language to Danish does the trick.

Changing the document default language to Danish does the trick

Note: Even double A's (AA) will be treated as Å's now!

I was asked on Twitter if I could throw together a small script to resize a text selection by a defined amount of points.

If you have a text selection with various sizes of text, you can't quickly resize it by a few points, without resizing all text to the same point size. This script allows you to resize the text selection, and handles the different sized text in the selection.

The dialog box that opens when activating the script.

The dialog box that opens when activating the script

The script supports both positive and negative values, so you can both decrease and increase the sizes.

The script

The JavaScript can be downloaded here: resize_selected_text.jsx.

You can add it to your Scripts palette and run it from there. To do that, place the file inside the "~/Library/Preferences/Adobe InDesign/Version 6.0/Scripts/Scripts Panel" folder.

Note that depending on the length of your document, the script might take a while to run.

I have uploaded an updated version of the Search and change case script so it now supports a couple of extra features.

In addition to changing the case you can now apply a character style to the found text or make a local formatting change to "Small Caps" or "OpenType All Small Caps". Keep in mind that if you apply a character style, it will override the current character style of found items, if any.

Thanks to David Blatner for the idea.

The script is written in JavaScript and should work on both Windows and Mac in CS3 and CS4. You can download it from here.

Have you ever considered how your numbers look in your table of contents, in your tables, or in your running text? Most modern typefaces (OpenType) contains different figures for different purposes - learn to master them to make a subtle but important facelift of your design.

The most obvious figures are the lining figures and the hanging (Oldstyle) figures - lining being where the figures "stands" on the baseline with equal height, and hanging being the figures positioned relatively to the baseline and x-height.

A table of contents using proportionally spaced hanging figures.

A table of contents using proportionally spaced hanging figures.

The spacing between the figures are really important, either you choose them to be tabularly or proportionally spaced. The default setting in most modern fonts are proportionally, since it is the pretties when the figures are written in context with other text - but as soon as the figures are placed as a part of a table with many numbers, or in this case a table of content, tabular is the way to go.

The same table of contents, but with tabularly lining figures instead.

The same table of contents, but with tabularly lining figures instead.

Tabular figures are always the same width, so they as illustrated are placed right on top of each others, but not as beautifully spaced next to each others.

In many fonts, this width is equal to an EN, but since this is not always the case, you in InDesign have the Figure space available, so that you in a text with many numbers on top of each others, can use figure spaces instead of word spaces to match the exact width of the figure.

Using figure spaces to indent tabular figures. Also illustrated here, the slashed zero figure.

Using figure spaces to indent tabular figures. Also illustrated here, the slashed zero figure.

In the previous illustration you can also see another type of figure type available in many modern fonts, the slashed zeros.

There are several ways of discovering what types of figures are available in a specific font through OpenType:

  1. Check the font specimen where this always is detailed - it is of course a selling point.
  2. You can check the glyph palette for alternative figures (as with stylistic sets).
  3. You can open the character panel (CMD+T/CTRL+T) and check the OpenType menu item - if an option is unavailable it will be surrounded by square brackets.

The character panel with the OpenType menu open.

The character panel with the OpenType menu open.

For instance, turning on Fractions will make sure that numbers written like 1/100 will be using a real fraction slash, and real numerators and denominators, which separately also are available in the OpenType settings for text.

A fraction with real numerators and denominators.

A fraction with real numerators and denominators.

Be sure to also read the earlier guides in the Better typography series: The right quotation marks, Using the baseline grid, Optical alignment and Creating and organising styles.

Related to my guide regarding on using GREP styles to change words to small caps, I recently wrote this small script to let you really change case in a search.

The dialog box that opens when activating the script.

The dialog box that opens when activating the script

Activating the script lets you type in a search string, which also accepts GREP, and selecting which of the four cases you want the text transformed to, UPPERCASE, lowercase, Title Case or Sentence case. The script also lets you search a single story or a whole document.

The end result.

The end result

The script

The JavaScript can be downloaded here: search_change_case.jsx.

You can add it to your Scripts palette and run it from there. To do that, place the file inside the "~/Library/Preferences/Adobe InDesign/Version 6.0/Scripts/Scripts Panel" folder.
Note that depending on the length of your document, the script might take a while to run.

Changelog

1.5: Added options for applying a character style or local small caps formatting for the found text.