Repository navigation
TeXDeck 0.4.0
Click the slide to fix its text
Click any text on the preview and a small editor opens right under it, showing the words as they appear on the slide, not the LaTeX behind them. Fix a typo, press Enter, and the deck recompiles without calling the model. Bold and other emphasis inside the sentence are kept; characters such as %, & and _ are escaped for you. Only a sentence with a formula in it opens as LaTeX, and then just that sentence.
The click is matched to its source by what the page can show: the slide's own frame plus the title, section names and other text outside frames. Text wrapped onto several lines, repeated labels in diagrams, small caps, math letters and formulas split over several source lines are all found.
Export and review
- PPTX download: the compiled deck becomes an editable PowerPoint file. Text stays in real text boxes with its position, size, colour and bullets; formulas and decorations stay as images.
- Speaker notes: every content slide gets notes. They show next to the preview and go into the PPTX notes. Older decks can get them with "Whole deck".
- Preview: one page at a time with Prev/Next or the arrow keys, and page thumbnails underneath.
- ChatGPT models: the list now comes from your own account.
Running it for several people
- Invite-code sign-up: set
TEXDECK_REGISTRATION=true. The first person signs up with the codehi_my_texdeck, which then stops working, and becomes the admin. After that the admin hands out one-use codes from the Invites button. - Separate accounts: each account connects its own ChatGPT, Claude or API key and sees only its own decks.
- Sign-in without registration: still available with accounts made on the server (
python -m app.auth add). - Docker and server setup: Docker keeps accounts in the state volume.
docs/deploycovers a server behind Caddy and Cloudflare. - Desktop and local use: unchanged, with no sign-in.
中文说明
点击幻灯片直接改字:在预览上点任意文字,下方弹出小编辑框,显示的是幻灯片上的文字,不是背后的 LaTeX 代码。改完按 Enter,不调用模型,直接重新编译。句中的加粗等格式会保留,%、&、_ 等特殊字符自动转义。只有含公式的句子才显示 LaTeX,而且只显示这一句。点击的文字只在可能排版出本页的源码里查找:本页的 frame,加上标题、节名等 frame 之外的内容。折行的文字、图里重复出现的标签、小型大写、公式里的字母、拆成多行写的公式都能找到。
导出与预览:
- PPTX 下载:编译好的幻灯片可以导出为可编辑的 PowerPoint,文字是真正的文本框,保留位置、字号、颜色和项目符号;公式和装饰保留为图片。
- 演讲者备注:每个内容页都有备注,显示在预览旁边,也会写进 PPTX 的备注栏;旧幻灯片可以用 "Whole deck" 补上。
- 预览:改为单页显示,用 Prev/Next 或方向键翻页,下方有缩略图。
- ChatGPT 模型列表:改为从你自己的账号读取。
多人使用:
- 邀请码注册:设
TEXDECK_REGISTRATION=true后,第一个人用邀请码hi_my_texdeck注册,成为管理员,这个码随即失效;之后由管理员在顶栏 Invites 里发一次性邀请码。 - 账号独立:每个账号连接自己的 ChatGPT、Claude 或 API key,只能看到自己的幻灯片。
- 不开注册:也可以在服务器上直接建账号(
python -m app.auth add)。 - Docker 与服务器部署:Docker 会把账号保存在 state 卷里。服务器部署见
docs/deploy。 - 桌面版和本地运行:不受影响,无需登录。
Full Changelog: v0.3.0...v0.4.0