Issue #897 resolved

LaTeX output replaces "--" in options with emdash

created an issue

The LaTeX output replaces the double hyphen "--" with an emdash, which makes this output technically incorrect.

Comments (5)

  1. tychoish reporter

    To solve this issue for myself, I've taken to adding the following to my makefile, as a workaround.

    sed -i -r 's/\\bfcode\{--(.*)\}/\\bfcode\{-{-}\1\}/' $(BUILDDIR)/latex/*.tex
  2. th3l0nius

    Same with html output, where it is in certain cases definitely undesired:

    :command:`sphinx-build --version`

    renders to sphinx-build -version !

  3. Log in to comment