rst2epub2
rst2epub2 copied to clipboard
Internal references
I'm not sure if I'm just doing it wrong, as this seems a faily fundamental thing, so bear with me if I'm overlooking something obvious.
The problem I see is that document-internal references remain document-internal, which they no longer are once RST is turned into an epub. Consider:
===================
Breaking references
===================
Section 1
=========
See `Section 2`_.
Section 2
=========
See `Section 1`_.
When you build an epub from this, epubchecker rightly complains:
ERROR(RSC-012): break.epub/OEBPS/1.html(13,83): Fragment identifier is not defined.
ERROR(RSC-012): break.epub/OEBPS/2.html(13,83): Fragment identifier is not defined.
(the fragment identifiers being #section-1 and #section-2, respectively).
Now... is this expected? If so, how are such document-internal links supposed to be written? Or is this something that still needs implementation?
Hi @msdemlei Thanks for reaching out. This is an itch that I haven't had yet... so yes it needs implementation.