emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Shérab <Sebastien.Hinderer@ens-lyon.org>
To: emacs-orgmode@gnu.org
Subject: Exporting in html with numeric references to headlines
Date: Mon, 15 Jul 2019 19:16:32 +0200	[thread overview]
Message-ID: <20190715171632.GA24689@om.localdomain> (raw)

Dear all,

Assume the following document:

===

#+title: test1

* Introduction

Monads will be explained in chapter [[#monads]]

* Monads
  :PROPERTIES:
  :CUSTOM_ID: monads
  :END:

Welcome to the monads chapter.

===

When I export this to html, the paragraph in the introduction says:

Monads will be explained in chapter 2

with "2" being a link, which is what I am expecting. However the link
does not work and it seems the "#monads" anchor is actually not created.
I can also observe that the links in the table of contents do not seem
to work either.
Am I doing something wrong? I also tried different variations with
<<chap:monads>> but was not able to make anything work.

Many thanks in advance for any hint!

Shérab.

             reply	other threads:[~2019-07-15 17:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 17:16 Shérab [this message]
2019-07-15 19:18 ` Exporting in html with numeric references to headlines Bruno Barbier
2019-07-16  6:13   ` Shérab
2019-07-16 19:27     ` Bruno Barbier
2019-07-15 22:54 ` Nick Dokos

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=20190715171632.GA24689@om.localdomain \
    --to=sebastien.hinderer@ens-lyon.org \
    --cc=emacs-orgmode@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).