ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bill Meahan <subscribed_lists@meahan.net>
To: ntg-context@ntg.nl
Subject: Re: HTML output
Date: Tue, 19 Feb 2013 13:08:34 -0500	[thread overview]
Message-ID: <5123BFA2.1040101@meahan.net> (raw)
In-Reply-To: <20130219142235.GB3733@homerow>

On 02/19/2013 09:22 AM, Marco Patzer wrote:
> Within the limits of CSS you obtain a quite close match¹. But it's
> up to you to create the matching CSS.
>
> Marco
>
You can do a pretty good job of matching the printed page with HTML5 + 
CSS3 here's a good reference:

http://www.w3schools.com/html/default.asp

Unfortunately, implementation of these standards is a bit spotty. The 
problem is in the browsers. Chrome/Chromium has done the best job of 
implementing HTML5 to date, IE the worst. with Firefox and Safari in 
between.

Similarly, EPUB (based on XHTML) is in a similar situation. EPUB3 is 
based on HTML5 while EPUB2 on XHTML1.1 The corresponding CSS support 
tells you how well most e-book readers handle the new format. At the 
moment, there is very little support for EPUB3 in applications and 
dedicated readers (Kindle, Nook & al.)

It's best if you design your document with these formats in mind or put 
up with how your document is rendered.

As a not-very-good fallback, you can always convert your document to 
PNG/JPEG images and use HTML to simply display them in the proper order.

-- 
Bill Meahan
Westland, Michigan USA

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2013-02-19 18:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19 14:05 Troy Henderson
2013-02-19 14:22 ` Marco Patzer
2013-02-19 18:08   ` Bill Meahan [this message]
2013-02-19 19:09     ` Henning Hraban Ramm
2013-02-20 14:40       ` William Adams
2013-02-19 18:15 ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5123BFA2.1040101@meahan.net \
    --to=subscribed_lists@meahan.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).