emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bruno Barbier <brubar.cs@gmail.com>
To: Shérab <Sebastien.Hinderer@ens-lyon.org>, emacs-orgmode@gnu.org
Subject: Re: Exporting in html with numeric references to headlines
Date: Mon, 15 Jul 2019 21:18:11 +0200	[thread overview]
Message-ID: <5d2cc31d.1c69fb81.948b2.71f3@mx.google.com> (raw)
In-Reply-To: <20190715171632.GA24689@om.localdomain>


Hi Shérab,

Shérab <Sebastien.Hinderer@ens-lyon.org> writes:

> 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!
>

FWIW, I can not reproduce (org 9.2.3).

All links are created and are working; your document looks correct to
me.

Did you try with a longer document ? (your example is so small that
there is no display difference when clicking any links).


Bruno



> Shérab.

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 17:16 Exporting in html with numeric references to headlines Shérab
2019-07-15 19:18 ` Bruno Barbier [this message]
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=5d2cc31d.1c69fb81.948b2.71f3@mx.google.com \
    --to=brubar.cs@gmail.com \
    --cc=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).