- From: Frédéric WANG <fred.wang@free.fr>
- Date: Fri, 08 Oct 2010 10:47:55 +0200
- To: Trevor Turton <trevor@turton.co.za>
- CC: www-amaya@w3.org
- Message-ID: <4CAEDABB.7010508@free.fr>
You're welcome! Actually, a lot of people have had the same problem. Fortunately, the next versions of browsers will behave as Amaya, and accept MathML/SVG in non-xhtml pages. Le 08/10/2010 09:20, Trevor Turton a écrit : > Wow! Gold dust! I tried your suggestion, Frédéric, and it worked. > So simple! I have the STIX fonts installed. > Thanks also to Helder for getting me going. This mailing list is very > supportive. > > Regards > Trevor > > On 2010-10-08 09:06, Frédéric WANG wrote: >> Hi Trevor, >> >> I've you tried to use the extension .xhtml instead of .html before >> opening it in Firefox? (see attachment). >> I also recommend you to install STIX fonts for Firefox: >> https://developer.mozilla.org/en/Mozilla_MathML_Project/Fonts >> Note that you are also likely to have the following bug when printing >> with Firefox: bug https://bugzilla.mozilla.org/show_bug.cgi?id=546044 >> >> Le 08/10/2010 08:51, Trevor Turton a écrit : >>> Hi Helder >>> >>> Thanks for the detailed reply. I am using Windows, so your advice >>> was spot on. Unfortunately the drivers for the printers that are >>> available to me don't include margin control among the options that >>> they allow me to set. >>> >>> I would gladly use Firefox to do the printing, it lets me set >>> margins, headings, and footings. Unfortunately I hit a problem. >>> I'm using Amaya 11.3 to insert math equations into several existing >>> HTML documents. The equations look good when viewed with Amaya and >>> they print well too, except for the margins. When I save the edited >>> document and open it in Firefox, the equations don't display >>> correctly, particularly when they include a fraction. So that's the >>> real problem, but I thought that setting print margins in Amaya >>> would be easier to fix. Maybe not. >>> >>> Amaya automatically converts the HTML documents to XHTML when I >>> insert a math equation. I have attached a really simple example to >>> this note that shows the problem. I noticed that it doesn't supply >>> a DOCTYPE when it does this. I tried telling Amaya to convert the >>> document to XHTML Transitional before inserting the first equation, >>> and then it inserts a good DOCTYPE, but this makes no difference to >>> the way that Firefox displays the equations. >>> >>> Regards >>> Trevor Turton >> >> -- >> Frédéric Wang. >> Website <http://www.maths-informatique-jeux.com/> - Weblog >> <http://www.maths-informatique-jeux.com/blog/frederic/> -- Frédéric Wang. Website <http://www.maths-informatique-jeux.com/> - Weblog <http://www.maths-informatique-jeux.com/blog/frederic/>
Received on Friday, 8 October 2010 08:48:14 UTC