home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_2972 < prev    next >
Encoding:
Text File  |  2010-08-05  |  3.6 KB  |  83 lines

  1. #!/usr/bin/env python
  2. # vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
  3. __license__   = 'GPL v3'
  4. __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>'
  5. __docformat__ = 'restructuredtext en'
  6.  
  7. '''
  8. Contains various tweaks that affect calibre behavior. Only edit this file if
  9. you know what you are dong. If you delete this file, it will be recreated from
  10. defaults.
  11. '''
  12.  
  13.  
  14. # The algorithm used to assign a new book in an existing series a series number.
  15. # Possible values are:
  16. # next - Next available number
  17. # const - Assign the number 1 always
  18. series_index_auto_increment = 'next'
  19.  
  20.  
  21.  
  22. # The algorithm used to copy author to author_sort
  23. # Possible values are:
  24. #  invert: use "fn ln" -> "ln, fn" (the original algorithm)
  25. #  copy  : copy author to author_sort without modification
  26. #  comma : use 'copy' if there is a ',' in the name, otherwise use 'invert'
  27. author_sort_copy_method = 'invert'
  28.  
  29.  
  30. # Set whether boolean custom columns are two- or three-valued.
  31. #  Two-values for true booleans
  32. #  three-values for yes/no/unknown
  33. # Set to 'yes' for three-values, 'no' for two-values
  34. bool_custom_columns_are_tristate = 'yes'
  35.  
  36.  
  37. # Provide a set of columns to be sorted on when calibre starts
  38. #  The argument is None if saved sort history is to be used
  39. #  otherwise it is a list of column,order pairs. Column is the
  40. #  lookup/search name, found using the tooltip for the column
  41. #  Order is 0 for ascending, 1 for descending
  42. # For example, set it to [('authors',0),('title',0)] to sort by
  43. # title within authors.
  44. sort_columns_at_startup = None
  45.  
  46. # Format to be used for publication date
  47. #  A string controlling how the publication date is displayed in the GUI
  48. #  d    the day as number without a leading zero (1 to 31)
  49. #  dd    the day as number with a leading zero (01 to 31)
  50. #  ddd    the abbreviated localized day name (e.g. 'Mon' to 'Sun').
  51. #  dddd    the long localized day name (e.g. 'Monday' to 'Qt::Sunday').
  52. #  M    the month as number without a leading zero (1-12)
  53. #  MM    the month as number with a leading zero (01-12)
  54. #  MMM    the abbreviated localized month name (e.g. 'Jan' to 'Dec').
  55. #  MMMM    the long localized month name (e.g. 'January' to 'December').
  56. #  yy    the year as two digit number (00-99)
  57. #  yyyy    the year as four digit number
  58. #  For example, given the date of 9 Jan 2010, the following formats show
  59. #  MMM yyyy ==> Jan 2010    yyyy ==> 2010       dd MMM yyyy ==> 09 Jan 2010
  60. #  MM/yyyy ==> 01/2010      d/M/yy ==> 9/1/10   yy ==> 10
  61. # default if not set: MMM yyyy
  62. gui_pubdate_display_format = 'MMM yyyy'
  63.  
  64. # Control title and series sorting in the library view.
  65. # If set to 'library_order', Leading articles such as The and A will be ignored.
  66. # If set to 'strictly_alphabetic', the titles will be sorted without processing
  67. # For example, with library_order, The Client will sort under 'C'. With
  68. # strictly_alphabetic, the book will sort under 'T'.
  69. # This flag affects Calibre's library display. It has no effect on devices. In
  70. # addition, titles for books added before changing the flag will retain their
  71. # order until the title is edited. Double-clicking on a title and hitting return
  72. # without changing anything is sufficient to change the sort.
  73. title_series_sorting = 'library_order'
  74.  
  75. # Control how title and series names are formatted when saving to disk/sending
  76. # to device. If set to library_order, leading articles such as The and A will
  77. # be put at the end
  78. # If set to 'strictly_alphabetic', the titles will be sorted without processing
  79. # For example, with library_order, "The Client" will become "Client, The". With
  80. # strictly_alphabetic, it would remain "The Client".
  81. save_template_title_series_sorting = 'library_order'
  82.  
  83.