Archive for June, 2012

xml.etree.ElementTree and processing instructions

Tuesday, June 19th, 2012

Python standard library xml.etree.ElementTree is convenient to work with a simple subset of XML. Unfortunately for me, this subset does not include processing instructions, therefore an workaround is required.

easy LyX styles

Friday, June 8th, 2012

The official way to introduce custom styles to LyX is:

* the layout-file should be located in a special directory,
* after the layout file is changed, the user should:
. – execute re-configure and
. – restart LyX.

This way is too cumbersome for experimenting and developing styles. Fortunately, there is a solution.