When I try to use pyweb on my own code, I get an error on |loz|
tags.
I'm using a virtualenv, with Python 3 and these packages:
$ pip list docutils (0.12) pip (8.0.2) py (1.4.31) pytest (2.8.7) pyweb (2.3.2) setuptools (18.2)
I can fix the issue by adding these lines in my main .w
file:
.. include:: <xhtml1-lat1.txt> .. include:: <xhtml1-special.txt> .. include:: <xhtml1-symbol.txt>
The ◊
entity is in the -symbol
file, but I threw the rest in to avoid having to look them up again later.
Given that lozenge use is part of the standard structure, I think the -symbol
file, at the minimum, should be included automatically. (Or you could just copy the one definition out into the standard boilerplate.)
Can't reproduce it.
One difference might be python 3.5.1 vs 3.4.3, but I was able to reproduce it cold this morning:
Here's my test.w file:
Here's my python -V and pip list:
Here's my output: