Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-31-2010, 01:50 PM   #1
miguel.ossa
voyager
miguel.ossa began at the beginning.
 
miguel.ossa's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2010
Location: Spain
Device: Irex Iliad 2d edition
I want to change output pdf format

Hello,

I'd like to try to develop a patch to adjust margins in output PDF format for my Iliad 2d Edition.

Which files I must consider to study?

Thanks
miguel.ossa is offline   Reply With Quote
Old 08-31-2010, 01:55 PM   #2
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: 25,936
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRS the PDF output plugin supports setting margins anyway.
kovidgoyal is offline   Reply With Quote
Old 08-31-2010, 03:03 PM   #3
miguel.ossa
voyager
miguel.ossa began at the beginning.
 
miguel.ossa's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2010
Location: Spain
Device: Irex Iliad 2d edition
Hi,

My folder 'calibre/src/calibre/pluings' is empty.

I got the source executing 'bzr branch lp:calibre'.

Do I need to download something more?

Thanks in advance
miguel.ossa is offline   Reply With Quote
Old 08-31-2010, 03:15 PM   #4
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: 25,936
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That is not where the plugins are. PDF output plugin is in src/calibre/ebooks/pdf
kovidgoyal is offline   Reply With Quote
Old 08-31-2010, 03:27 PM   #5
miguel.ossa
voyager
miguel.ossa began at the beginning.
 
miguel.ossa's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2010
Location: Spain
Device: Irex Iliad 2d edition
Thanks a lot, kovidgoyal.

Great program, and better assistance.
miguel.ossa is offline   Reply With Quote
Old 09-06-2010, 12:39 PM   #6
miguel.ossa
voyager
miguel.ossa began at the beginning.
 
miguel.ossa's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2010
Location: Spain
Device: Irex Iliad 2d edition
Hello again,

I've found the place to modify just to alter the left and right margins of the output pdf. Also, I found page_setup.ui and page_setup_ui.py, and I've downloaded the Qt Creator. I have this page modified to include left and right margins in the output as well. But, when I execute pyuic4 -o page_setup_ui.py page_setup.ui, I lost the contents of the retranslateUi def. Is that normal?
miguel.ossa is offline   Reply With Quote
Old 09-06-2010, 01:17 PM   #7
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: 25,936
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You shouldn't need to execute pyuic4 if you run calibre using CALIBRE_DEVELOP_FROM calibre automatically compiles changed ui files. If youa re running from source use the command

python setup.py gui

at the top level of the calibre tree.
kovidgoyal is offline   Reply With Quote
Old 09-06-2010, 01:33 PM   #8
miguel.ossa
voyager
miguel.ossa began at the beginning.
 
miguel.ossa's Avatar
 
Posts: 14
Karma: 10
Join Date: Jan 2010
Location: Spain
Device: Irex Iliad 2d edition
Thank you. I will try it.
miguel.ossa is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I force Calibre to request format change on PDF lunixer Calibre 6 08-11-2010 01:00 PM
Change font of header for LRF Output on PRS 505 duckbill Calibre 3 05-15-2010 11:07 AM
Multiple Format Output jim6064 Calibre 4 03-10-2010 01:01 PM
Page Change Speed - PDF vs <insert format> Polydwarf Astak EZReader 1 02-22-2010 02:11 AM
output filename format jdh Calibre 6 08-12-2009 09:35 PM


All times are GMT -4. The time now is 02:36 AM.


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