Bug 157110 - Endnotes -- export endnotes, "send endnotes to clipboard", "select all endnotes"...
Summary: Endnotes -- export endnotes, "send endnotes to clipboard", "select all endnot...
Status: RESOLVED DUPLICATE of bug 99096
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Footnote-Endnote
  Show dependency treegraph
 
Reported: 2023-09-06 06:52 UTC by peter josvai
Modified: 2024-01-03 16:16 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter josvai 2023-09-06 06:52:39 UTC
Hi, 

It would be extremely useful for writers if Writer could
export the endnotes... (and later even the footnotes as endnotes),
cause during the creation of the text, when deleting some part of the text, we might lose the endnotes which we have already put there... not only as print-ready endnotes but rather as the sketches to those...  


Endnotes are extremely hard to "edit" in Writer...
extremely hard to get them, to start with...
and once you get them, using quirks mode technique, you'll find roman numbers everywhere...

Endnotes are substantial parts of the text, 
and writers should be able to "touch" it :) To edit it, to save it, 
to export it, etc, etc...

This could be the beginning of something new...



- - -  thank you for developing Writer - - -
Comment 1 Dieter 2023-09-24 15:24:24 UTC
Peter, thank you for your suggestion. Could you please specify "export"?
=> NEEDINFO
Comment 2 peter josvai 2023-12-30 12:12:55 UTC
hi, Dieter!

By "export" I mean "create an ODT / HTML / TXT pasteable document of" the endnotes...
As if saying: "Copy endnotes", which you could then paste...
Creating a document of the endnotes would be almost the same thing.


Just like in the case of "send outline to clipboard"...
it can be pasted into an ODT document...

FOR EXAMPLE:

Imagine "The brown fox* was pretty quick at grabbing* the chickens."

and imagine numbers instead of the * ...

and the consequent entries in the endnote section:

1. fox: that animal we all know
2. to grab: take, catch, snatch


Now, right click in the endnote section / or go "File / Send / "Send endnote to clipboard"...

and the endnotes could be pasted in a new document :

1. fox: that animal we all know
2. to grab: take, catch, snatch


/\/\/\/\/\/\/\ explanation:

It is next to impossible to get the endnotes "out" of a text.. unless you're willing to deal with roman numerals... AND copy-pasting into an HTML editor like  tinymce...
Comment 3 peter josvai 2023-12-30 13:33:07 UTC
PS:

"Extracting the endnotes" out of a document is NOT that difficult in the end...

One: "brute force" way is to print the file to PDF, starting at the first endnote page... then copy paste...

Two: copy pasting it into tinymce actually gives you pretty good results...

That brown fox example will produce the following:

// HTML CODE:

<div id="sdendnote1">
<p class="sdendnote-western"><a class="sdendnotesym" href="#sdendnote1anc" name="sdendnote1sym">i</a>fox: that animal we all know</p>
</div>
<div id="sdendnote2">
<p class="sdendnote-western"><a class="sdendnotesym" href="#sdendnote2anc" name="sdendnote2sym">ii</a>to grab: take, catch, snatch</p>
</div>

// HTML CODE end


The div ids make it easily parseable...


/\/\/\/\/\/\/\/\

PS:  But why is it necessary at all to get the endnotes "out" of a book? :)

Because (for various reasons) endnotes of a paper book should be published online... not printed in the book itself...
Even the endnotes of an ebook can be way better accessed and browsed if they are published online... in a web page... as HTML5 ..
Comment 4 Dieter 2024-01-03 16:16:09 UTC
Thank you for further explanations. Now it's clear to me. But it sounds to me like a duplicate or at least a variant of bug 99096. Might be more helpful to add a comment there. Feeld free to change it back to UNCONFIRMED with a short resoning, if you disagree.

*** This bug has been marked as a duplicate of bug 99096 ***