Ticket #35 (closed task: fixed)

Opened 8 months ago

Last modified 8 months ago

Cleanup of ModelicaReference

Reported by: dietmarw Owned by: otter
Priority: low Milestone: MSL3.0
Component: ModelicaReference Version: trunk(dev)
Severity: Keywords:
Cc: Hide ticket:

Description

First of all...respect! The ModeliaReference has really been improved tremendously. But I think before the final release two tasks should be fulfilled:

  1. remove the h3 headings and font colours as previously done in the MSL in r537 and r547
  2. remove all MS Office related html tags...MSO tends to include loads of unnecessary clutter (have a look at ElementaryOperators for an example) which quite often causes problems in other HTML viewers in turn

There also exist a nice online version of HTML tidy at this address: http://infohound.net/tidy . This might be helpful.

Attachments

View: correctheadings.patch or download file (55.7 kB) - added by dietmarw 8 months ago.
corrects the headings

Change History

Changed 8 months ago by dietmarw

  • type changed from defect to task

Changed 8 months ago by dietmarw

corrects the headings

Changed 8 months ago by dietmarw

I created a patch for correcting the headings. I could apply it but would not do so without your permission... :)

Changed 8 months ago by otter

  • status changed from new to closed
  • resolution set to fixed

I just corrected it in r952, i.e. changing from <h3> to <h4> and removing the superfluous top heading because present twice (from description text and from <h4> heading).

The green color of <h4> is kept. The reason is that there is no way in Dymola to have different fonts for the automatically generated <h3> and the <h4> heading in the info layer. This does not look good for this most occuring case. In the Modelica Standard Library this is uncritical, because <h4> is not often used, whereas it is heavily used in ModelicaReference. The only minor drawback of this is that <h4> is forced to have a green color also in a generated html and pdf documentation (which seems to be only a tiny issue).

Changed 8 months ago by otter

Microsoft specific html tags removed in r953.

Add/Change #35 (Cleanup of ModelicaReference)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.