ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Hans Åberg via ntg-context" <ntg-context@ntg.nl>
To: NTG-ConTeXt <ntg-context@ntg.nl>
Cc: "Hans Åberg" <haberg-1@telia.com>
Subject: Generating HTML
Date: Mon, 11 Oct 2021 19:12:25 +0200	[thread overview]
Message-ID: <75ABC1BA-3D82-4CBD-87F5-38E279B4094D@telia.com> (raw)

I would want to generate HTML, but in the example below, "html-test.tex", the index does not show in the file "html-test-export/html-test-div.html", and the source file \index{…}, gets in the HTML a black triangle. The index and links work fine in "html-test.pdf", though.


— html-test.tex —
\definefontfamily     [mainface][math][stix]
\setupbodyfont        [mainface,10pt]

\setupinteraction[state=start, click=yes, focus=standard, color=darkblue]

\setupbackend[export=yes] % Exporting HTML/XML


\defineregister [index]
\setupregister  [index] [indicator=no]

\startchapter[title={Introduction}]

Foobar\index{foobar} out of working order.

\startbodymatter

Foo\index{foo} or bar\index{bar}.

\startbackmatter

\completeindex

\stopbackmatter

\stoptext
—

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2021-10-11 17:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11 17:12 Hans Åberg via ntg-context [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-23 14:04 generating html jimarin
2004-06-23 14:41 ` Matt Gushee
2004-06-23 16:07 ` Hans Hagen
2004-06-23 17:20   ` Patrick Gundlach

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=75ABC1BA-3D82-4CBD-87F5-38E279B4094D@telia.com \
    --to=ntg-context@ntg.nl \
    --cc=haberg-1@telia.com \
    /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).