ComdTeX

Configuración

El modal de Configuración organiza las opciones de ComdTeX en pestañas verticales: General, Editor, Vista previa, Notas diarias, PDF, Sync y Asistente IA. Cada opción lleva una descripción de una línea dentro de la app; esta página es la versión larga, con para qué sirve cada una, su valor por defecto, y guías paso a paso donde una opción necesita más de una frase.

Cuatro opciones más viven fuera del modal, en el popover de Enfoque, y están documentadas al final.

Todas las opciones se guardan en el almacenamiento local de la aplicación en esta máquina, no en la nube: si usas ComdTeX en otro ordenador, tendrás que configurarlo de nuevo ahí. La única excepción es la clave de API de IA, que vive aparte en el llavero del sistema operativo (ver El asistente de IA). Los cambios se aplican de inmediato: no hace falta reiniciar ComdTeX después de tocar ninguna de estas opciones.

General

OpciónQué hacePor defecto
IdiomaIdioma de toda la interfaz (Español / English), sin reiniciares
TemaTema visual del editor: claro, oscuro o alto contrastevs-dark (oscuro)
Gestos de touchpadActiva zoom con Ctrl+rueda/pinch y cambio de pestaña con swipe de bordeactivado
Token de NASA ADSNecesario solo para citar por bibcode de ADS. Se guarda en el llavero del sistema, nunca en los ajustesvacío

Editor

OpciónQué hacePor defecto
Tamaño de fuenteTamaño de letra del editor, en píxeles (11-24)15 px
AutoguardadoIntervalo de espera tras dejar de escribir antes de guardar (300 ms / 800 ms / 1,5 s / 3 s)800 ms
Meta de palabrasObjetivo de palabras del documento activo para la barra de estado; 0 desactiva la meta0 (sin meta)
Modo VimActiva atajos y modos de edición estilo Vim (via monaco-vim)desactivado
Modo máquina de escribirMantiene la línea activa centrada verticalmente mientras escribesdesactivado
Ajuste de línea (word wrap)El texto se ajusta al ancho del panel en vez de desbordar horizontalmenteactivado
MinimapaMuestra el minimapa de Monaco a la derecha del editordesactivado
Corrector ortográficoCorrector offline (diccionarios Hunspell, español + inglés), sin reddesactivado
Continuar listasAl pulsar Enter, continúa listas, tareas - [ ], citas > y filas de tablaactivado
Auto-colapsar ExcalidrawColapsa los bloques :::excalidraw la primera vez que abres un archivoactivado
Palabras por minuto de lecturaVelocidad de lectura usada para estimar el tiempo de lectura en la barra de estado200

Vista previa

OpciónQué hacePor defecto
Tamaño de fuente de vista previaTamaño de letra del panel de vista previa, en píxeles (11-24)15 px
Vista previa visibleMuestra u oculta el panel de vista previaactivado
Scroll sincronizadoSincroniza el desplazamiento del editor y la vista previaactivado
Vista previa de matemáticasRenderiza KaTeX en el panel de vista previaactivado
Tema de vista previaTema de color de la vista previa: igual que el editor, claro u oscurosame (igual que el editor)

Notas diarias

OpciónQué hacePor defecto
Notas diarias activadasHabilita el atajo Ctrl+Shift+D para crear/abrir la nota de hoyactivado
Carpeta de notas diariasCarpeta del vault donde se crean las notas diariasdaily
Plantilla de notas diariasPlantilla de contenido inicial (soporta {{date:YYYY-MM-DD}})# {{date:YYYY-MM-DD}} + secciones Tasks/Notes

PDF

OpciónQué hacePor defecto
Motor WASM (TeX)Compila con el motor LaTeX WASM incorporado antes de recurrir a un motor local (tectonic/xelatex/pdflatex); si el WASM no está disponible, ComdTeX cae al motor local automáticamenteactivado
Servidor de paquetes TeXURL del servidor del que el motor WASM descarga .sty/.cls/fuentes que le falten. El servidor público por defecto tiene historial de caídas; aquí puedes apuntar a un espejohttps://texlive2.swiftlatex.com/
Recompilar PDF automáticamenteReconstruye el PDF en cada guardado, sin pedirlo manualmentedesactivado

Sync

Esta pestaña abre con tu situación real en vez de una lista de opciones, porque las dos formas que tiene ComdTeX de sacar un vault de una máquina no son equivalentes.

Git guarda historial. Puede decir qué cambió, cuándo y quién, y cuando dos personas editan las mismas líneas se detiene y pregunta en vez de elegir un ganador. Una carpeta sincronizada guarda una copia. Sin historial, sin revisión, y su idea de un conflicto es dejar un segundo archivo con nombre más largo esperando que alguien lo lea.

Así que git es el mecanismo, y la detección de nube es la red de seguridad para quien nunca va a usar git.

Lo que dice la pestañaQué significaQué sigue
Versionado y compartidoHay historial y una copia de él vive fuera de esta máquinaNada
Versionado, solo aquíEl historial existe únicamente en este discoDale un remoto a donde enviar
Viajan copias, sin versionesUna carpeta sincronizada, sin historialEmpieza a guardar historial con git
Nada sale de este discoNinguna copia en ningún ladoEmpieza a guardar historial con git
Un repositorio dentro de una carpeta de la nubeEl caso peligroso, ver abajoSaca el vault de la carpeta sincronizada

El botón Abrir el panel de Git te lleva directo, y Escribir con alguien más explica cómo compartir un vault sin saber nada de git.

Nunca pongas un repositorio git dentro de una carpeta sincronizada

Si tu vault es un repositorio git y está dentro de Dropbox, Google Drive u OneDrive, ComdTeX te avisa. El cliente de la nube y git escriben sobre los mismos archivos internos, cada uno en el orden en que termina, y una máquina que baje un estado a medio subir se encuentra un repositorio que el propio git reporta como roto. No se nota hasta el día en que se nota.

Saca el vault de la carpeta sincronizada y dale un remoto. Un remoto es justo lo que buscabas en la carpeta sincronizada, y además conserva el historial que un repositorio existe para conservar.

Los dos interruptores

OpciónQué hacePor defecto
Aviso de mover a carpeta sincronizadaMuestra el banner que sugiere mover el vault dentro de una carpeta de la nubeactivado
Detección de sync en la nubeDetecta las copias en conflicto que dejan estos servicios, muestra la insignia ☁ Sync y marca esos archivos en el árbolactivado

La detección nunca mueve ni borra nada por su cuenta: señala las copias en conflicto y ofrece abrir ambas, quedarte con la tuya o tomar la de la otra máquina. Los conflictos de Google Drive no se pueden detectar en absoluto, porque sobrescribe en silencio.

Asistente IA

Conectar un proveedor, paso a paso

  1. Activa Asistente de IA. Nada sale de tu máquina hasta que lo hagas.
  2. Elige el Proveedor. Los tres primeros son los servicios grandes; OpenAI-compatible cubre todo lo demás, incluido un modelo corriendo en este computador; CLI de agente local ejecuta un comando de terminal que ya tengas.
  3. Para OpenAI-compatible, llena la URL base. Para un Ollama local es http://localhost:11434/v1.
  4. Llena el Modelo tal cual lo escribe ese proveedor (claude-sonnet-4-5, gpt-4o-mini, llama3.1). Si te acercas pero no aciertas, se rechaza como “no existe ese modelo”.
  5. Pega la clave de API, salvo que el servicio sea local y no necesite ninguna.
  6. Pulsa Probar conexión. Envía la petición real más pequeña posible y nombra qué está mal, si algo lo está:
Lo que diceQué arreglar
El proveedor rechazó la claveLa clave falta, venció, o es de otro proveedor
El proveedor no tiene ese modeloEl nombre del modelo, tal cual lo escribe ese proveedor
No hubo respuestaLa dirección, y si es local, que el servicio esté encendido
Esa dirección no se permiteUsa https:// o una dirección local

Sirve cualquier proveedor accesible por https://, y también uno en esta máquina. Las peticiones van directo de tu computador a él: nunca pasan por Witara, y ComdTeX no trae ninguna clave propia.

La clave se guarda en el llavero del sistema operativo, aparte del resto de tus ajustes.

OpciónQué hacePor defecto
Asistente IA activadoInterruptor maestro. Mientras esté apagado, ComdTeX no hace ninguna petición de red relacionada con IAdesactivado
ProveedorProveedor elegido: Anthropic, OpenAI, Google Gemini, OpenAI-compatible (custom) o CLI de agente localanthropic
URL baseSolo para “OpenAI-compatible”: la URL del endpoint (validada a https:// o http://localhost)vacía
ModeloIdentificador del modelo a usar (p. ej. claude-3-5-sonnet-latest, gpt-4o-mini)vacío
Clave de APITu clave del proveedor elegido. Se guarda en el llavero del sistema operativo, no en el resto de la configuraciónvacía
Comando de CLISolo para el proveedor “CLI de agente local”: la línea de comando a ejecutar (p. ej. opencode run, claude -p)vacío
Precalentar conexiónEnvía una petición mínima al abrir el chat, para que el primer mensaje real responda más rápidoactivado

Consulta El asistente de IA para el detalle de cada proveedor, los dos puntos de entrada (panel y edición en línea) y los huecos {{?}}.

Temporizador de enfoque

Estos cuatro viven en el popover de Enfoque de la barra superior, no en el modal de Ajustes, porque una duración se cambia mientras usas el temporizador, no mientras configuras la app.

OpciónQué hacePor defecto
TrabajoDuración de un tramo de trabajo, en minutos25
DescansoDuración de un descanso corto5
Descanso largoDuración del descanso tras una ronda completa de ciclos15
Ciclos antes del descanso largoCuántos tramos de trabajo forman una ronda4

El reloj sigue corriendo con el popover cerrado, y queda una lectura compacta en la barra superior. Ver Herramientas de estudio.

Resumen

Todas las opciones viven en la configuración local de ComdTeX en esta máquina, salvo la clave de API de IA (llavero del sistema). No necesitas reiniciar la app después de cambiar ninguna de ellas: los cambios se aplican al instante.

Settings

The Settings modal organizes ComdTeX’s options into vertical tabs: General, Editor, Preview, Daily notes, PDF, Sync, and AI assistant. Every option carries a one-line description inside the app; this page is the longer form, with what each one is for, its default, and step-by-step walkthroughs where a setting needs more than a sentence.

Four more options live outside the modal, in the Focus popover, and are documented at the end.

All options are saved to this machine’s local app storage, not to the cloud: if you use ComdTeX on another computer, you will need to configure it there again. The one exception is the AI API key, which lives separately in the OS keychain (see The AI assistant). Changes apply immediately: you do not need to restart ComdTeX after touching any of these options.

General

SettingWhat it doesDefault
LanguageLanguage of the whole interface (Español / English), no restart neededes
ThemeEditor visual theme: light, dark, or high contrastvs-dark (dark)
Touchpad gesturesEnables Ctrl+wheel/pinch zoom and edge-swipe tab switchingon
NASA ADS tokenOnly needed to cite by ADS bibcode. Stored in the OS keychain, never in your settingsempty

Editor

SettingWhat it doesDefault
Font sizeEditor font size, in pixels (11-24)15 px
AutosaveDelay after you stop typing before saving (300 ms / 800 ms / 1.5 s / 3 s)800 ms
Word goalWord-count target for the active document, shown in the status bar; 0 disables the goal0 (no goal)
Vim modeEnables Vim-style keybindings and modes (via monaco-vim)off
Typewriter modeKeeps the active line vertically centered as you typeoff
Word wrapText wraps to the pane width instead of overflowing horizontallyon
MinimapShows Monaco’s minimap on the right side of the editoroff
SpellcheckOffline spellcheck (Hunspell dictionaries, Spanish + English), no networkoff
List continuationPressing Enter continues lists, - [ ] tasks, > quotes, and table rowson
Auto-fold ExcalidrawCollapses :::excalidraw blocks the first time you open a fileon
Reading words per minuteReading speed used to estimate reading time in the status bar200

Preview

SettingWhat it doesDefault
Preview font sizePreview pane font size, in pixels (11-24)15 px
Preview visibleShows or hides the preview paneon
Sync scrollSynchronizes scrolling between the editor and the previewon
Math previewRenders KaTeX inside the preview paneon
Preview themePreview color theme: same as the editor, light, or darksame (same as editor)

Daily notes

SettingWhat it doesDefault
Daily notes enabledEnables Ctrl+Shift+D to create or open today’s noteon
Daily notes folderVault folder where daily notes are createddaily
Daily notes templateInitial content template (supports {{date:YYYY-MM-DD}})# {{date:YYYY-MM-DD}} plus Tasks/Notes sections

PDF

SettingWhat it doesDefault
WASM (TeX) engineCompiles with the bundled WASM LaTeX engine before falling back to a local engine (tectonic/xelatex/pdflatex); if WASM is unavailable, ComdTeX falls back to the local engine automaticallyon
TeX package serverURL the WASM engine downloads missing .sty/.cls/font files from. The default public server has a history of outages; point this at a mirror if neededhttps://texlive2.swiftlatex.com/
Auto-rebuild PDFRecompiles the PDF on every save, without asking manuallyoff

Sync

This tab opens with your actual situation rather than a list of options, because ComdTeX’s two ways of getting a vault off one machine are not equivalent.

Git keeps a history. It can say what changed, when, and by whom, and when two people edit the same lines it stops and asks instead of picking a winner. A synced folder keeps a copy. No history, no review, and its idea of a conflict is a second file with a longer name that it hopes someone reads.

So git is the mechanism, and cloud detection is the safety net for people who will never use git.

What the tab saysWhat it meansWhat to do next
Versioned and sharedA history exists and a copy of it lives off this machineNothing
Versioned, only hereThe history exists on this disk aloneGive it a remote to push to
Copies travel, nothing versionedA synced folder, no historyStart keeping history with git
Nothing leaves this diskNo copies anywhereStart keeping history with git
A repository inside a cloud folderThe dangerous case, see belowMove the vault out of the synced folder

The Open the Git panel button takes you straight there, and Write with someone else walks through sharing a vault without knowing any git.

Never put a git repository inside a synced folder

If your vault is a git repository and sits inside Dropbox, Google Drive or OneDrive, ComdTeX warns you. Both the cloud client and git write to the same internal files, each in whatever order it finishes, and a machine that pulls a half-uploaded state gets a repository git itself reports as broken. It stays quiet until the day it is not.

Move the vault out of the synced folder and give it a remote instead. A remote is exactly the thing you were trying to get from the synced folder, and it keeps the history a repository exists to keep.

The two toggles

SettingWhat it doesDefault
Move-to-synced-folder hintShows the banner suggesting you move a vault inside a cloud folderon
Cloud sync detectionDetects the conflict copies these services leave, shows the ☁ Sync badge, and marks those files in the treeon

Detection never moves or deletes anything on its own: it points at the conflict copies and offers to open both, keep yours, or take theirs. Google Drive’s conflicts cannot be detected at all, because it overwrites silently.

AI assistant

Connecting a provider, step by step

  1. Turn on AI assistant enabled. Nothing leaves your machine until you do.
  2. Pick the Provider. The first three are the big services; OpenAI-compatible covers everything else, including a model running on this computer; local agent CLI runs a terminal command you already have.
  3. For OpenAI-compatible, fill the Base URL. For a local Ollama that is http://localhost:11434/v1.
  4. Fill the Model exactly as that provider spells it (claude-sonnet-4-5, gpt-4o-mini, llama3.1). A near-miss is rejected as “no such model”.
  5. Paste the API key, unless the service is local and needs none.
  6. Press Test connection. It sends the smallest possible real request and names what is wrong if anything is:
What it saysWhat to fix
The provider refused the keyThe key is missing, expired, or belongs to a different provider
The provider does not have that modelThe model name, exactly as that provider spells it
No answer at allThe address, and whether the service is running if it is local
That address is not allowedUse https:// or a local address

Any provider reachable over https:// works, and so does one on this machine. Requests go straight from your computer to it: they never pass through Witara, and ComdTeX ships no keys of its own.

The key is kept in the OS keychain, apart from the rest of your settings.

SettingWhat it doesDefault
AI assistant enabledMaster switch. While off, ComdTeX makes no AI-related network request at alloff
ProviderChosen provider: Anthropic, OpenAI, Google Gemini, OpenAI-compatible (custom), or local agent CLIanthropic
Base URLOnly for “OpenAI-compatible”: the endpoint URL (validated to https:// or http://localhost)empty
ModelModel identifier to use (e.g. claude-3-5-sonnet-latest, gpt-4o-mini)empty
API keyYour key for the chosen provider. Stored in the OS keychain, not with the rest of your settingsempty
CLI commandOnly for the “local agent CLI” provider: the command line to run (e.g. opencode run, claude -p)empty
Warm up connectionSends a minimal request when the chat opens, so the first real message answers fasteron

See The AI assistant for the detail on each provider, the two entry points (panel and inline edit), and {{?}} gaps.

Focus timer

These four live in the Focus popover in the top bar, not in the Settings modal, because you change a duration while you are using the timer, not while you are configuring the app.

SettingWhat it doesDefault
WorkLength of a work stretch, in minutes25
BreakLength of a short break5
Long breakLength of the break after a full round of cycles15
Cycles before a long breakHow many work stretches make a round4

The clock keeps running with the popover closed, and a compact readout stays in the top bar. See Study tools.

Summary

Every option lives in ComdTeX’s local configuration on this machine, except the AI API key (OS keychain). You do not need to restart the app after changing any of them: changes apply instantly.