Commit graph

1019 commits

Author SHA1 Message Date
Charles Haley
c2a25a8bd1 Bug #1921348: English text in code block. Many other cleanup, spelling, and grammar changes. 2021-03-25 13:05:02 +00:00
Charles Haley
b173eb4636 Add field references to the language syntax. $authors is the same as field('authors'). $$pubdate is the same as raw_field('pubdate'). 2021-03-24 12:49:49 +00:00
Kovid Goyal
4ad268224f
Edit book: When right clicking on a class in a HTML file, add an option to rename the class throughout the book 2021-03-24 16:12:02 +05:30
Kovid Goyal
5ba9dbe940
Add a note about uploading large books when reverse proxying with nginx 2021-03-22 09:38:54 +05:30
Kovid Goyal
02aeec9234
Merge branch 'patch-1' of https://github.com/0verk1ll/calibre 2021-03-20 20:16:09 +05:30
overkill
1aca333f16
Added Explicit Semicolon
This is to address a recommendation from LGTM (https://lgtm.com/projects/g/kovidgoyal/calibre/?mode=tree&severity=recommendation&ruleFocus=4860080).
2021-03-20 10:33:02 -04:00
Kovid Goyal
dee2b114c0
... 2021-03-20 19:20:57 +05:30
Kovid Goyal
8b4d27a75b
... 2021-03-16 18:17:27 +05:30
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
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