W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2010

Re: How to control page margins

From: Frédéric WANG <fred.wang@free.fr>
Date: Fri, 08 Oct 2010 09:06:57 +0200
Message-ID: <4CAEC311.6010909@free.fr>
To: Trevor Turton <trevor@turton.co.za>
CC: www-amaya@w3.org
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: 
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 

Received on Friday, 8 October 2010 07:07:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:42 UTC