Commit graph

995 commits

Author SHA1 Message Date
Charles Haley
5531796d40 Improvements to the template documentation 2021-03-05 14:38:57 +00:00
Kovid Goyal
f7d80b53e6
string changes 2021-03-05 17:03:59 +05:30
Kovid Goyal
b3a485b3ea
String changes 2021-03-05 09:13:26 +05:30
Kovid Goyal
8b21a04a2f
Clarify location of html to zip plugin 2021-03-04 21:13:12 +05:30
Kovid Goyal
2a0c6c2d6b
Dont use a custom LaTeX builder
Since we no longer need Cyrillic text, we dont need a custom builder.
And apparently sphinx breaks with a custom latex builder. See https://github.com/sphinx-doc/sphinx/issues/8936
2021-03-04 21:08:26 +05:30
Kovid Goyal
3b79e215e8
Port most remaining references to PyQt5 2021-03-01 16:22:00 +05:30
Kovid Goyal
ee84e52b44
string changes 2021-02-28 22:05:16 +05:30
Charles Haley
13732b15d8 Rewrite much of the template language manual document.
The commit on 27 Feb isn't good. The manual page should be regenerated from this commit.
2021-02-28 16:13:55 +00:00
Kovid Goyal
758df1e758
Move generation of dynamic rst files to setup() rather than an event callback 2021-02-28 20:15:20 +05:30
Kovid Goyal
9457085fc8
Remove no longer needed monkeypatch 2021-02-28 19:59:49 +05:30
Kovid Goyal
86b26119f0
Get rid of the workaround for cyrillic in the manual latex builder by not using a cyrillic example 2021-02-28 19:45:58 +05:30
Kovid Goyal
d003a61ebe
Sadly the better fix did not work
so go back to mokeypatching
2021-02-28 19:13:11 +05:30
Kovid Goyal
406838dc7d
Better fix for sphinx latex breakage 2021-02-28 13:26:01 +05:30
Kovid Goyal
a0564ea47d
Fix sphinx warnings 2021-02-28 13:13:25 +05:30
Kovid Goyal
0be56041fb
Workaround for bug in newer versions of sphinx
See https://github.com/sphinx-doc/sphinx/issues/8936
2021-02-28 13:03:10 +05:30
Charles Haley
ac9c9d6ab5 Various improvements:
1) Changes to the template program language discussed in https://www.mobileread.com/forums/showthread.php?t=337668
2) General improvement of the template documentation, including documentation of the above changes. I looked at the changes using a markdown interpreter, but there might be problems exposed by generation of the web page.
3) Focus the program text box when opening the template dialog
4) Small changes to non-built-in template functions to improve performance
2021-02-27 14:20:10 +00:00
Charles Haley
7a18631b8f Improvement to template function raw_field: an optional second argument providing the default if the field is None. 2021-02-25 16:04:56 +00:00
Kovid Goyal
36ffc2b3cf
String changes 2021-02-25 12:20:57 +05:30
Kovid Goyal
d5cb3aa7c0
String changes 2021-02-25 07:28:16 +05:30
Charles Haley
a3c8793c6a Template language improvements:
1) added the infix compare operator 'in'. Usage: pattern in expression.
2) added the template function list_count_matching()
3) documentation for the above.
2021-02-23 10:14:20 +00:00
Charles Haley
a12165e01b Template language changes:
1) add the possibility to specify a separator in a for statement.
2) add the template function list_remove_duplicates()
2021-02-22 11:43:19 +00:00
Charles Haley
8fbb8df75c Add a new template function set_globals() that sets key:value pairs in the globals dict. Also slightly improve template language documentation. 2021-02-18 16:03:45 +00:00
Charles Haley
1af28bd3ba Add template function 'is_marked()' 2021-02-17 14:43:42 +00:00
Kovid Goyal
0de82426ff
Sphinx: Replace use of deprecated css_files 2021-02-15 04:37:09 +05:30
Charles Haley
fb2f184958 Two changes:
1) Add the alias "list_contains" to the "in_list" function so that naming is more consistent.
2) Add composite categories to valid grouped searches.
2021-02-13 13:08:27 +00:00
Kovid Goyal
a5308d1dc7
... 2021-02-07 12:24:05 +05:30
Kovid Goyal
7b52611fdd
Edit book: Allow Ctrl-clicking on class names to jump to the first style rule that matches the tag and class 2021-02-07 12:22:19 +05:30
Kovid Goyal
a18806490c
... 2021-02-05 12:28:55 +05:30
Kovid Goyal
ccc0b2bf05
Update email FAQ with info about Amazon's latest shenanigans 2021-02-05 12:27:47 +05:30
Kovid Goyal
6ee1c3d10c
... 2021-01-26 18:21:57 +05:30
Kovid Goyal
da53430e77
E-book viewer: Redesign the reference mode to also work on touch screens without a mouse. Now in reference mode paragraph numbers are displayed for all paragraphs 2021-01-26 09:46:18 +05:30
Kovid Goyal
905abd3680
Add instructions for additional voice installation on Windows 2021-01-20 08:18:08 +05:30
Kovid Goyal
54d57c6748
Add support for the CB7 comic file file format
Fixes #1912212 [Add support for CB7 and CBA file format](https://bugs.launchpad.net/calibre/+bug/1912212)
2021-01-19 13:33:45 +05:30
Charles Haley
cfbff3d98f New template function: field_exists() 2021-01-17 13:56:55 +00:00
Charles Haley
b7c4fcd711 Enhancement: allow template functions add() and multiply() to take a variable number of arguments. 2021-01-17 13:56:28 +00:00
Kovid Goyal
9546557ec9
String changes 2021-01-17 05:46:35 +05:30
Kovid Goyal
b2bd85b507
string changes 2021-01-16 19:17:02 +05:30
Kovid Goyal
02af069255
Add a FAQ entry about viewer not working 2021-01-16 07:42:05 +05:30
Kovid Goyal
312754acb6
String changes 2021-01-10 07:39:50 +05:30
Kovid Goyal
d457997830
String changes 2021-01-06 14:08:10 +05:30
Kovid Goyal
a30d4be28d
Merge branch 'patch-1' of https://github.com/madphysicist/calibre 2021-01-06 08:34:05 +05:30
Joseph Fox-Rabinovitz
b62dee010a
wrapping 2021-01-05 16:20:19 -06:00
Joseph Fox-Rabinovitz
487a598d29
Fixed resource leak in HelloWorld plugin? 2021-01-05 16:02:52 -06:00
Joseph Fox-Rabinovitz
8da7110fc8
Punctuation, wrapping 2021-01-05 15:55:18 -06:00
Joseph Fox-Rabinovitz
0b4c130126
More wrapping and punctuation
Why is the long XPATH expression being wrapped in the output?
2021-01-05 13:26:06 -06:00
Joseph Fox-Rabinovitz
6912bec1c9
Line wrap and typo 2021-01-05 12:26:36 -06:00
Joseph Fox-Rabinovitz
937412a306
Typo in manual 2021-01-05 11:59:12 -06:00
Kovid Goyal
2528bd58af
String changes 2021-01-05 10:02:13 +05:30
Charles Haley
746ae8e37a Add new template function list_split. Fix python 3 imcompatibility getting source code from the built-in functions class. 2021-01-03 11:13:59 +00:00
Kovid Goyal
f51d169f55
... 2020-12-28 08:53:23 +05:30
Kovid Goyal
f80e1853ac
Remove obsolete entry in FAQ 2020-12-26 09:49:53 +05:30
Kovid Goyal
1e123e35cf
manual formatting 2020-12-24 09:58:26 +05:30
Charles Haley
da52fa1655 Template language: add function connected_device_uuid 2020-12-22 14:44:17 +00:00
Kovid Goyal
4daf63fca1
String changes 2020-12-22 12:47:40 +05:30
Charles Haley
dff123fc0f Template/formatter enhancements:
1) Added a 'for' statement
2) Added the ability for a developer to pass a dict of extra information to a template.
2020-12-19 09:46:41 +00:00
Kovid Goyal
7c5f4bd48b
String changes 2020-12-18 17:31:46 +05:30
Kovid Goyal
08cafd1de0
String changes 2020-12-17 22:35:04 +05:30
Kovid Goyal
843a317334
Viewer: Add a mode to follow links with only the keyboard 2020-12-16 08:25:05 +05:30
Kovid Goyal
5203651af1
Dont use a binary for building translations 2020-12-15 19:14:29 +05:30
Kovid Goyal
a8359d83c0
Fix translations build on CI missing docstrings 2020-12-13 20:58:30 +05:30
Kovid Goyal
c683535752
... 2020-12-12 10:02:16 +05:30
Kovid Goyal
88b3ef9b5f
Add a note about limitations of browsers 2020-12-11 08:07:05 +05:30
Kovid Goyal
dc5300be83
String changes 2020-12-11 07:10:08 +05:30
Kovid Goyal
08d7840d21
Document the read aloud function 2020-12-10 22:12:30 +05:30
Kovid Goyal
fe45cb1111
String changes 2020-12-09 08:03:10 +05:30
Kovid Goyal
129a18d2c3
String changes 2020-12-04 05:42:41 +05:30
Kovid Goyal
a30291c1ae
String changes 2020-11-28 18:56:24 +05:30
Kovid Goyal
91306f57d0
String changes 2020-11-28 14:42:08 +05:30
Kovid Goyal
197ec8c441
Better fix for static top nav bar
Use CSS grids. The earlier solution caused links to go to slightly
incorrect positions.
2020-11-27 13:21:51 +05:30
Kovid Goyal
2e6f0e7a59
Update The BBC 2020-11-26 12:30:46 +05:30
Kovid Goyal
803c4c5221
Add notes on how to enerate calibre:// URLs 2020-11-24 17:30:56 +05:30
Kovid Goyal
a5a26bbe7a
Keep top-bar visible
Fixes #1905191 [[Enhancement] Always keep the controls visible in the User Manual](https://bugs.launchpad.net/calibre/+bug/1905191)
2020-11-24 13:41:35 +05:30
Kovid Goyal
b9209c4f3f
Fix list bullets going out of containers in narrow mode 2020-11-24 13:30:30 +05:30
Kovid Goyal
8bc68e8375
Top bar should not be displayed in narrow mode 2020-11-24 13:25:34 +05:30
Kovid Goyal
b5cf33145a
fix horizontal scrollbar when screen is less than 940px 2020-11-24 13:22:54 +05:30
Kovid Goyal
5a96856d68
Fix custom css file not being included 2020-11-24 13:17:27 +05:30
Kovid Goyal
a4c89efcb0
fix indentation 2020-11-24 12:32:10 +05:30
Kovid Goyal
c59f1cd242
string changes 2020-11-24 08:43:53 +05:30
Kovid Goyal
65dab30656
Allow copying the current search as a calibre:// URL by right clicking the search box 2020-11-23 18:02:19 +05:30
Kovid Goyal
ecb1ea36f8
String changes 2020-11-22 21:11:19 +05:30
Kovid Goyal
2caa7e08ba
String changes 2020-11-22 16:00:54 +05:30
Kovid Goyal
7ebfb0f248
Allow controlling the Virtual library with calibre://search URLs 2020-11-22 11:48:43 +05:30
Kovid Goyal
80aaffa6ef
String changes 2020-11-22 09:22:44 +05:30
Kovid Goyal
dc3a3a9abc
Fix incorrect copy/paste of freestar tag 2020-11-19 10:22:24 +05:30
Kovid Goyal
6f34100ca7
String changes 2020-11-17 14:24:56 +05:30
Kovid Goyal
1dd04b97c3
Migrate to FreeStart 2020-11-17 07:24:33 +05:30
Kovid Goyal
77259de1b0
String changes 2020-11-15 14:16:25 +05:30
Kovid Goyal
0559c50d6e
More verbiage 2020-11-12 11:51:20 +05:30
Kovid Goyal
fe9ed4c8ef
Add support for searching via the calibre:// URL scheme 2020-11-12 11:26:37 +05:30
Kovid Goyal
e11b6ef0b3
Move URL scheme handler docs into its own document 2020-11-12 10:58:30 +05:30
Kovid Goyal
1074d026db
Add documentation for the calibre:// URL scheme 2020-11-12 10:35:11 +05:30
Kovid Goyal
df3fc1eba1
String changes 2020-11-11 10:29:57 +05:30
Kovid Goyal
dc53a3087e
Update link to libreoffice extensions repository 2020-11-09 12:57:01 +05:30
Kovid Goyal
05ad3f3970
Add a CMP to the manual 2020-11-09 10:20:25 +05:30
Kovid Goyal
390109c82b
String changes 2020-10-30 22:08:56 +05:30
Charles Haley
38055729c8 Fix bug 1900316: Rewrite example in documentation for translations. 2020-10-18 12:27:31 +01:00
Kovid Goyal
8849f5adec
String changes 2020-10-17 13:45:23 +05:30
Charles Haley
794ed146af Minor cleanups of the template documentation 2020-10-16 08:42:01 +01:00
Kovid Goyal
ebf3937628
... 2020-10-16 07:34:00 +05:30
Charles Haley
3b096ca3ff Updates and cleanups of the template documentation.
I don't know if I got the formatting right. In particular I moved the function reference to the end, which I hope doesn't break anything.
2020-10-15 18:55:04 +01:00