![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
|
![]()
Hello ,
Can you help please , i need to link html footnotes in docx i tried to add links with html like this PHP Code:
Code:
ebook-convert html.html html2.docx --docx-no-toc how can i do the trick please ? |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
|
![]()
Any one ,can help please ?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,339
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
html doesnt really have footnotes as such you cant convert them to docx automatically.
|
![]() |
![]() |
![]() |
#4 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,339
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
links in html become links in docx automatically
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2019
Device: none
|
|
![]() |
![]() |
![]() |
#7 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,007
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
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.
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,339
Karma: 27182818
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
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
|
There is a work around for creating "real" docx footnotes from html using LibreOffice. LibreOffice is able to turn links into footnotes if they are properly defined/formatted in the html file.
For instance, importing an html file with this code into LibreOffice <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Footnote Test</title> <meta name="generator" content="LibreOffice 7.5.9.2 (Windows)"/> <style type="text/css"> @page { size: 21cm 29.7cm; margin: 2cm } p { line-height: 115%; margin-bottom: 0.25cm; background: transparent } p.sdfootnote { font-size: 10pt; line-height: 100%; margin-left: 0.6cm; text-indent: -0.6cm; margin-bottom: 0cm; background: transparent } a.sdfootnoteanc { font-size: 57% } </style> </head> <body lang="en-US" link="#000080" vlink="#800000" dir="ltr"> <p align="center" style="line-height: 100%; margin-top: 0.42cm; margin-bottom: 0.21cm; page-break-after: avoid"><font face="Liberation Sans, sans-serif"><font size="6" style="font-size: 28pt"><b>Footnote Test</b></font></font></p> <p style="line-height: 100%; margin-bottom: 0cm"><br/></p> <p style="line-height: 100%; margin-bottom: 0cm">This is a text followed by a footnote.<a class="sdfootnoteanc" name="sdfootnote1anc" href="#sdfootnote1sym"><sup>1</sup></a></p> <div id="sdfootnote1"> <p class="sdfootnote"><a class="sdfootnotesym" name="sdfootnote1sym" href="#sdfootnote1anc">1</a>This is a footnote text.</p> </div> </body> </html> results in "true" footnotes in LibreOffice. This document can then be saved as docx. I did it once used this formatting with over 100 footnotes and it worked perfectly. |
![]() |
![]() |
![]() |
Tags |
footnote, footnotes, htmltodocx |
|
![]() |
||||
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 |