1261 Commits

Author SHA1 Message Date
Kovid Goyal
8ef1ef8ede
string changes 2021-03-16 17:16:12 +05:30
Kovid Goyal
de1dfc28e5
string changes 2021-03-16 12:02:01 +05:30
Charles Haley
4b67f7cc1d Template language manual improvements. 2021-03-15 13:24:41 +00:00
Kovid Goyal
0d9845fe0c
string changes 2021-03-11 21:48:10 +05:30
Kovid Goyal
7b77ab672b
String changes 2021-03-10 18:22:27 +05:30
Kovid Goyal
cbd1c42865
E-book viewer: Allow using shift+click to extend selections. Fixes #1918251 [E-book viewer selection broken](https://bugs.launchpad.net/calibre/+bug/1918251) 2021-03-10 13:19:35 +05:30
Kovid Goyal
baa6524c0f
string changes 2021-03-10 10:28:20 +05:30
Kovid Goyal
3a361db030
string changes 2021-03-10 10:23:13 +05:30
Kovid Goyal
4f8bdb3f52
Update outdated documentation
There is no adjust selection button anymore
2021-03-09 14:26:09 +05:30
Kovid Goyal
e57e255d3a
Fix #1918153 [[Enhancement] Remember language when going to the calibre homepage from the User Manual](https://bugs.launchpad.net/calibre/+bug/1918153) 2021-03-09 11:50:39 +05:30
Kovid Goyal
5aec473530
string changes 2021-03-09 09:19:56 +05:30
Charles Haley
9b4df77da5 More template language documentation improvements. 2021-03-08 15:16:13 +00:00
Kovid Goyal
54c56b9d0e
String changes 2021-03-08 17:08:16 +05:30
Charles Haley
bde8cd5e65 1) Fix regression in template language: at some point in V5 the template language was changed to disallow using an expression_list as a parameter. This was allowed in previous major revisions.
2) Allow expression lists in parameterized expressions.
3) Correct the grammar in the documentation.
2021-03-07 11:01:50 +00:00
Kovid Goyal
661d5a5278
String changes 2021-03-06 19:54:17 +05:30
Kovid Goyal
c854a7b670
string changes 2021-03-05 22:18:23 +05:30
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