![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() Posts: 6
Karma: 444
Join Date: May 2011
Device: OYO
|
![]()
Hi,
I'm thinking about creating a Output Plugin. Either LaTeX(z) or txt2tags(z). The background: If I have a badly converted pdf I convert it to htmlz and convert the html to txt2tags and then back to html which is the input for calibre to convert it to epub. Another benefit would be to use txt2tags to generate other output such as LaTeX. Sometimes I want to print an epub… The conversation to pdf is dissatisfying for that purpose IMO. That's why I'm thinking about making an LaTeX output. My questions: 1. Are the plugins interesting for the public - if not I'll use htmlz and my Perl Parser. 2. If the plugins are interesing, what do I need to know to develop this plugins? Do I need to know Python or can I use other Languages and work with an API? Thanks Bastian |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Plugins are definitely of interest as once they are developed they can extend Calibre basic functionality and are then usable even by inexperienced users.
If you are developing for Calibre you really want to use Python. Setting up a calibre development envionment is extremely easy. In crude terms it simply invloves getting the Calibre source and then setting the CALIBRE_DEVELO_FROM environment variable to point to the source. Once that nis doen starting calibre runs from the downloaded source. This is covered in the Calibre documentation. Python as a language is very easy to pick up if you have any programming experience. It would also have the advantage that the existing source for the plugins for other formats would provide useful starting points and code that can be referenced. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
I don't know if I qualify as "public", but I'd be interested in a LaTeX plugin. It would have to be done correctly, though, so \include, \input and graphics should be collected into, say, a ZIP file like for HTML or something similar. It would be very nice if math were to be rendered as to be legible in, say, ePub output- that would save me a ton of paper for proofreading printouts and such.
|
![]() |
![]() |
![]() |
#4 | ||
Junior Member
![]() ![]() ![]() ![]() ![]() Posts: 6
Karma: 444
Join Date: May 2011
Device: OYO
|
Quote:
But you don't need an input plugin for LaTeX, this is IMHO an absurd to do… There is nothing better then TeX4ht. You should use html as output or odt. But you have a point. Maybe I do a tutorial which cover this. Quote:
I think I overwork my Perlscript's and post them here. If there are enough interest, I'll do a Plugin (I don't know anything 'bout Python ![]() Last edited by Lebewesen; 11-22-2011 at 01:10 PM. Reason: Spelling mistake |
||
![]() |
![]() |
![]() |
Tags |
calibre, latex, output plugin, txt2tags |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New MOBI output plugin, testing needed | kovidgoyal | Conversion | 30 | 11-19-2011 05:52 PM |
AZW Conversion Output Plugin | tylau0 | Plugins | 59 | 08-14-2011 11:36 PM |
can calibre creat a TOC by reading numerals as chapter marks | p3aul | Calibre | 7 | 10-04-2010 05:18 AM |
Hacks Creat your own document. | jgumphress | Amazon Kindle | 5 | 09-11-2010 03:55 PM |
Firmware Update How to creat update file for Kindle 1st? | michaelyzy | Amazon Kindle | 0 | 04-21-2010 10:04 PM |