Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-29-2010, 11:07 AM   #1
cyberlp23
Junior Member
cyberlp23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2009
Device: none
How to create presets?

Is it possible to create customized presets in Calibre so that you can choose preset convertion options when you convert a new document?

Thanks!
cyberlp23 is offline   Reply With Quote
Old 12-29-2010, 12:00 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: 45,162
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
gave multiple conversion subdirectories in the calibre config directory and switch them. Search this forum, I have explained how to do that before.
kovidgoyal is online now   Reply With Quote
Advert
Old 12-29-2010, 12:18 PM   #3
cyberlp23
Junior Member
cyberlp23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2009
Device: none
Yes I've searched but couldn't find anything. Do you have the link to the former post about presets?

Thanks.
cyberlp23 is offline   Reply With Quote
Old 12-29-2010, 10:37 PM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by cyberlp23 View Post
Is it possible to create customized presets in Calibre so that you can choose preset convertion options when you convert a new document?
What is your goal?

We all have one preset based on the master settings in Preferences. This preset is in the configuration directory. You can create and use several different configuration directories.

Start calibre and change the master settings in your configuration, exit calibre, copy this config directory, change the copied directory name to reflect your preset. Start calibre and repeat until you have as many preset configuration directories as needed.

Now to use a preset you have to start calibre pointing to the preset configuration directory of your choice. I use the below batch file, which is a subset of the calibre-portable.bat file described here and supplied with calibre.

Code:
@echo OFF
REM        CalibreRun.bat
REM        ~~~~~~~~~~~~~~
REM
REM Batch File to start a Calibre configuration on Windows
REM giving explicit control of the location of:

REM  - Calibre Config Files

REM Specify the location of the Calibre Config files
REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SET CALIBRE_CONFIG_DIRECTORY=C:\My Dropbox\Config_Preset_1

REM Location of calibre program files
REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:
CD \Program Files\Calibre2

REM Display settings that will be used
REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

echo CONFIG=%CALIBRE_CONFIG_DIRECTORY%

REM  The following gives a chance to check the settings before
REM  starting Calibre.  It can be commented out if not wanted.

echo "Press CTRL-C if you do not want to continue"
pause

REM Start up the calibre program.
REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
REM

start calibre.exe
Create multiple batch files (named for each preset) for starting calibre based on the the conversions you're working with.

Personally the single master configuration is enough for my limited needs.
DoctorOhh is offline   Reply With Quote
Old 12-30-2010, 03:17 AM   #5
cyberlp23
Junior Member
cyberlp23 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2009
Device: none
Wow this sounds awfully complicated for someone who isn't a computer scientist

My goal is simple: I have to convert to ePub several documents from multiples formats (some from PDF files, some XHTML files...), and for some of them I need special conversion configuration (for instance, for all the XHTML files I want to add CSS lines).

And I just can't loose the time to reset every single parameter, rewrite the customized CSS, etc. for every book I need to convert!

So isn't there a simple way to select a preset from a list of customized preset, with preconfigured conversion parameters?

Many thanks!
cyberlp23 is offline   Reply With Quote
Advert
Old 12-30-2010, 03:38 AM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by cyberlp23 View Post
So isn't there a simple way to select a preset from a list of customized preset, with preconfigured conversion parameters?
Not that I'm aware of, but folks here constantly surprise me with alternative ways to do things.
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't create a new collection VICROAMER Amazon Kindle 2 12-12-2010 02:41 AM
Do you know how to create a poll? Ben Thornton Lounge 8 02-22-2010 06:46 PM
Create a collection ProDigit Sony Reader 27 12-28-2008 11:15 AM
Can I Create New Content? BRubble Sony Reader 3 02-20-2008 10:36 AM


All times are GMT -4. The time now is 03:33 AM.


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