Package: rhaptos.cnxmlutils
IntroductionUtilities to convert to and from CNXML - a lightweight XML markup
language for marking up educational content in use by Connexions
(http://cnx.org)To run transformations manually see*.shscript files manual-tests/
Usually all test xml/html files are stored in rhaptos/cnxmlutils/tests/data/DevelopRun the tests by running./script/setupand then./script/test.To rebuild the tests, run./script/rebuild-tests.Code is hosted at:
-https://github.com/Connexions/rhaptos.cnxmlutilsLicenseThis software is subject to the provisions of the GNU Affero General Public License Version 3.0 (AGPL). See license.txt for details. Copyright (c) 2013 Rice UniversityChangelog2.3.0Add cases for selecting injected exercise links #2012.2.0Changes the injected exercise links to just be links instead of having exercise boilerplate around them2.1.2Adds HTML lang attribute when xml:lang attribute occursxsl:text should not be used for XML elements2.1.1preseve class name on links that have autogenerated link text2.1.0Ensure footnotes with equations aren’t droppedCopy id attribute from CNXML table row entries2.0.0Dump footnotes right after paraUse epub notation for footnotes1.7.3Fix lxml version in setup.py for python 2.71.7.2Installlxml>=4, <4.4only for python != 2.7 or < 3.5Change travis to use python 3.5 instead of 3.41.7.1Add self close comment to section titles h3 etcfix travis on python 3.41.7.0Add no self close comment to<section>in cnxml-to-html5Add no self close comment to<figure>in cnxml-to-html5Add no self close comment to<u>in cnxml-to-html5Remove no self close comment for<a>where unnecessaryAdd no self close comment to<figcaption>in cnxml-to-html51.6.2Added twine check to travis (#183)Fixed restructured text error in README.txt (#184)1.6.1Fix restructured text error in history.txt (#182)1.6.0Added new comment<!– no-selfclose –>is only created in the output when there is no content inside the tag (#180)Make self-closing tags mandatory for spans, div, iframe, etc. (#179)Add utf-8 and math content to tests, check for self closing tags in tests (#178)1.5.0Add longdesc attribute to img tags during transform (#175)1.4.0convert all cnx:newline to span (#174)1.3.2Fix conversion of para/cite/note (partial fix for #162)1.3.1Fix handling of nested terms in glossary (#164)1.3.0Set xsl/test/build.py version to “v0.test”Include the version that was used when transforming (#161)Convert windows ISO characters to UTF-8 (#160)Make lists nicer for CSS usage (#159)Unwrap blocks in paragraphs (#158)Remove class=”TYPE” in favor of just data-type=”type” (#154)Fix double-listing the footnotes (#151)Fix footnotes so they are not double-numbered and more selectable (#150)Move cnxml section title to be an h3 (and down, for subsections) (#148)Fix to preserve the ‘class’ on the top node of the document (#145)Fix notes to be exactly one paragraph with title (#141)Correct input cnxml for xsl tests to be valid (#139)Update tests to be python3 compatible (#137)Remove stale test for a feature not used in later versions1.2(unknown)1.1Handle bold and italic paragraph styles
[rochecompaan]alt tags on figures propogate to mediafixed subfigure cases1.0Initial release