Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2020, 12:53 PM   #106
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The table of contents is created from the list of articles you supply.
kovidgoyal is offline   Reply With Quote
Old 08-30-2020, 06:46 PM   #107
malorezzanzo0578
Junior Member
malorezzanzo0578 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2020
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
The table of contents is created from the list of articles you supply.
Yes, each article is considered as a chapter in the table of contents. Why don't include also the built-in table of contents of each Wikipedia article as sub-chapters?
malorezzanzo0578 is offline   Reply With Quote
Advert
Old 08-30-2020, 09:58 PM   #108
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by malorezzanzo0578 View Post
Yes, each article is considered as a chapter in the table of contents. Why don't include also the built-in table of contents of each Wikipedia article as sub-chapters?
Because, I cant be bothered, patches welcome.
kovidgoyal is offline   Reply With Quote
Old 09-02-2020, 12:26 AM   #109
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 919
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
Quote:
Originally Posted by malorezzanzo0578 View Post
Yes, each article is considered as a chapter in the table of contents. Why don't include also the built-in table of contents of each Wikipedia article as sub-chapters?
If I grab one or two articles, that would be fine.

But if I'm making a book with tens or hundreds of articles, that would be awful. I'd much rather have a TOC of just the articles.

If you want a more detailed TOC, use calibre's existing built in TOC editors to automatically generate one from the headings. That also allows you to control the depth of headings that get added.

There is a toc editor in the epub editor, and the same toc editor (I think) is available directly in calibre, but you might have to edit the menus and icons to add it.
compurandom is offline   Reply With Quote
Old 11-08-2021, 09:05 PM   #110
Moonbase59
Zealot
Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.
 
Moonbase59's Avatar
 
Posts: 111
Karma: 196896
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8"
Out of interest, almost 4½ years later, I tried the example from post #83 (German Wikipedia, "Hexe") again. It seems not to have been resolved, an eBook created with this article is empty/misses it. Why?

Wiki Link: https://de.wikipedia.org/wiki/Hexe

I attach the generated eBook.

Btw, Calibre also

- tags this book as being "English" (instead of "German"), and
- uses English names in Wiki Reader eBooks (like "Article") in spite of my GUI being in German.
Attached Files
File Type: epub Hexe [Di, 09 Nov 2021] - Wikipedia.epub (16.6 KB, 126 views)

Last edited by Moonbase59; 11-08-2021 at 09:10 PM.
Moonbase59 is offline   Reply With Quote
Advert
Old 11-08-2021, 09:15 PM   #111
Moonbase59
Zealot
Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.
 
Moonbase59's Avatar
 
Posts: 111
Karma: 196896
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8"
Sorry, 5-minute edit timeout has passed … I bring this up again because I fear that articles might be "silently left out" when creating books from Wikipedia.
Moonbase59 is offline   Reply With Quote
Old 10-09-2022, 11:14 AM   #112
zmovie
Junior Member
zmovie began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2022
Device: Kindle 5 (2012)
Good plugins, but error report: when I try to use the wiki-book feature (with https://en.wikipedia.org/wiki/User:F...rgan_on_a_ship as an example), I get this error:

Quote:
Fetch article from Wikipedia
Conversion options changed from defaults:
 output_profile: 'kindle'
 verbose: 2
Resolved conversion options
calibre version: 6.6.1
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0,
 'book_producer': None,
 'change_justification': 'original',
 'chapter': None,
 'chapter_mark': 'pagebreak',
 'comments': None,
 'cover': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_compress': False,
 'dont_download_recipe': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'expand_css': False,
 'extra_css': None,
 'extract_to': None,
 'filter_css': None,
 'fix_indents': True,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x7f0fd6974ca0>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0,
 'linearize_tables': False,
 'lrf': False,
 'margin_bottom': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'mobi_file_type': 'old',
 'mobi_ignore_margins': False,
 'mobi_keep_original_images': False,
 'mobi_toc_at_start': False,
 'no_chapters_in_toc': False,
 'no_inline_navbars': True,
 'no_inline_toc': False,
 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x7f0fd6974670>,
 'page_breaks_before': None,
 'personal_doc': '[PDOC]',
 'prefer_author_sort': False,
 'prefer_metadata_cover': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': None,
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': '',
 'search_replace': None,
 'series': None,
 'series_index': None,
 'share_not_sync': False,
 'smarten_punctuation': False,
 'sr1_replace': '',
 'sr1_search': '',
 'sr2_replace': '',
 'sr2_search': '',
 'sr3_replace': '',
 'sr3_search': '',
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'test': False,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'transform_css_rules': None,
 'transform_html_rules': None,
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: Recipe Input running
Using custom recipe
Using user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36
Traceback (most recent call last):
 File "/usr/bin/calibre-parallel", line 21, in <module>
 sys.exit(main())
 File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 215, in main
 result = func(*args, **kwargs)
 File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
 plumber.run()
 File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1108, in run
 self.oeb = self.input_plugin(stream, self.opts,
 File "/usr/lib/calibre/calibre/customize/conversion.py", line 242, in __call__
 ret = self.convert(stream, options, file_ext,
 File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/recipe_input.py", line 138, in convert
 ro.download()
 File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1058, in download
 res = self.build_index()
 File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1238, in build_index
 raise ValueError('No articles found, aborting')
ValueError: No articles found, aborting

zmovie is offline   Reply With Quote
Old 01-07-2023, 09:13 AM   #113
Bryantcore
Junior Member
Bryantcore began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2023
Device: Lenovo Tab 8
Thanks for this plugin. To date I have read about 50 Wikipedia articles thanks to this plugin.

But, I really need an adjustment. I've been going through the Python code but can't find anything. Is there a way to NOT export the hyperlinks to the EPUB?

Thanks again.
Bryantcore is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] EpubSplit JimmXinu Plugins 426 Yesterday 06:46 PM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 AM
[GUI Plugin] Manage Sony x50 Reader Book List kpw Plugins 170 10-02-2014 08:23 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 10:51 AM.


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