From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Error with export=yes
Date: Fri, 06 May 2011 16:07:48 +0200 [thread overview]
Message-ID: <4DC400B4.7050208@wxs.nl> (raw)
In-Reply-To: <alpine.LNX.2.01.1105060935540.7711@ybpnyubfg.ybpnyqbznva>
On 6-5-2011 3:39, Aditya Mahajan wrote:
> \setupbackend[export=yes]
> \starttext test \stoptext
I'll fix it. You can set an xhtml file as well as some css.
\setupbackend[export=yes]
\setupbackend[export=yes,xhtml=yes]
\setupbackend[export=yes,xhtml=whatever.xhtml]
\setupbackend[export=yes,css={whatever.css,somemore.css}]
So, you can have dual output: pdf and xhtml. Normally the xml + css will
do but if you also want interactivity then you need the xhtml option
(adds some 'a' wrappers). I will also add an epub option for producing
those epub zip files.
I can send you an example (cld-mkvi) if needed that shows an example of
css hooked into such output. That manual starts with:
\setupbackend
[export=cld-mkiv-export.xml,
xhtml=cld-mkiv-export.xhtml,
css={cld-mkiv-export.css,mathml.css}]
There's an article in the eurotex proceedings about these issues. I
don't know if Mojca has put the presentation somewhere online.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-05-06 14:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-06 13:39 Aditya Mahajan
2011-05-06 14:07 ` Hans Hagen [this message]
2011-05-06 14:45 ` Aditya Mahajan
2011-05-07 0:57 Reviczky, Adam
2011-05-07 10:24 ` Hans Hagen
2011-05-09 2:13 ` Reviczky, Adam
2011-05-09 2:57 Reviczky, Adam
2011-05-09 11:24 ` Hans Hagen
2011-05-09 11:32 ` Reviczky, Adam
2011-05-09 11:52 ` Hans Hagen
2011-05-09 12:53 ` Reviczky, Adam
2011-05-09 13:01 ` Hans Hagen
2011-05-09 15:12 ` Hans Hagen
2011-05-09 15:28 ` Reviczky, Adam
2011-05-09 16:48 ` Reviczky, Adam
2011-05-09 16:55 ` Wolfgang Schuster
2011-05-09 17:05 Reviczky, Adam
2011-05-09 17:30 ` Reviczky, Adam
2011-05-09 17:45 ` Reviczky, Adam
2011-05-09 20:01 ` Hans Hagen
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=4DC400B4.7050208@wxs.nl \
--to=pragma@wxs.nl \
--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).