Files
sphinx/tests
jfbu 5510653d6e Fix #2629. Add new config option `latex_keep_old_macro_names`
The cause of the issue was a clash about ``\titleref`` macro being already
defined in memoir class context. To avoid similar problems, this makes
the text styling macros

  ``\strong``, ``\code``, ``\bfcode``, ``\email``, ``\tablecontinued``,
  ``\titleref``, ``\menuselection``, ``\accelerator``, ``\crossref``,
  ``\termref``, ``\optional``,

also available with ``\sphinx`` prefix, with a conf.py boolean option to
let sphinx.sty only define ``\sphinx``-prefixed macros. As default value
is False, backwards compatibility is maintained.

On this occasion, some internal non-public macros have been renamed with
prefix ``\spx@``. The command

    find . -name '*.sty' -exec grep -l \\\\spx@ {} \;

has been executed in TeXLive 2015 and 2016 installations to check no
package defines macros starting with ``\spx@``.

Some internal macros having public names (because they are written by
latex.py into the body of the latex document) have been renamed to have
``\sphinx`` prefix. The macros in sphinx.sty starting with \py@, or \DU,
or \PYG have not been modified. Similarly ``\release``, ``\version``,
``\releasename``, etc... have not been renamed.
2016-06-15 08:53:24 +02:00
..
2016-06-12 00:02:11 +09:00
2016-06-12 00:02:11 +09:00
2016-01-14 22:54:04 +01:00
2016-05-29 17:16:46 +09:00
2016-01-14 22:54:04 +01:00
2016-04-22 18:40:41 +09:00
2016-01-14 22:54:04 +01:00
2016-06-12 00:02:11 +09:00
2016-01-14 22:54:04 +01:00
2016-01-14 22:54:08 +01:00
2016-01-14 22:54:04 +01:00
2016-01-14 22:54:04 +01:00
2016-06-12 00:02:11 +09:00