1

It used to be that this worked:

\documentclass{scrartcl}
\usepackage[utf8]{inputenc}

\usepackage[main=american,ngerman]{babel}
\addto\extrasamerican{\languageshorthands{ngerman}}

\begin{document}
  Test"=Test
\end{document}

This is taken directly from the babel manual. We would expect to see Test-Test but instead we get Test"=Test.

What changed and how do I adapt?

This is on TeXlive 2014 with babel at Version 3.9l 2014/09/25.

2

1 Answer 1

1

Perhaps the manual should point out shorthands must be activated for american too. The simplest way to do it is, in the preamble:

\useshorthands*{"}

That makes " active for the whole document. If it worked without this declaration, it was a bug, because german deactivates shorthands when changing to another language (it should, but perhaps in a former version it didn't -- just a guess).

1
  • That helps, thanks! According to the manual, there were some changes with 3.9a but we never noticed with our ngerman material.
    – Raphael
    Nov 14, 2014 at 16:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .