@@ -7,6 +7,7 @@ import { Descriptions, Layout, List } from "antd";
7
7
8
8
import { Icon } from "@cocalc/frontend/components/icon" ;
9
9
import { DARK_MODE_ICON } from "@cocalc/util/consts/ui" ;
10
+ import { COLORS } from "@cocalc/util/theme" ;
10
11
11
12
import Backups from "components/landing/backups" ;
12
13
import Code from "components/landing/code" ;
@@ -27,7 +28,6 @@ import A from "components/misc/A";
27
28
import { Customize } from "lib/customize" ;
28
29
import withCustomize from "lib/with-customize" ;
29
30
30
- import Sidechat from "public/features/latex-editor-side-chat-20251004.png" ;
31
31
import Pythontex from "public/features/cocalc-pythontex.png" ;
32
32
import Sagetex from "public/features/cocalc-sagetex.png" ;
33
33
import AIFormula from "public/features/latex-ai-formula.png" ;
@@ -37,6 +37,7 @@ import LatexEditorImage from "public/features/latex-editor-main-20251003.png";
37
37
import LatexPythontex from "public/features/latex-editor-pythontex-20251003.png" ;
38
38
import LatexCollab from "public/features/latex-editor-realtime-sync-20251003.png" ;
39
39
import Knitr from "public/features/latex-editor-rnw-01.png" ;
40
+ import Sidechat from "public/features/latex-editor-side-chat-20251004.png" ;
40
41
import LatexTimetravel from "public/features/latex-editor-timetravel-01.png" ;
41
42
import Logo from "public/features/latex-logo.svg" ;
42
43
@@ -77,7 +78,9 @@ export default function LatexEditor({ customize }) {
77
78
flexWrap : "wrap" ,
78
79
} }
79
80
>
80
- < span > No software install required: < small > 100% online</ small > </ span >
81
+ < span >
82
+ No software install required: < small > 100% online</ small >
83
+ </ span >
81
84
</ Title >
82
85
< Paragraph >
83
86
< List bordered size = "small" >
@@ -142,7 +145,9 @@ export default function LatexEditor({ customize }) {
142
145
flexWrap : "wrap" ,
143
146
} }
144
147
>
145
- < span > Working with < LaTeX /> made easy</ span >
148
+ < span >
149
+ Working with < LaTeX /> made easy
150
+ </ span >
146
151
</ Title >
147
152
< Paragraph >
148
153
< List bordered size = "small" >
@@ -165,8 +170,10 @@ export default function LatexEditor({ customize }) {
165
170
to revert any changes
166
171
</ List . Item >
167
172
< List . Item >
168
- < strong > Fully managed < LaTeX /> environment</ strong > with
169
- automatic updates
173
+ < strong >
174
+ Fully managed < LaTeX /> environment
175
+ </ strong > { " " }
176
+ with automatic updates
170
177
</ List . Item >
171
178
< List . Item >
172
179
< strong > Cloud-based platform</ strong > accessible from any
@@ -265,35 +272,40 @@ export default function LatexEditor({ customize }) {
265
272
< Info
266
273
anchor = "a-darkmode"
267
274
icon = {
268
- < Icon style = { { fontSize : "40px" } } unicode = { DARK_MODE_ICON } />
275
+ < Icon
276
+ style = { { fontSize : "40px" , color : "white" } }
277
+ unicode = { DARK_MODE_ICON }
278
+ />
279
+ }
280
+ title = {
281
+ < span style = { { color : "white" } } > Dark Mode with PDF Support</ span >
269
282
}
270
- title = { "Dark Mode with PDF Support" }
271
283
image = { LatexDarkMode }
284
+ style = { { background : "rgb(50, 50, 50)" , color : "white" } }
272
285
>
273
- < Paragraph >
274
- CoCalc fully supports { " " }
286
+ < Paragraph style = { { color : "white" } } >
287
+ Love { " " }
275
288
< span
276
289
style = { {
277
290
background : "black" ,
278
291
color : "white" ,
279
292
padding : "2px 5px" ,
280
293
} }
281
294
>
282
- Dark Mode
283
- </ span > { " " }
284
- enthusiasts !
295
+ dark mode
296
+ </ span >
297
+ ? CoCalc has you covered !
285
298
</ Paragraph >
286
- < Paragraph >
287
- { " " }
288
- The < LaTeX /> editor not only supports the usual dark mode
289
- functionality, but also styles the PDF viewer. This means that even
290
- though your final PDF will have a white background, you can view
291
- and edit it with a dark background and bright text for comfortable
292
- night-time work.{ " " }
299
+ < Paragraph style = { { color : "white" } } >
300
+ The < LaTeX /> editor features dark UI elements as you'd expect,
301
+ but goes further by inverting the PDF viewer colors. This means
302
+ that even though your final PDF will have a white background, you
303
+ can view and edit it with a dark background and bright text for
304
+ comfortable night-time work.
293
305
</ Paragraph >
294
- < Paragraph >
295
- There is also a button to quickly disable the PDF dark mode, to
296
- double check the actual output.
306
+ < Paragraph style = { { color : COLORS . GRAY_L } } >
307
+ NOTE: You can quickly disable this PDF dark mode, to double check
308
+ the actual output.
297
309
</ Paragraph >
298
310
</ Info >
299
311
@@ -503,8 +515,8 @@ export default function LatexEditor({ customize }) {
503
515
title = "Forward and Inverse search"
504
516
icon = "sync"
505
517
video = { [
506
- "features/latex-forward-inverse-02 .webm" ,
507
- "features/latex-forward-inverse-02 .mp4" ,
518
+ "features/latex-forward-inverse-20251006 .webm" ,
519
+ "features/latex-forward-inverse-20251006 .mp4" ,
508
520
] }
509
521
wide
510
522
alt = "Video showing forward and inverse search in a LaTeX document"
@@ -518,11 +530,13 @@ export default function LatexEditor({ customize }) {
518
530
</ Paragraph >
519
531
< Paragraph >
520
532
< strong > Forward Search:</ strong > Click in your LaTeX source to
521
- instantly jump to the corresponding location in the PDF preview.
533
+ jump to the corresponding location in the PDF preview.
522
534
</ Paragraph >
523
535
< Paragraph >
524
536
< strong > Inverse Search:</ strong > Double-click anywhere in the PDF
525
- to jump back to the exact line in your source code.
537
+ to jump back to the corresponding location in your source code.
538
+ You can also enable automatic sync mode to keep your source editor
539
+ aligned with the PDF as you scroll.
526
540
</ Paragraph >
527
541
< Paragraph >
528
542
Powered by{ " " }
0 commit comments