![]() |
#1 |
voyager
![]() 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 |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,032
Karma: 27109760
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRS the PDF output plugin supports setting margins anyway.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
voyager
![]() 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 |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,032
Karma: 27109760
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
|
![]() |
![]() |
![]() |
#5 |
voyager
![]() Posts: 14
Karma: 10
Join Date: Jan 2010
Location: Spain
Device: Irex Iliad 2d edition
|
Thanks a lot, kovidgoyal.
Great program, and better assistance. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
voyager
![]() 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? |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,032
Karma: 27109760
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. |
![]() |
![]() |
![]() |
#8 |
voyager
![]() Posts: 14
Karma: 10
Join Date: Jan 2010
Location: Spain
Device: Irex Iliad 2d edition
|
Thank you. I will try it.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |