View Single Post
Old 06-04-2013, 06:53 AM   #15
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by darkul View Post
Ah, ok, maybe that's not working at all if I enter it in the wrong windows, though to me this seems illogical. Why is there a posibility to add GPMs in "Template functions" if it is not compiling ok?

Under Preferences - Template functions
Though window looks different.
User-defined template functions are not GPM templates. They are real python programs that are used to create new GPM functions. You would use them to add new functionality to the template language. For example, some people have used them to parse annotations from books to get the percentage of the book read.

You enter GPM templates in any box that can accept a "{ ... }" style template, such as for save-to-disk or send-to-device, or when creating or editing composite custom columns.
chaley is offline   Reply With Quote