Notalib/nota.oxygen — pull request #38 by stesk (2014-11-06 11:54:44+00:00)
Title: Nota 790

The modified xhtmlepub.framework contains new Author actions for:

* setting language attributes on the element at the current caret position to one of six values: `da`, `de`, `en`, `fr`, `no`, `se`
* wrapping selected text in a `` element with attributes indicating either of the six languages
* setting `@epub:type` on major content divisions
* if the book is edited in a one-file format, the attribute will be applied to the topmost `

` element below the `

` element
* otherwise, if an individual content document is edited, the attribute will be set on the `

` element
* in either case, the required secondary value (`frontmatter`, `bodymatter` or `backmatter`) is retained or changed in accordance with the provided guidelines
* applying class values to subdivisions of the cover: `frontcover`, `rearcover`, `leftflap` and `rightflap`

The actions have been added to the contextual menu in the Author view.