@@ -7,6 +7,7 @@ import { Descriptions, Layout, List } from "antd";
77
88import { Icon } from "@cocalc/frontend/components/icon" ;
99import { DARK_MODE_ICON } from "@cocalc/util/consts/ui" ;
10+ import { COLORS } from "@cocalc/util/theme" ;
1011
1112import Backups from "components/landing/backups" ;
1213import Code from "components/landing/code" ;
@@ -27,7 +28,6 @@ import A from "components/misc/A";
2728import { Customize } from "lib/customize" ;
2829import withCustomize from "lib/with-customize" ;
2930
30- import Sidechat from "public/features/latex-editor-side-chat-20251004.png" ;
3131import Pythontex from "public/features/cocalc-pythontex.png" ;
3232import Sagetex from "public/features/cocalc-sagetex.png" ;
3333import AIFormula from "public/features/latex-ai-formula.png" ;
@@ -37,6 +37,7 @@ import LatexEditorImage from "public/features/latex-editor-main-20251003.png";
3737import LatexPythontex from "public/features/latex-editor-pythontex-20251003.png" ;
3838import LatexCollab from "public/features/latex-editor-realtime-sync-20251003.png" ;
3939import Knitr from "public/features/latex-editor-rnw-01.png" ;
40+ import Sidechat from "public/features/latex-editor-side-chat-20251004.png" ;
4041import LatexTimetravel from "public/features/latex-editor-timetravel-01.png" ;
4142import Logo from "public/features/latex-logo.svg" ;
4243
@@ -77,7 +78,9 @@ export default function LatexEditor({ customize }) {
7778 flexWrap : "wrap" ,
7879 } }
7980 >
80- < span > No software install required: < small > 100% online</ small > </ span >
81+ < span >
82+ No software install required: < small > 100% online</ small >
83+ </ span >
8184 </ Title >
8285 < Paragraph >
8386 < List bordered size = "small" >
@@ -142,7 +145,9 @@ export default function LatexEditor({ customize }) {
142145 flexWrap : "wrap" ,
143146 } }
144147 >
145- < span > Working with < LaTeX /> made easy</ span >
148+ < span >
149+ Working with < LaTeX /> made easy
150+ </ span >
146151 </ Title >
147152 < Paragraph >
148153 < List bordered size = "small" >
@@ -165,8 +170,10 @@ export default function LatexEditor({ customize }) {
165170 to revert any changes
166171 </ List . Item >
167172 < 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
170177 </ List . Item >
171178 < List . Item >
172179 < strong > Cloud-based platform</ strong > accessible from any
@@ -265,35 +272,40 @@ export default function LatexEditor({ customize }) {
265272 < Info
266273 anchor = "a-darkmode"
267274 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 >
269282 }
270- title = { "Dark Mode with PDF Support" }
271283 image = { LatexDarkMode }
284+ style = { { background : "rgb(50, 50, 50)" , color : "white" } }
272285 >
273- < Paragraph >
274- CoCalc fully supports { " " }
286+ < Paragraph style = { { color : "white" } } >
287+ Love { " " }
275288 < span
276289 style = { {
277290 background : "black" ,
278291 color : "white" ,
279292 padding : "2px 5px" ,
280293 } }
281294 >
282- Dark Mode
283- </ span > { " " }
284- enthusiasts !
295+ dark mode
296+ </ span >
297+ ? CoCalc has you covered !
285298 </ 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.
293305 </ 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.
297309 </ Paragraph >
298310 </ Info >
299311
@@ -503,8 +515,8 @@ export default function LatexEditor({ customize }) {
503515 title = "Forward and Inverse search"
504516 icon = "sync"
505517 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" ,
508520 ] }
509521 wide
510522 alt = "Video showing forward and inverse search in a LaTeX document"
@@ -518,11 +530,13 @@ export default function LatexEditor({ customize }) {
518530 </ Paragraph >
519531 < Paragraph >
520532 < 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.
522534 </ Paragraph >
523535 < Paragraph >
524536 < 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.
526540 </ Paragraph >
527541 < Paragraph >
528542 Powered by{ " " }
0 commit comments