The csquotes package does a very good job automatically placing quotation marks instead of dumb quotes in the input. This works well in many languages (e.g. English, or Lithuanian ), however there is a case that it does not currently handle. That is the case when to closing quotes fall together. In Balto-Slavic languages, such as Latvian, Russian, or Belarusian this leads to unbalanced quotes, e.g.
работа В.И. Ленина «О карикатуре на марксизм
и об «империалистическом экономизме»
That is
The paper by V.I. Lenin «A caricature of Marxism
and «Imperialist Economism»
Note two opening quotes and only one closing quote.
Here
\usepackage{csquotes}
\MakeOuterQuote{"}
...
работа В.И. Ленина "О карикатуре на марксизм
и об "империалистическом экономизме"
would cause
! Package csquotes Error: Unbalanced groups or invalid nesting.
I have come up with a small hack that seems to place the quotes correctly in my documents, however it would be nice to have a general solution.
