ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Janko Hauser <janko@need-brain.de>
Subject: Re: How to nicely print XHTML to PDF
Date: Fri, 14 Nov 2003 12:52:38 +0100	[thread overview]
Message-ID: <20031114125238.7cf8f199.janko@need-brain.de> (raw)
In-Reply-To: <3FB4B9FE.4070103@web.de>

On Fri, 14 Nov 2003 12:18:22 +0100
Thomas Schrader <laborator@web.de> wrote:

> Hi everybody,
> 
> would you please put this right, if I'm mistaken.
> 
> Isn't ConTeXt capable to typeset XML? And isn't
> it really simple to make XHTML from HTML?
> 
In theory, yes :-), practically it can be a huge effort.

> So, is there any obstacle against using ConTeXt as
> customizable quality-typesetting backend for
> (readjusted/simplyfied) (X)HTML pages? What about
> power/complexity? How to style output?
> 

I think pdf from xhtml is a very good usecase for context. Although I
wouldn't think to do it directly, but transform the xhtml somewhat to
a context friendly xml. If you generate modern xhtml on your site, you
will have most of the styling in css files and have mostly structural
information in the xhtml. A tool can decide with the help of the css
definitions in the tags which layout macros it should use.

On the other side I do not think, that this approach is the equivilant
to the print function of the modern browsers.

__Janko Hauser

  reply	other threads:[~2003-11-14 11:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 11:18 Thomas Schrader
2003-11-14 11:52 ` Janko Hauser [this message]
2003-11-18 11:02 Thomas Schrader

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=20031114125238.7cf8f199.janko@need-brain.de \
    --to=janko@need-brain.de \
    --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).