Commit Graph

62 Commits

Author SHA1 Message Date
James-Yu
24b1ea124a Unified viewer dropdown menu style 2018-11-12 12:32:19 +08:00
Takashi Tamura
f8d6272230 minor edit 2018-11-05 14:24:30 +09:00
Takashi Tamura
97d53a0885 use setTimeout for workaround 2018-11-04 12:04:40 +09:00
Takashi Tamura
a8bd648da1 use MutationObserver to trim 2018-11-04 09:43:57 +09:00
Takashi Tamura
89eecb5cad minor edit 2018-11-04 00:58:20 +09:00
Takashi Tamura
f97f6308b9 refactoring trim mode 2018-11-04 00:12:26 +09:00
James Yu
0410d35874
Merge pull request #939 from tamuratak/fix_toolbar
Fix toolbar
2018-11-02 11:23:54 +08:00
Takashi Tamura
7a68a89696 fix width of trimSelectContainer 2018-11-02 09:53:35 +09:00
Takashi Tamura
186d79065c hide trimSelector too 2018-11-01 21:40:15 +09:00
Takashi Tamura
3dfff6143b fix toolbar in pdf viewer 2018-11-01 21:23:58 +09:00
Tom Z?hner
228175bce5 Remember viewer spread and scroll modes and also make them configurable 2018-11-01 11:09:56 +01:00
James-Yu
02b686e2f8 Better auto-hide viewer topbar handling 2018-10-31 21:30:26 +08:00
James-Yu
ce18ea9712 Close sidebar in PDF viewer 2018-10-31 21:12:58 +08:00
Takashi Tamura
7cfe6cb58b minor edit 2018-10-31 20:25:07 +09:00
Takashi Tamura
8d5645bb77 move script in viewer/viewer.html to viewer/latexworkshop.js.
move some styles in viewer/viewer.css to viewer/latexworkshop.css.
we can override viewer.css with latexworkshop.css.
edit options in viewer/viewer.js.
2018-10-31 20:00:56 +09:00
Takashi Tamura
1ef68df0f3 upgrade pdfjs to 2.0.943 2018-10-31 18:27:44 +09:00
Takashi Tamura
f0e681a38a immediately return if trim is not selected. 2018-10-28 06:50:09 +09:00
Takashi Tamura
0d9eef4825 minor edit 2018-10-27 17:58:48 +09:00
Takashi Tamura
cfb5fa80aa add trim mode on pdf viewer 2018-10-27 17:00:02 +09:00
James-Yu
55874d49e2 Further reduce pdfjs-dist size 2018-10-18 10:17:33 +08:00
James-Yu
13b4639b24 An initial attempt to use mathjax-node 2018-10-16 23:50:06 +08:00
James-Yu
9e74654ec6 Merge branch 'master' of https://github.com/James-Yu/LaTeX-Workshop 2018-10-14 11:38:58 +08:00
James-Yu
7967fa910f Add local MathJax distribution 2018-10-14 11:38:55 +08:00
Takashi Tamura
605d0c99a0 add a commet 2018-10-14 10:04:37 +09:00
Takashi Tamura
7cdad8f443 enable scale 2018-10-14 09:41:01 +09:00
James-Yu
e301c640e8 MathJaX is too large to be included offline 2018-10-13 23:12:19 +08:00
Takashi Tamura
0a8263a519 render svg, not png. remove unused codes. fix typo 2018-10-11 09:21:23 +09:00
Takashi Tamura
77670a2738 minor fix 2018-10-10 22:50:07 +09:00
Takashi Tamura
9e62eb3bb2 ditto 2018-10-10 22:37:13 +09:00
Takashi Tamura
794b93625d add comments 2018-10-10 22:33:59 +09:00
Takashi Tamura
28da9f287e use MathJax in submodule 2018-10-10 22:25:00 +09:00
Takashi Tamura
b6b1c5f470 add MathJax as submodule 2018-10-10 22:11:36 +09:00
Kostas Chatzikokolakis
46a56aa31c Correctly restore pdf position after refresh
If the user has clicked on a link in the pdf, after the refresh pdf.js automatically navigates to that link. This is fixed by setting showPreviousViewOnLoad = false
2018-03-03 22:09:56 +01:00
Kostas Chatzikokolakis
5ed4c0c65c History navigation in the embedded viewer (keyboard + button) 2018-03-03 19:51:10 +01:00
Kostas Chatzikokolakis
4d7f401d12 Bind F to find bar, keep toolbar open while searching 2018-03-03 13:52:35 +01:00
Kostas Chatzikokolakis
5fbdb217c6 Find bar: properly scroll result into view
Previously the result was being scrolled right underneath the find bar, due to the fact that the lack of toolbar was not taken into account.
2018-03-03 13:51:41 +01:00
James Yu
fd451fa3e3
Merge pull request #419 from chatziko/embedded-viewer-links
Handle external links in the embedded viewer
2018-02-18 19:55:07 +08:00
Kostas Chatzikokolakis
309f82ce8d Handle external links in the embedded viewer 2018-02-17 19:30:01 +01:00
Kostas Chatzikokolakis
842ccb9b19 Improve synctex accuracy 2018-02-17 15:26:45 +01:00
James-Yu
7f5f03fea5 Resolve #369 Add css invert filter to pdf viewer 2018-01-06 13:17:47 +08:00
James-Yu
f335bb4972 Resolve #286 Hide print when pdf is viewed in tab 2017-12-27 15:06:05 +08:00
James-Yu
ea78412ad2 Resolve #315 Highlight the location of SyncTeX in PDF viewer 2017-12-19 14:19:49 +08:00
James-Yu
a8ae56e946 Adjust synctex position on pdf viewer 2017-12-19 10:46:52 +08:00
James-Yu
cdf16e8e53 Tweak toolbar hide behavior 2017-12-13 10:42:51 +08:00
innerlee
1523889c75 less flash 2017-12-11 17:53:03 +08:00
James-Yu
a6b66ec923 Update changelog 2017-12-11 10:51:13 +08:00
James-Yu
c2e9e6a0a6 Resolve #343 Move mouse on viewer to show toolbar 2017-12-11 10:48:35 +08:00
James-Yu
1104909dd4 Fix #336 Invisible sidebar titles 2017-12-07 17:44:50 +08:00
James-Yu
8956eedb07 Fix #333 Use box-shadow to simulate PDF page border 2017-12-01 13:58:20 +08:00
James-Yu
6d979f09a7 Resolve #305 Change toolbar theme 2017-11-15 11:18:31 +08:00