Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 09-05-2023, 03:00 AM   #1
Momaiz
Junior Member
Momaiz began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
Cool html to docx footnotes

Hello ,

Can you help please , i need to link html footnotes in docx

i tried to add links with html like this

PHP Code:
<a id="w11"></a>
 <
a href="#m1">
<
sup>[1]</sup>
</
a>

<
a id="w22"></a>
 <
a href="#m2">
<
sup>[2]</sup>
</
a>



# The footnote content:

<class="note"><a id="m1"></a>
 <
a href="#w11">[1]</afoot note 1 </p>
 
<
class="note"><a id="m2"></a>
 <
a href="#w22">[2]</afootnote2 </p
and i converted to docx in terminal

Code:
ebook-convert html.html html2.docx --docx-no-toc
but it's not linked as footnotes

how can i do the trick please ?
Momaiz is offline   Reply With Quote
Old 09-08-2023, 08:46 AM   #2
Momaiz
Junior Member
Momaiz began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
Lightbulb

Any one ,can help please ?
Momaiz is offline   Reply With Quote
Advert
Old 09-09-2023, 11:31 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
html doesnt really have footnotes as such you cant convert them to docx automatically.
kovidgoyal is offline   Reply With Quote
Old 09-09-2023, 11:59 AM   #4
Momaiz
Junior Member
Momaiz began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
Quote:
Originally Posted by kovidgoyal View Post
html doesnt really have footnotes as such you cant convert them to docx automatically.
Thank you for answer ,

I know that hrml doesn't have footnotes , but may be theres command or code can create or convert html to footnotes

if not footnote like docx , i may be html links with refernce and content.
Momaiz is offline   Reply With Quote
Old 09-09-2023, 10:23 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
links in html become links in docx automatically
kovidgoyal is offline   Reply With Quote
Advert
Old 09-10-2023, 02:33 AM   #6
Momaiz
Junior Member
Momaiz began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
Quote:
Originally Posted by kovidgoyal View Post
links in html become links in docx automatically
Thank you ,
But if i refer to other part of html ,

PHP Code:
<a href="#notes1"Note 1</a
long other html here


PHP Code:
<p id="notes1">Note 1 text </p
Does it follow the link in docx too ?
Momaiz is offline   Reply With Quote
Old 09-10-2023, 04:38 AM   #7
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,171
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by kovidgoyal View Post
links in html become links in docx automatically
Yes, and that's better than "true" footnotes in Word or LO Writer. With notes inserted by "Insert Footnote", rather than adding a paragraph and linking to and fro with internal links/anchors (Bookmarks in WP), you can accidentally delete the note easily.
Quoth is offline   Reply With Quote
Old 09-11-2023, 10:27 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yes it does. A link is a link, it doesnt care what part of th etext it is in
kovidgoyal is offline   Reply With Quote
Reply

Tags
footnote, footnotes, htmltodocx


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPUB to DOCX with footnotes Itkin Conversion 8 11-19-2020 07:26 PM
I have a DOCX with footnotes that I wanna turn to pop-up notes in ePub on Kobo Forma droopy ePub 38 05-08-2020 04:46 PM
Footnotes in MS DOCX as Output Format ukie Conversion 18 07-31-2017 05:44 PM
Open HTML or DOCX as new book DiapDealer Editor 2 01-12-2017 06:45 AM
docx conversion and footnotes m4mmon Conversion 8 08-10-2014 09:36 PM


All times are GMT -4. The time now is 06:54 PM.


MobileRead.com is a privately owned, operated and funded community.