Skip to content

Rhaptos Software Development

Personal tools
You are here: Home » Developer Blog » Brian's Sooth » CNXML Short Comings As Seen During The Import Process

CNXML Short Comings As Seen During The Import Process CNXML Short Comings As Seen During The Import Process

Document Actions
Submitted by bnwest. on 2007-09-24 12:39. Markup
CNXML Short Comings As Seen During The Import Process

Word and LaTex support document constructs that have no match in CNXML 0.5.  This blog entry will document those short comings and could be used as a source for suggestions for future CNXML releases. The short comings will eventually be made into separate  tickets (once they have been fleshed out here).

LaTeX Importer

Tables can not be a table cell entry (aka table in a table).  CALS defines a limited capability for this but support is likely lacking in our HTML rendering.

Paragraphs can not have direct paragraph children. This is really questionable from the semantical side of the fence.

Name/Title and captions can not contain paragraphs.

Name/Title and captions can not contain MathML.

Table cells can not contain <equation> nodes.

Table cells can not contain figures.

List items can not contain paragraphs.

media in media is very confusing, espeically when the print only image is the primary and the web-able image is secondary/alternative.

Alternative text for a media file is limited to a string. Inline MathML should also be allowed.

Word Importer

Lists can not be a table cell entry.

Paragraphs can not have direct paragraph children.

Lists can have "headers", which is like a caption except at the top versus the bottom. See ticket:4268.

Multiple choice questions (which looks like nested enumerated lists) as seen in a practice examination

Tests can have a setup (think paragraph like "For questions #1 to #6, use the following ...") breaking up the questions.  A set of questions looks like an enumerated list, but <para> can not be a child of <list>.  May need a new node type like <question> or some such. (see marknewlyn__Bishops_Grade_9_Ad_Nov_2007.doc)

Enumerated lists with a), b), etc. especially within exam question (see ncpea__Dembowski2final.doc)

FAQs, series of questions and answers (see SShearman__What_is_LabVIEW.doc)

Document title

Acknowledgements

Chemical equations

Attributed quotes - "To be or not to be" by William Shakespeare (see ncpea__#139final.doc)

Abstract

Script dialog like:
Sampson: Gregory, o' my word, we'll not carry coals.
Gregory: No, for then we should be colliers.

need <verse> style which respects new lines like <code> (see ncpea__dedication_final.doc, gstembkovska__09_g_stembkovska_cnx.doc, OLima__Songs_of_consumerism.rtf)

<meaning> node needs to have <para> et. al. children

block quotes can contain just about anything, e.g. quoting material from a book can contain multiple paragraphs, lists, etc.

section title containing link, especially for the entire section text (see wavelets__227OverviewMaterials.doc)

table cell in need of a title (see wavelets__comp482RubricF07.doc)

list entry containing a table (see wavelets__TA_Prep_guide.doc)



Re: CNXML Short Comings As Seen During The Import Process

Posted by kef at 2007-09-25 15:32
When do LaTeX and Word generate structure that creates nested paragraphs in CNXML?