Calibre - formátovanie textových dokumentov

Odpovědět
ygy
Starý pes fóra :)
Starý pes fóra :)
Příspěvky: 1802
Registrován: stř srp 06, 2008 12:04 am

Calibre - formátovanie textových dokumentov

Příspěvek od ygy »

prosím vś práve som dostal typ na tento program kde si môžem formátovať trebárs veci do epub formátu .

stiahnem nejakú knihu, vložím do programu, doplním údaje o knihe a dám formátovať a vždy mi vyskočí chybová hláška.
skúšal som konvertovať čisto čiste to čo som stiahol ale nič nepomohlo a hláška sa stále zobrazuje ... je nutné v programe ešte niečo ponastavovať aby to fičalo alebo kde je problém ?

poprípade viete mi dať nejaký typ na dobrý program na formátovanie textov ?

Peko00001
Mírně pokročilý
Mírně pokročilý
Příspěvky: 164
Registrován: pát zář 12, 2008 2:36 pm

Re: Calibre - formátovanie textových dokumentov

Příspěvek od Peko00001 »

calibre je podla mna najlepsi. Ja normalne vlozim dokument a dam konvertovat a vsetko prebehne vzdy O.K.
Skus preinstalovat pripadne skus prerobit napr. PDF ci ti to bude robit aj pri inom formate

ygy
Starý pes fóra :)
Starý pes fóra :)
Příspěvky: 1802
Registrován: stř srp 06, 2008 12:04 am

Re: Calibre - formátovanie textových dokumentov

Příspěvek od ygy »

práve som skúsi preformátovať dokument do PDF a všetko prebehlo v poriadku, následne som zase vyskúšal export do EPuba a znova mi vyskočila chyvová hláška... nemám absolútne potuchy prečo to nejde . tu je výpis chyby ...
ERROR: Chyba převodu: <b>Failed</b>: Převod knihy 1 z 1 (S polovníickej kapsy)

Převod knihy 1 z 1 (S polovníickej kapsy)
Resolved conversion options
calibre version: 0.6.55
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)',
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)',
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x63da3b0>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markdown': False,
'markdown_disable_toc': False,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x63da590>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preprocess_html': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'print_formatted_paras': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/var/folders/ax/axMVAzNtGJaau-fYJ9FNck+++TI/-Tmp-/calibre_0.6.55__SQZTM.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'single_line_paras': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: TXT Input running
on /Users/macbook/Desktop/knihy/Rudo Moric/S polovniickej kapsy (15)/S polovniickej kapsy - Rudo Moric.txt
Reading text from file...
InputFormatPlugin: HTML Input running
on /Users/macbook/Desktop/knihy/Rudo Moric/S polovniickej kapsy (15)/temp_calibre_txt_input_to_html.html
Language not specified
Creator not specified
Title not specified
Building file list...
Found files...
HTMLFile:0:a:/Users/macbook/Desktop/knihy/Rudo Moric/S polovniickej kapsy (15)/temp_calibre_txt_input_to_html.html
Normalizing filename cases
Rewriting HTML links
Parsing temp_calibre_txt_input_to_html.html ...
Initial parse failed:
Traceback (most recent call last):
File "site-packages/calibre/ebooks/oeb/base.py", line 814, in first_pass
File "lxml.etree.pyx", line 2532, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48270)
File "parser.pxi", line 1545, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:71812)
File "parser.pxi", line 1417, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:70608)
File "parser.pxi", line 898, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:67148)
File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63824)
File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64745)
File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088)
XMLSyntaxError: input conversion failed due to input error, bytes 0x9A 0xD9 0xFD 0xFF

Parsing file 'temp_calibre_txt_input_to_html.html' as HTML
Forcing temp_calibre_txt_input_to_html.html into XHTML namespace
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Creating EPUB Output...
Looking for large trees in temp_calibre_txt_input_to_html.html...
Found large tree #0
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[49]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[48]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[50]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[47]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[51]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[46]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[52]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[45]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[53]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[44]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[54]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[43]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[55]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[42]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[56]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[41]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[57]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[40]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[58]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[39]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[59]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[38]
Split tree still too large: 539 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[5]/*[60]



a to som ešte vééla vymazal lebo sa to nezmestilo do správy :cry:

viete mi niekto pomôcť ? prípade iný conventor ?

Peko00001
Mírně pokročilý
Mírně pokročilý
Příspěvky: 164
Registrován: pát zář 12, 2008 2:36 pm

Re: Calibre - formátovanie textových dokumentov

Příspěvek od Peko00001 »

je jasne ze by to nemalo robit. skus odinstalovat Calibre. Potom daj opravit disk ale s instalacneho DVD a potom nainstalovat najnovsiu verziu Calibre.

ygy
Starý pes fóra :)
Starý pes fóra :)
Příspěvky: 1802
Registrován: stř srp 06, 2008 12:04 am

Re: Calibre - formátovanie textových dokumentov

Příspěvek od ygy »

takže som šťastný ako blcha lebo to konečne ide :D

2x som to preinštalovával a opravoval disk a bohužial nepomohlo. ale keď som dal dokument konvertovať do ebup tak to hodilo chybu , ale keď som dal txt dokument do pdf tak to ślo v poho. tak som vyskúšal pdf do epub . voalá a ideto :D
takže každému komu by hádzalo teno error tak najskvôr formátujte do pdf a následne do epub :wink:

Odpovědět