<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sphinx-git.git/sphinx/highlighting.py, branch v2.4.1</title>
<subtitle>github.com: sphinx-doc/sphinx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/'/>
<entry>
<title>A happy new year!</title>
<updated>2020-01-01T02:15:42+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2020-01-01T02:15:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=fc523c3ccff5b2227efe4391a68dae7a5b973971'/>
<id>fc523c3ccff5b2227efe4391a68dae7a5b973971</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: Enable disallow_incomplete_defs flag for type checking</title>
<updated>2019-12-30T08:22:56+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2019-12-29T14:56:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=ab184ac20d82d0546c21f33d2fdfbfb324078d56'/>
<id>ab184ac20d82d0546c21f33d2fdfbfb324078d56</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate to py3 style type annotation: sphinx.highlighting</title>
<updated>2019-12-24T17:26:20+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2019-12-24T16:30:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=1124052f9204fb4a8b867687bc9efc5fb2f3f8f5'/>
<id>1124052f9204fb4a8b867687bc9efc5fb2f3f8f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>LaTeX: avoid quotes and TeX ligature replacements in PDF output</title>
<updated>2019-12-15T13:19:50+00:00</updated>
<author>
<name>jfbu</name>
<email>jfbu@free.fr</email>
</author>
<published>2019-12-05T17:19:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=30b26dd6a12de641776d871f9291de556de093fd'/>
<id>30b26dd6a12de641776d871f9291de556de093fd</id>
<content type='text'>
Refs: #6890

The comma character is not TeX-escaped because it is frequent in general
text and escaping it would make the LaTeX output larger for only dealing
with the problem of the LaTeX-ligature of ,, into a single character.
And one there is problem with the commas in options to Verbatim from
PygmentsBridge.

The hyphen character is escaped (not in ids and URIs!) to
\sphinxhyphen{} for both Unicode and non-Unicode engines. This is needed
to work around hyperref transforming -- and --- from section titles into
EN DASH resp. EM DASH in PDF bookmarks.

https://github.com/latex3/hyperref/issues/112

Note to expert LaTeX users: if Sphinx latex user with xelatex has

- turned off Smart Quotes for some reason,

- but does want TeX ligatures and thus overrode Sphinx
latex_elements['fontenc'] default (since #6888) to this effect,

then this should be added to LaTeX preamble:

    \def\sphinxhyphen#1{-}% (\protected is now not needed)
    \let\sphinxhyphenforbookmarks\sphinxhyphen
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs: #6890

The comma character is not TeX-escaped because it is frequent in general
text and escaping it would make the LaTeX output larger for only dealing
with the problem of the LaTeX-ligature of ,, into a single character.
And one there is problem with the commas in options to Verbatim from
PygmentsBridge.

The hyphen character is escaped (not in ids and URIs!) to
\sphinxhyphen{} for both Unicode and non-Unicode engines. This is needed
to work around hyperref transforming -- and --- from section titles into
EN DASH resp. EM DASH in PDF bookmarks.

https://github.com/latex3/hyperref/issues/112

Note to expert LaTeX users: if Sphinx latex user with xelatex has

- turned off Smart Quotes for some reason,

- but does want TeX ligatures and thus overrode Sphinx
latex_elements['fontenc'] default (since #6888) to this effect,

then this should be added to LaTeX preamble:

    \def\sphinxhyphen#1{-}% (\protected is now not needed)
    \let\sphinxhyphenforbookmarks\sphinxhyphen
</pre>
</div>
</content>
</entry>
<entry>
<title>Make escape() and hlescape() as public APIs of texescape</title>
<updated>2019-11-16T10:42:06+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2019-11-16T10:22:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=f3469bcc8fedac8c196a3df7e71a8a47300dcb64'/>
<id>f3469bcc8fedac8c196a3df7e71a8a47300dcb64</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #6738: latex: literal_block does not support raw unicode characters</title>
<updated>2019-11-16T07:47:20+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2019-11-16T07:29:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=660e746cf801b9fce867a35a1ad3b65ae9ef43c5'/>
<id>660e746cf801b9fce867a35a1ad3b65ae9ef43c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch uses of __import__ to importlib.get_module()</title>
<updated>2019-08-17T18:45:39+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-08-17T18:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=ecb1e763ad0917ac37061b648a53793a687cc760'/>
<id>ecb1e763ad0917ac37061b648a53793a687cc760</id>
<content type='text'>
The Python docs for __import__ recommend using importlib.get_module().

https://docs.python.org/3/library/functions.html#__import__

&gt; Note: This is an advanced function that is not needed in everyday
&gt; Python programming, unlike importlib.import_module().

As importlib.get_module() uses the Python module cache and returns the
module, this also allows simplifying many module cache checks of use of
sys.modules.

importlib.get_module() has been available since Python 3.3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Python docs for __import__ recommend using importlib.get_module().

https://docs.python.org/3/library/functions.html#__import__

&gt; Note: This is an advanced function that is not needed in everyday
&gt; Python programming, unlike importlib.import_module().

As importlib.get_module() uses the Python module cache and returns the
module, this also allows simplifying many module cache checks of use of
sys.modules.

importlib.get_module() has been available since Python 3.3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #6497: custom lexers fails highlighting when syntax error</title>
<updated>2019-06-17T16:43:14+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2019-06-17T16:43:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=2119a65b860ea6619efe0881118cc3c693558ac5'/>
<id>2119a65b860ea6619efe0881118cc3c693558ac5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add :force: option to code directives</title>
<updated>2019-06-01T04:42:57+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2019-05-30T01:44:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=e001d358d0dd83f260ec696e2c14a65bd63cde13'/>
<id>e001d358d0dd83f260ec696e2c14a65bd63cde13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>highlight: Enable raiseonerror only if force=False</title>
<updated>2019-06-01T03:48:15+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2019-05-28T16:26:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=e9c5e3656fc74c66eb31f897c9f485a10912a2c9'/>
<id>e9c5e3656fc74c66eb31f897c9f485a10912a2c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
