Skip to main content

No project description provided

Project description

Introduction

Utilities 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 *.sh script files manual-tests/ Usually all test xml/html files are stored in rhaptos/cnxmlutils/tests/data/

Develop

Run the tests by running ./script/setup and then ./script/test.

To rebuild the tests, run ./script/rebuild-tests.

Code is hosted at: - https://github.com/Connexions/rhaptos.cnxmlutils

License

This 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 University

Changelog

1.6.2

  • Added twine check to travis (#183)

  • Fixed restructured text error in README.txt (#184)

1.6.1

  • Fix restructured text error in history.txt (#182)

1.6.0

  • Added 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.0

  • Add longdesc attribute to img tags during transform (#175)

1.4.0

  • convert all cnx:newline to span (#174)

1.3.2

  • Fix conversion of para/cite/note (partial fix for #162)

1.3.1

  • Fix handling of nested terms in glossary (#164)

1.3.0

  • Set 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 versions

1.2

  • (unknown)

1.1

  • Handle bold and italic paragraph styles [rochecompaan]

  • alt tags on figures propogate to media

  • fixed subfigure cases

1.0

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rhaptos.cnxmlutils-1.6.2-py2.py3-none-any.whl (150.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rhaptos.cnxmlutils-1.6.2-py2.py3-none-any.whl.

File metadata

  • Download URL: rhaptos.cnxmlutils-1.6.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 150.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for rhaptos.cnxmlutils-1.6.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 47a780f38414472f5af37f9b7e4761edf96d9f1e9e5a4be4ff17a89c6495c202
MD5 f9c18a53a77bb0b6f50595c3a152b29b
BLAKE2b-256 9da940484fe329a652f32b8c5ea0e3c921dfd34ef9e36d39a8c3082f8eb94afd

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page