numbered lists problem
- To: mathgroup at smc.vnet.net
- Subject: [mg79028] numbered lists problem
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Mon, 16 Jul 2007 02:16:13 -0400 (EDT)
Steps to reproduce: 1. Create a new notebook and change the style to JournalArticle. 2. Create three cells with whatever text you want and change their styles to Item1Numbered. 3. Choose File->Save As and save the notebook as an HTML file. Expected Result: An HTML file that contains a numbered list of the items entered in the notebook. Actual Result: The HTML file shows only the plain text of the items entered in the notebook. In[1]:= {$Version,Internal`$CreationID} Out[1]= {6.0 for Microsoft Windows (32-bit) (April 27, 2007),853857} Speculation: ***Assuming I have used the style correctly***, I speculate that, since the JournalArticle.nb stylesheet depends on PublicationDefault.nb and thus likely originated from Publicon, Mathematica 6's Save As HTML code is not using the following part of the Item1Numbered style: TaggingRules:>{ "ExtraConversionRules" -> { "General" -> {"NestingLevel" -> 30}, "TeX" -> {"CellGroupEnvironment" -> "enumerate"}, "HTML" -> {"CellGroupEnvironment" -> "ol"}}} As a result, the <li> tags that are generated for each cell are not wrapped in overall <ol> tags. This is why the browser does not number the <li> entries. -- http://chris.chiasson.name/