ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: HTML export
Date: Fri, 30 Sep 2011 15:08:00 +0200	[thread overview]
Message-ID: <48F027EB-5692-4548-9599-0200C1D9A203@googlemail.com> (raw)
In-Reply-To: <4E85B61A.9@vejnar.org>


Am 30.09.2011 um 14:29 schrieb Charles:

> Hi,
> 
> I am new to Context (coming from Latex) and very much like it: very nice job!
> 
> I would like to export my document to HTML. I am only interested by the basic formatting (like fonts, size...) and sections. I carefully read this page:
> http://wiki.contextgarden.net/epub
> 
> As far as I understood and seen the font and style switching (like \it) are ignored. First question: is it possible to avoid that behavior?

\setupbackend[export=yes]

\definehighlight[strong][style=bold]
\definehighlight[emph]  [style=italic]

\starttext
text \strong{text} text \emph{text} text
\stoptext

Wolfgang
___________________________________________________________________________________
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:[~2011-09-30 13:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-30 12:29 Charles
2011-09-30 13:08 ` Wolfgang Schuster [this message]
2011-09-30 13:42 ` Henning Hraban Ramm
2011-09-30 14:11   ` Charles

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=48F027EB-5692-4548-9599-0200C1D9A203@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).