From: Kjetil T. H. <kje...@if...> - 2004-10-07 02:21:33
|
On ons, 2004-10-06 at 20:53 -0400, David Goodger wrote: > [Kjetil Torgrim Homme] > > in order to render ``...`` correctly, LaTeX wants ``\ldots``, and HTML > > wants ``…``. it would be nice if Docutils did this > > transformation. > > Docutils doesn't do text > transformations like that (changing "..." to a single ellipsis > character). For the reasons why, please see > <http://docutils.sf.net/docs/dev/rst/alternatives.html#character-processing>. ah. a text-replace directive looks like a very nice solution for this. I could then make a file with the transformations I like and include it in my files. I can't simply add a simplistic preprocessor (such as a sed script), since it doesn't know about reST syntax. it would mangle literals and usage such as Subsubsection ............. > The LaTeX writer already translates U+2026 to "\dots". Is that > equivalent to "\ldots"? (I'm not a TeX expert.) sorry, I got it wrong. it's called \ldots in a math environment, so \dots and $\ldots$ are equivalent. -- Kjetil T. |